Skip to content

KVSMTCRouteCard#

Events#

OnBeforeFillLoadCarriers(Record KVSMTCCombExtProdHeader, Record KVSMTCLoadCarrierHeader, Option, Boolean) :#

Summary: This event is fired before TempLoadCarrierList is filled.

[IntegrationEvent(true, false)]
local procedure OnBeforeFillLoadCarriers(CombExtProdHeader: Record "KVSMTCCombExtProdHeader"; var TempLoadCarrierHeader: Record "KVSMTCLoadCarrierHeader" temporary; LayoutVariant: Option; var GlobalIsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMTCRouteCard", 'OnBeforeFillLoadCarriers', '', false, false)]
local procedure DoSomethingOnBeforeFillLoadCarriers(CombExtProdHeader: Record "KVSMTCCombExtProdHeader"; var TempLoadCarrierHeader: Record "KVSMTCLoadCarrierHeader" temporary; LayoutVariant: Option; var GlobalIsHandled: Boolean)
begin
end;

Parameters:

  • KVSMTCCombExtProdHeader:
  • TempLoadCarrierHeader:
  • LayoutVariant: The selected layout variant
  • IsHandled: Ensures that the calling procedure is skipped if IsHandled is true

OnAfterSetHeaderInfo(Record KVSMTCCombExtProdHeader, Option, Text) :#

Summary: This event is fired after Header/Footer info is filled.

[IntegrationEvent(true, false)]
local procedure OnAfterSetHeaderInfo(CombExtProdHeader: Record "KVSMTCCombExtProdHeader"; LayoutVariant: Option; var HeaderInfo: Text): 
[EventSubscriber(ObjectType::Report, Report::"KVSMTCRouteCard", 'OnAfterSetHeaderInfo', '', false, false)]
local procedure DoSomethingOnAfterSetHeaderInfo(CombExtProdHeader: Record "KVSMTCCombExtProdHeader"; LayoutVariant: Option; var HeaderInfo: Text)
begin
end;

Parameters:

  • KVSMTCCombExtProdHeader:
  • LayoutVariant: The selected layout variant
  • HeaderInfo: Formatted string containing required header and footer information

Protected Variables#

GlobalPrintOnNote#

Type: Boolean

GlobalNoOfCopies#

Type: Integer

GlobalLayoutVariant#

Type: Option

GlobalWithPOLines#

Type: Boolean

GlobalWithPOLinesEnabled#

Type: Boolean