Table of Contents

KVSMTCKFWServiceShipmentSub

Procedures

GetRDLCInterface(Codeunit KVSMTCReportInterfaceHelper) :

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

GetKFWReportMgt(Codeunit KVSMTCKFWReportMgt) :

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

Events

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

Syntax

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateDocumentHeading_MTC(var TempKVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var ServiceShipmentHeader: Record "Service Shipment Header"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var IsHandled: Boolean): 

Subscriber

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

OnBeforeHideBundleSubtotalLines_MTC(Record Service Shipment Line, Boolean) :

Summary: This event is fired before line gets processed in service shipment report.

Syntax

[IntegrationEvent(false, false)]
local procedure OnBeforeHideBundleSubtotalLines_MTC(ServiceShipmentLine: Record "Service Shipment Line"; var IsHandled: Boolean): 

Subscriber

[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCKFWServiceShipmentSub", 'OnBeforeHideBundleSubtotalLines_MTC', '', false, false)]
local procedure DoSomethingOnBeforeHideBundleSubtotalLines_MTC(ServiceShipmentLine: Record "Service Shipment Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceShipmentLine: Contains the current service shipment line that is being processed
  • IsHandled: Ensures that the calling procedure is skipped if IsHandled is true