KVSEDX GS1 BMS DESADV EXP#
Events#
OnBeforeCreateLine(Record Sales Shipment Header, Record Sales Shipment Line, Boolean, Boolean) :#
Summary: The OnBeforeCreateLine event is fired before the desadvLineItem XmlElement is created.
[IntegrationEvent(true, false)]
local procedure OnBeforeCreateLine(SalesShipmentHeader: Record "Sales Shipment Header"; SalesShipmentLine: Record "Sales Shipment Line"; var SkipLine: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS DESADV EXP", 'OnBeforeCreateLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateLine(SalesShipmentHeader: Record "Sales Shipment Header"; SalesShipmentLine: Record "Sales Shipment Line"; var SkipLine: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
SalesShipmentHeader
: Current Sales Shipment HeaderSalesShipmentLine
: Current Sales Shipment LineSkipLine
: Skip tihs line if trueIsFreightChargeLine
: Skip tihs line if trueIsHandled
: Is Handled
OnAfterCreateLine(Record Sales Shipment Header, Record Sales Shipment Line, XmlElement, Boolean) :#
Summary: The OnAfterCreateLine event is fired after the desadvLineItem XmlElement is created.
[IntegrationEvent(true, false)]
local procedure OnAfterCreateLine(SalesShipmentHeader: Record "Sales Shipment Header"; SalesShipmentLine: Record "Sales Shipment Line"; var GS1despatchAdviceLogisticUnitXmlElement: XmlElement; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS DESADV EXP", 'OnAfterCreateLine', '', false, false)]
local procedure DoSomethingOnAfterCreateLine(SalesShipmentHeader: Record "Sales Shipment Header"; SalesShipmentLine: Record "Sales Shipment Line"; var GS1despatchAdviceLogisticUnitXmlElement: XmlElement; var IsHandled: Boolean)
begin
end;
Parameters:
SalesShipmentHeader
: Current Sales Shipment HeaderSalesShipmentLine
: Current Sales Shipment LineGS1despatchAdviceLogisticUnitXmlElement
: Current Logistic Unit XmlElementIsHandled
: Is Handled
OnPreXMLItemHeaderData(Record Sales Shipment 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(SalesShipmentHeader: Record "Sales Shipment Header"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS DESADV EXP", 'OnPreXMLItemHeaderData', '', false, false)]
local procedure DoSomethingOnPreXMLItemHeaderData(SalesShipmentHeader: Record "Sales Shipment Header"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var IsHandled: Boolean)
begin
end;
Parameters:
SalesShipmentHeader
: Current Sales Shipment HeaderTempKVSEDXOutbound
: Dynamic DataIsHandled
: Is Handled
OnPreXMLItemLineData(Record Sales Shipment 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(SalesShipmentLine: Record "Sales Shipment Line"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS DESADV EXP", 'OnPreXMLItemLineData', '', false, false)]
local procedure DoSomethingOnPreXMLItemLineData(SalesShipmentLine: Record "Sales Shipment Line"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var IsHandled: Boolean)
begin
end;
Parameters:
SalesShipmentLine
: Current Sales Shipment LineTempKVSEDXOutbound
: Dynamic DataIsHandled
: Is Handled
OnBeforeGetGTIN(Record Sales Shipment 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(SalesShipmentLine: Record "Sales Shipment Line"; var GTIN: Text; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX GS1 BMS DESADV EXP", 'OnBeforeGetGTIN', '', false, false)]
local procedure DoSomethingOnBeforeGetGTIN(SalesShipmentLine: Record "Sales Shipment Line"; var GTIN: Text; var IsHandled: Boolean)
begin
end;
Parameters:
SalesShipmentLine
: Current Sales Shipment LineGTIN
: GTIN used in MessageIsHandled
: Is Handled