Skip to content

KVSEDX-CC Service Cr.Memo Exp.#

Events#

OnCCServiceCrMemoSkipLine(Record Service Cr.Memo Header, Record Service Cr.Memo Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCServiceCrMemoSkipLine(ServiceCrMemoHeaderPar: Record "Service Cr.Memo Header"; ServiceCrMemoLinePar: Record "Service Cr.Memo Line"; var SkipLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Cr.Memo Exp.", 'OnCCServiceCrMemoSkipLine', '', false, false)]
local procedure DoSomethingOnCCServiceCrMemoSkipLine(ServiceCrMemoHeaderPar: Record "Service Cr.Memo Header"; ServiceCrMemoLinePar: Record "Service Cr.Memo Line"; var SkipLineVar: Boolean; var HandledVar: Boolean)
begin
end;

OnCCServiceCrMemoIsFreightChargeLine(Record Service Cr.Memo Header, Record Service Cr.Memo Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCServiceCrMemoIsFreightChargeLine(ServiceCrMemoHeaderPar: Record "Service Cr.Memo Header"; ServiceCrMemoLinePar: Record "Service Cr.Memo Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Cr.Memo Exp.", 'OnCCServiceCrMemoIsFreightChargeLine', '', false, false)]
local procedure DoSomethingOnCCServiceCrMemoIsFreightChargeLine(ServiceCrMemoHeaderPar: Record "Service Cr.Memo Header"; ServiceCrMemoLinePar: Record "Service Cr.Memo Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean)
begin
end;

OnPreXMLItemHeaderData(Record Service Cr.Memo Header, Record KVSEDX Outbound, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnPreXMLItemHeaderData(ServiceCrMemoHeaderPar: Record "Service Cr.Memo Header"; var TempBlobVar: Record "KVSEDX Outbound" temporary; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Cr.Memo Exp.", 'OnPreXMLItemHeaderData', '', false, false)]
local procedure DoSomethingOnPreXMLItemHeaderData(ServiceCrMemoHeaderPar: Record "Service Cr.Memo Header"; var TempBlobVar: Record "KVSEDX Outbound" temporary; var HandledVar: Boolean)
begin
end;

OnPreXMLItemLineData(Record Service Cr.Memo Line, Record KVSEDX Outbound, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnPreXMLItemLineData(ServiceCrMemoLinePar: Record "Service Cr.Memo Line"; var TempBlobVar: Record "KVSEDX Outbound" temporary; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Cr.Memo Exp.", 'OnPreXMLItemLineData', '', false, false)]
local procedure DoSomethingOnPreXMLItemLineData(ServiceCrMemoLinePar: Record "Service Cr.Memo Line"; var TempBlobVar: Record "KVSEDX Outbound" temporary; var HandledVar: Boolean)
begin
end;

OnBeforeGetGTIN(Record Service Cr.Memo Line, Text, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeGetGTIN(ServiceCrMemoLine: Record "Service Cr.Memo Line"; var GTIN: Text; var Handled: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Cr.Memo Exp.", 'OnBeforeGetGTIN', '', false, false)]
local procedure DoSomethingOnBeforeGetGTIN(ServiceCrMemoLine: Record "Service Cr.Memo Line"; var GTIN: Text; var Handled: Boolean)
begin
end;

OnBeforeGetEAN(Record Service Cr.Memo Line, Text, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeGetEAN(ServiceCrMemoLine: Record "Service Cr.Memo Line"; var EAN: Text; var Handled: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Cr.Memo Exp.", 'OnBeforeGetEAN', '', false, false)]
local procedure DoSomethingOnBeforeGetEAN(ServiceCrMemoLine: Record "Service Cr.Memo Line"; var EAN: Text; var Handled: Boolean)
begin
end;

OnAfterGetRecordCompanyInformation(Record Service Cr.Memo Header, Record Company Information, Boolean) :#

Summary: The event can be used to overwrite the information from the sender element.

[IntegrationEvent(true, false)]
local procedure OnAfterGetRecordCompanyInformation(ServiceCrMemoHeader: Record "Service Cr.Memo Header"; var CompanyInformation: Record "Company Information"; var Handled: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Cr.Memo Exp.", 'OnAfterGetRecordCompanyInformation', '', false, false)]
local procedure DoSomethingOnAfterGetRecordCompanyInformation(ServiceCrMemoHeader: Record "Service Cr.Memo Header"; var CompanyInformation: Record "Company Information"; var Handled: Boolean)
begin
end;

Parameters:

  • ServiceCrMemoHeader: Current Service Cr.Memo Header
  • CompanyInformation: Company Information record which can be overwritten
  • Handled: True if handled in event subscriber