Skip to content

KVSEDX-CC Service Invoice Exp.#

Events#

OnCCServiceInvoiceSkipLine(Record Service Invoice Header, Record Service Invoice Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCServiceInvoiceSkipLine(ServiceInvoiceHeaderPar: Record "Service Invoice Header"; ServiceInvoiceLinePar: Record "Service Invoice Line"; var SkipLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Invoice Exp.", 'OnCCServiceInvoiceSkipLine', '', false, false)]
local procedure DoSomethingOnCCServiceInvoiceSkipLine(ServiceInvoiceHeaderPar: Record "Service Invoice Header"; ServiceInvoiceLinePar: Record "Service Invoice Line"; var SkipLineVar: Boolean; var HandledVar: Boolean)
begin
end;

OnCCServiceInvoiceIsFreightChargeLine(Record Service Invoice Header, Record Service Invoice Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCServiceInvoiceIsFreightChargeLine(ServiceInvoiceHeaderPar: Record "Service Invoice Header"; ServiceInvoiceLinePar: Record "Service Invoice Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Invoice Exp.", 'OnCCServiceInvoiceIsFreightChargeLine', '', false, false)]
local procedure DoSomethingOnCCServiceInvoiceIsFreightChargeLine(ServiceInvoiceHeaderPar: Record "Service Invoice Header"; ServiceInvoiceLinePar: Record "Service Invoice Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean)
begin
end;

OnPreXMLItemHeaderData(Record Service Invoice Header, Record KVSEDX Outbound, Boolean) :#

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

OnPreXMLItemLineData(Record Service Invoice Line, Record KVSEDX Outbound, Boolean) :#

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

OnCCServiceInvoiceSkipBankAccount(Record Service Invoice Header, Record Bank Account, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCServiceInvoiceSkipBankAccount(ServiceInvoiceHeaderPar: Record "Service Invoice Header"; BankAccountPar: Record "Bank Account"; var SkipLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Invoice Exp.", 'OnCCServiceInvoiceSkipBankAccount', '', false, false)]
local procedure DoSomethingOnCCServiceInvoiceSkipBankAccount(ServiceInvoiceHeaderPar: Record "Service Invoice Header"; BankAccountPar: Record "Bank Account"; var SkipLineVar: Boolean; var HandledVar: Boolean)
begin
end;

OnBeforeGetGTIN(Record Service Invoice Line, Text, Boolean) :#

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

OnBeforeGetEAN(Record Service Invoice Line, Text, Boolean) :#

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

OnAfterGetRecordCompanyInformation(Record Service Invoice 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(ServiceInvoiceHeader: Record "Service Invoice Header"; var CompanyInformation: Record "Company Information"; var Handled: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Service Invoice Exp.", 'OnAfterGetRecordCompanyInformation', '', false, false)]
local procedure DoSomethingOnAfterGetRecordCompanyInformation(ServiceInvoiceHeader: Record "Service Invoice Header"; var CompanyInformation: Record "Company Information"; var Handled: Boolean)
begin
end;

Parameters:

  • ServiceInvoiceHeader: Current Service Invoice Header
  • CompanyInformation: Company Information record which can be overwritten
  • Handled: True if handled in event subscriber