Skip to content

KVSEDX-CC Sales Cr.Memo Exp.#

Events#

OnCCSalesCrMemoSkipLine(Record Sales Cr.Memo Header, Record Sales Cr.Memo Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCSalesCrMemoSkipLine(SalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; SalesCrMemoLinePar: Record "Sales Cr.Memo Line"; var SkipLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Cr.Memo Exp.", 'OnCCSalesCrMemoSkipLine', '', false, false)]
local procedure DoSomethingOnCCSalesCrMemoSkipLine(SalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; SalesCrMemoLinePar: Record "Sales Cr.Memo Line"; var SkipLineVar: Boolean; var HandledVar: Boolean)
begin
end;

OnCCSalesCrMemoIsFreightChargeLine(Record Sales Cr.Memo Header, Record Sales Cr.Memo Line, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCCSalesCrMemoIsFreightChargeLine(SalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; SalesCrMemoLinePar: Record "Sales Cr.Memo Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::XmlPort, XmlPort::"KVSEDX-CC Sales Cr.Memo Exp.", 'OnCCSalesCrMemoIsFreightChargeLine', '', false, false)]
local procedure DoSomethingOnCCSalesCrMemoIsFreightChargeLine(SalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; SalesCrMemoLinePar: Record "Sales Cr.Memo Line"; var IsFreightChargeLineVar: Boolean; var HandledVar: Boolean)
begin
end;

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

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

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

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

OnBeforeGetGTIN(Record Sales Cr.Memo Line, Text, Boolean) :#

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

OnBeforeGetEAN(Record Sales Cr.Memo Line, Text, Boolean) :#

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

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

Parameters:

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