KVSEDX GS1 BMS ORDRSP EXP#
Events#
OnBeforeCreateLine(Record Sales Header, Record Sales Line, Boolean, Boolean, Boolean) :#
Summary: The OnBeforeCreateLine event is fired before the orderResponseLineItem XmlElement is created.
[IntegrationEvent(true, false)]
local procedure OnBeforeCreateLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var SkipLine: Boolean; var IsFreightChargeLine: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS ORDRSP EXP", 'OnBeforeCreateLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var SkipLine: Boolean; var IsFreightChargeLine: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
SalesHeader
: Current Sales HeaderSalesLine
: Current Sales LineSkipLine
: Skip tihs line if trueIsFreightChargeLine
: Skip tihs line if trueIsHandled
: Is Handled
OnAfterCreateLine(Record Sales Header, Record Sales Line, XmlElement, Boolean) :#
Summary: The OnAfterCreateLine event is fired after the orderResponseLineItem XmlElement is created.
[IntegrationEvent(true, false)]
local procedure OnAfterCreateLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var GS1LineXmlElement: XmlElement; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS ORDRSP EXP", 'OnAfterCreateLine', '', false, false)]
local procedure DoSomethingOnAfterCreateLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var GS1LineXmlElement: XmlElement; var IsHandled: Boolean)
begin
end;
Parameters:
SalesHeader
: Current Sales HeaderSalesLine
: Current Sales LineGS1LineXmlElement
: Current Line XmlElementIsHandled
: Is Handled
OnPreXMLItemHeaderData(Record Sales Header, Record KVSEDX Outbound, Boolean) :#
Summary: The OnPreXMLItemHeaderData event is fired when the avpList (Attribute Value Pair List) is created for the header. Project-related additional data can be transmitted.
[IntegrationEvent(true, false)]
local procedure OnPreXMLItemHeaderData(SalesHeader: Record "Sales Header"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS ORDRSP EXP", 'OnPreXMLItemHeaderData', '', false, false)]
local procedure DoSomethingOnPreXMLItemHeaderData(SalesHeader: Record "Sales Header"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var IsHandled: Boolean)
begin
end;
Parameters:
SalesHeader
: Current Sales HeaderTempKVSEDXOutbound
: Dynamic DataIsHandled
: Is Handled
OnPreXMLItemLineData(Record Sales Line, Record KVSEDX Outbound, Boolean) :#
Summary: The OnPreXMLItemLineData event is fired when the avpList (Attribute Value Pair List) is created for the header. Project-related additional data can be transmitted.
[IntegrationEvent(true, false)]
local procedure OnPreXMLItemLineData(SalesLine: Record "Sales Line"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS ORDRSP EXP", 'OnPreXMLItemLineData', '', false, false)]
local procedure DoSomethingOnPreXMLItemLineData(SalesLine: Record "Sales Line"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var IsHandled: Boolean)
begin
end;
Parameters:
SalesHeader
: Current Sales HeaderTempKVSEDXOutbound
: Dynamic DataIsHandled
: Is Handled
OnBeforeGetGTIN(Record Sales Line, Text, Boolean) :#
Summary: The event OnBeforeGetGTIN is fired if the GTIN is to be changed for the item.
[IntegrationEvent(true, false)]
local procedure OnBeforeGetGTIN(SalesLine: Record "Sales Line"; var GTIN: Text; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS ORDRSP EXP", 'OnBeforeGetGTIN', '', false, false)]
local procedure DoSomethingOnBeforeGetGTIN(SalesLine: Record "Sales Line"; var GTIN: Text; var IsHandled: Boolean)
begin
end;
Parameters:
SalesLine
: Current Sales LineGTIN
: GTIN used in MessageIsHandled
: Is Handled