Table of Contents

KVSEDX-CC Sales Invoice Exp

Events

OnCCSalesInvoiceSkipLine(Record Sales Invoice Header, Record Sales Invoice Line, Boolean, Boolean) :

[IntegrationEvent(true, false)]
local procedure OnCCSalesInvoiceSkipLine(SalesInvoiceHeaderPar: Record "Sales Invoice Header"; SalesInvoiceLinePar: Record "Sales Invoice Line"; var SkipLineVar: Boolean; var HandledVar: Boolean): 

OnCCSalesInvoiceIsFreightChargeLine(Record Sales Invoice Header, Record Sales Invoice Line, Boolean, Boolean) :

[IntegrationEvent(true, false)]
local procedure OnCCSalesInvoiceIsFreightChargeLine(SalesInvoiceHeaderPar: Record "Sales Invoice Header"; SalesInvoiceLinePar: Record "Sales Invoice Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean): 

OnPreXMLItemHeaderData(Record Sales Invoice Header, Record KVSEDX Outbound, Boolean) :

[IntegrationEvent(true, false)]
local procedure OnPreXMLItemHeaderData(SalesInvHeaderPar: Record "Sales Invoice Header"; var TempBlobVar: Record "KVSEDX Outbound" temporary; var HandledVar: Boolean): 

OnPreXMLItemLineData(Record Sales Invoice Line, Record KVSEDX Outbound, Boolean) :

[IntegrationEvent(true, false)]
local procedure OnPreXMLItemLineData(SalesInvLinePar: Record "Sales Invoice Line"; var TempBlobVar: Record "KVSEDX Outbound" temporary; var HandledVar: Boolean): 

OnCCSalesInvoiceSkipBankAccount(Record Sales Invoice Header, Record Bank Account, Boolean, Boolean) :

[IntegrationEvent(true, false)]
local procedure OnCCSalesInvoiceSkipBankAccount(SalesInvoiceHeaderPar: Record "Sales Invoice Header"; BankAccountPar: Record "Bank Account"; var SkipLineVar: Boolean; var HandledVar: Boolean): 

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

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

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

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

OnAfterGetRecordCompanyInformation(Record Sales 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(SalesInvoiceHeader: Record "Sales Invoice Header"; var CompanyInformation: Record "Company Information"; var Handled: Boolean): 

Parameters:

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