Table of Contents

KVSFCYCopyProdOrderDocumentSub

Events

OnBeforeToProdOrderCompItemValidate(Record Prod. Order Component, Record Prod. Order Component) :

Summary: Event triggered before validating item information on a production order component during copy operations.

[IntegrationEvent(false, false)]
local procedure OnBeforeToProdOrderCompItemValidate(var ToProdOrderComp: Record "Prod. Order Component"; FromProdOrderComp: Record "Prod. Order Component"): 

Parameters:

  • ToProdOrderComp: The target production order component being created.
  • FromProdOrderComp: The source production order component being copied from.

OnBeforeToProdOrderCompModify(Record Prod. Order Component, Record Prod. Order Component) :

Summary: Event triggered before modifying a production order component during copy operations.

[IntegrationEvent(false, false)]
local procedure OnBeforeToProdOrderCompModify(var ToProdOrderComp: Record "Prod. Order Component"; FromProdOrderComp: Record "Prod. Order Component"): 

Parameters:

  • ToProdOrderComp: The target production order component being modified.
  • FromProdOrderComp: The source production order component being copied from.

OnAfterToProdOrderCompModify(Record Prod. Order Component, Record Prod. Order Component) :

Summary: Event triggered after modifying a production order component during copy operations.

[IntegrationEvent(false, false)]
local procedure OnAfterToProdOrderCompModify(var ToProdOrderComp: Record "Prod. Order Component"; FromProdOrderComp: Record "Prod. Order Component"): 

Parameters:

  • ToProdOrderComp: The target production order component that was modified.
  • FromProdOrderComp: The source production order component that was copied from.

OnBeforeToProdOrderRtngLineModify(Record Prod. Order Routing Line, Record Prod. Order Routing Line) :

Summary: Event triggered before modifying a production order routing line during copy operations.

[IntegrationEvent(false, false)]
local procedure OnBeforeToProdOrderRtngLineModify(var ToProdOrderRtngLine: Record "Prod. Order Routing Line"; FromProdOrderRtngLine: Record "Prod. Order Routing Line"): 

Parameters:

  • ToProdOrderRtngLine: The target production order routing line being modified.
  • FromProdOrderRtngLine: The source production order routing line being copied from.

OnAfterToProdOrderRtngLineModify(Record Prod. Order Routing Line, Record Prod. Order Routing Line) :

Summary: Event triggered after modifying a production order routing line during copy operations.

[IntegrationEvent(false, false)]
local procedure OnAfterToProdOrderRtngLineModify(var ToProdOrderRtngLine: Record "Prod. Order Routing Line"; FromProdOrderRtngLine: Record "Prod. Order Routing Line"): 

Parameters:

  • ToProdOrderRtngLine: The target production order routing line that was modified.
  • FromProdOrderRtngLine: The source production order routing line that was copied from.