Skip to content

KVSFCYCalcProdOrderSingleInst#

Events#

OnTransferRoutingBeforeProdOrderRtngLineInsert(Record Prod. Order Routing Line, Record Routing Line, Record Prod. Order Line) :#

Summary: This event is triggered before inserting a production order routing line during routing transfer

[IntegrationEvent(false, false)]
local procedure OnTransferRoutingBeforeProdOrderRtngLineInsert(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; RoutingLine: Record "Routing Line"; ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalcProdOrderSingleInst", 'OnTransferRoutingBeforeProdOrderRtngLineInsert', '', false, false)]
local procedure DoSomethingOnTransferRoutingBeforeProdOrderRtngLineInsert(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; RoutingLine: Record "Routing Line"; ProdOrderLine: Record "Prod. Order Line")
begin
end;

Parameters:

  • ProdOrderRoutingLine: The production order routing line to be inserted
  • RoutingLine: The routing line being used as source for the production order routing line
  • ProdOrderLine: The production order line context for the routing transfer