Table of Contents

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): 

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): 

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): 

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): 

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): 

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

[IntegrationEvent(true, false)]
local procedure OnBeforeGetGTIN(ServiceInvLine: Record "Service Invoice Line"; var GTIN: Text; var Handled: Boolean): 

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

[IntegrationEvent(true, false)]
local procedure OnBeforeGetEAN(ServiceInvLine: Record "Service Invoice Line"; var EAN: Text; var Handled: Boolean): 

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): 

Parameters:

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