Skip to content

KVSEDX-CC Return Receipt Exp.#

Events#

OnCCReturnReceiptSkipLine(Record Return Receipt Header, Record Return Receipt Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCReturnReceiptSkipLine(ReturnReceiptHeader: Record "Return Receipt Header"; ReturnReceiptLine: Record "Return Receipt Line"; var SkipLine: Boolean; var Handled: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Return Receipt Exp.", 'OnCCReturnReceiptSkipLine', '', false, false)]
local procedure DoSomethingOnCCReturnReceiptSkipLine(ReturnReceiptHeader: Record "Return Receipt Header"; ReturnReceiptLine: Record "Return Receipt Line"; var SkipLine: Boolean; var Handled: Boolean)
begin
end;

OnCCReturnReceiptIsFreightChargeLine(Record Return Receipt Header, Record Return Receipt Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCReturnReceiptIsFreightChargeLine(ReturnReceiptHeader: Record "Return Receipt Header"; ReturnReceiptLine: Record "Return Receipt Line"; var IsFreightChargeLine: Boolean; var Handled: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Return Receipt Exp.", 'OnCCReturnReceiptIsFreightChargeLine', '', false, false)]
local procedure DoSomethingOnCCReturnReceiptIsFreightChargeLine(ReturnReceiptHeader: Record "Return Receipt Header"; ReturnReceiptLine: Record "Return Receipt Line"; var IsFreightChargeLine: Boolean; var Handled: Boolean)
begin
end;

OnPreXMLItemHeaderData(Record Return Receipt Header, Record KVSEDX Outbound, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnPreXMLItemHeaderData(ReturnReceiptHeader: Record "Return Receipt Header"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var Handled: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Return Receipt Exp.", 'OnPreXMLItemHeaderData', '', false, false)]
local procedure DoSomethingOnPreXMLItemHeaderData(ReturnReceiptHeader: Record "Return Receipt Header"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var Handled: Boolean)
begin
end;

OnPreXMLItemLineData(Record Return Receipt Line, Record KVSEDX Outbound, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnPreXMLItemLineData(ReturnReceiptLine: Record "Return Receipt Line"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var Handled: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Return Receipt Exp.", 'OnPreXMLItemLineData', '', false, false)]
local procedure DoSomethingOnPreXMLItemLineData(ReturnReceiptLine: Record "Return Receipt Line"; var TempKVSEDXOutbound: Record "KVSEDX Outbound" temporary; var Handled: Boolean)
begin
end;

OnBeforeGetGTIN(Record Return Receipt Line, Text, Boolean) :#

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

OnBeforeGetEAN(Record Return Receipt Line, Text, Boolean) :#

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

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

Parameters:

  • ReturnReceiptHeader: Current Return Receipt Header
  • CompanyInformation: Company Information record which can be overwritten
  • Handled: True if handled in event subscriber