Skip to content

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): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Invoice Exp", 'OnCCSalesInvoiceSkipLine', '', false, false)]
local procedure DoSomethingOnCCSalesInvoiceSkipLine(SalesInvoiceHeaderPar: Record "Sales Invoice Header"; SalesInvoiceLinePar: Record "Sales Invoice Line"; var SkipLineVar: Boolean; var HandledVar: Boolean)
begin
end;

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): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Invoice Exp", 'OnCCSalesInvoiceIsFreightChargeLine', '', false, false)]
local procedure DoSomethingOnCCSalesInvoiceIsFreightChargeLine(SalesInvoiceHeaderPar: Record "Sales Invoice Header"; SalesInvoiceLinePar: Record "Sales Invoice Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean)
begin
end;

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): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Invoice Exp", 'OnPreXMLItemHeaderData', '', false, false)]
local procedure DoSomethingOnPreXMLItemHeaderData(SalesInvHeaderPar: Record "Sales Invoice Header"; var TempBlobVar: Record "KVSEDX Outbound" temporary; var HandledVar: Boolean)
begin
end;

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): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Invoice Exp", 'OnPreXMLItemLineData', '', false, false)]
local procedure DoSomethingOnPreXMLItemLineData(SalesInvLinePar: Record "Sales Invoice Line"; var TempBlobVar: Record "KVSEDX Outbound" temporary; var HandledVar: Boolean)
begin
end;

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): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Invoice Exp", 'OnCCSalesInvoiceSkipBankAccount', '', false, false)]
local procedure DoSomethingOnCCSalesInvoiceSkipBankAccount(SalesInvoiceHeaderPar: Record "Sales Invoice Header"; BankAccountPar: Record "Bank Account"; var SkipLineVar: Boolean; var HandledVar: Boolean)
begin
end;

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

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

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

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

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

Parameters:

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