Skip to content

KVSEDX-CC Sales Shipment Exp.#

Events#

OnCCSalesShipmentSkipLine(Record Sales Shipment Header, Record Sales Shipment Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCSalesShipmentSkipLine(SalesShipmentHeaderPar: Record "Sales Shipment Header"; SalesShipmentLinePar: Record "Sales Shipment Line"; var SkipLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Shipment Exp.", 'OnCCSalesShipmentSkipLine', '', false, false)]
local procedure DoSomethingOnCCSalesShipmentSkipLine(SalesShipmentHeaderPar: Record "Sales Shipment Header"; SalesShipmentLinePar: Record "Sales Shipment Line"; var SkipLineVar: Boolean; var HandledVar: Boolean)
begin
end;

OnCCSalesShipmentIsFreightChargeLine(Record Sales Shipment Header, Record Sales Shipment Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCSalesShipmentIsFreightChargeLine(SalesShipmentHeaderPar: Record "Sales Shipment Header"; SalesShipmentLinePar: Record "Sales Shipment Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Shipment Exp.", 'OnCCSalesShipmentIsFreightChargeLine', '', false, false)]
local procedure DoSomethingOnCCSalesShipmentIsFreightChargeLine(SalesShipmentHeaderPar: Record "Sales Shipment Header"; SalesShipmentLinePar: Record "Sales Shipment Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean)
begin
end;

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

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

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

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

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

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

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

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

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

Parameters:

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