Skip to content

KVSMTCSalesShipmentSub#

Procedures#

GetRDLCInterface(Codeunit KVSMTCReportInterfaceHelper) :#

procedure GetRDLCInterface(var ReportInterfaceHelper: Codeunit "KVSMTCReportInterfaceHelper"): 

GetKFWReportMgt(Codeunit KVSMTCKFWReportMgt) :#

procedure GetKFWReportMgt(var KFWReportMgt: Codeunit "KVSMTCKFWReportMgt"): 

Events#

OnBeforeCreateDocumentHeading_MTC(Record KVSKBADocumentHeaderBuffer, Record Sales Shipment Header, Codeunit KVSKBAMasterDoc, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateDocumentHeading_MTC(var TempKVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var SalesShipmentHeader: Record "Sales Shipment Header"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCSalesShipmentSub", 'OnBeforeCreateDocumentHeading_MTC', '', false, false)]
local procedure DoSomethingOnBeforeCreateDocumentHeading_MTC(var TempKVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var SalesShipmentHeader: Record "Sales Shipment Header"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var IsHandled: Boolean)
begin
end;

OnBeforeHideShipmentLine(Record Sales Shipment Line, Boolean, Boolean, Boolean) :#

Summary: This event before line gets processed in SalesShipment report.

[IntegrationEvent(false, false)]
local procedure OnBeforeHideShipmentLine(SalesShipmentLine: Record "Sales Shipment Line"; var HideShipmentLine: Boolean; HideShipmentLineCustomerSetting: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCSalesShipmentSub", 'OnBeforeHideShipmentLine', '', false, false)]
local procedure DoSomethingOnBeforeHideShipmentLine(SalesShipmentLine: Record "Sales Shipment Line"; var HideShipmentLine: Boolean; HideShipmentLineCustomerSetting: Boolean; var IsHandled: Boolean)
begin
end;

Parameters:

  • SalesShipmentLine:
  • HideShipmentLine:
  • HideShipmentLineCustomerSetting:
  • IsHandled: Ensures that the calling procedure is skipped if IsHandled is true