Skip to content

KVSEDX-CC Sales Order Conf.Exp#

Events#

OnCCSalesOrderConfirmationSkipLine(Record Sales Header, Record Sales Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCSalesOrderConfirmationSkipLine(SalesHeaderPar: Record "Sales Header"; SalesLinePar: Record "Sales Line"; var SkipLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Order Conf.Exp", 'OnCCSalesOrderConfirmationSkipLine', '', false, false)]
local procedure DoSomethingOnCCSalesOrderConfirmationSkipLine(SalesHeaderPar: Record "Sales Header"; SalesLinePar: Record "Sales Line"; var SkipLineVar: Boolean; var HandledVar: Boolean)
begin
end;

OnCCSalesOrderIsFreightChargeLine(Record Sales Header, Record Sales Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCSalesOrderIsFreightChargeLine(SalesHeaderPar: Record "Sales Header"; SalesLinePar: Record "Sales Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Order Conf.Exp", 'OnCCSalesOrderIsFreightChargeLine', '', false, false)]
local procedure DoSomethingOnCCSalesOrderIsFreightChargeLine(SalesHeaderPar: Record "Sales Header"; SalesLinePar: Record "Sales Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean)
begin
end;

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

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

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

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

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

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

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

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

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

Parameters:

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