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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCopyProdOrderDocumentSub", 'OnBeforeToProdOrderCompItemValidate', '', false, false)]
local procedure DoSomethingOnBeforeToProdOrderCompItemValidate(var ToProdOrderComp: Record "Prod. Order Component"; FromProdOrderComp: Record "Prod. Order Component")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCopyProdOrderDocumentSub", 'OnBeforeToProdOrderCompModify', '', false, false)]
local procedure DoSomethingOnBeforeToProdOrderCompModify(var ToProdOrderComp: Record "Prod. Order Component"; FromProdOrderComp: Record "Prod. Order Component")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCopyProdOrderDocumentSub", 'OnAfterToProdOrderCompModify', '', false, false)]
local procedure DoSomethingOnAfterToProdOrderCompModify(var ToProdOrderComp: Record "Prod. Order Component"; FromProdOrderComp: Record "Prod. Order Component")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCopyProdOrderDocumentSub", 'OnBeforeToProdOrderRtngLineModify', '', false, false)]
local procedure DoSomethingOnBeforeToProdOrderRtngLineModify(var ToProdOrderRtngLine: Record "Prod. Order Routing Line"; FromProdOrderRtngLine: Record "Prod. Order Routing Line")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCopyProdOrderDocumentSub", 'OnAfterToProdOrderRtngLineModify', '', false, false)]
local procedure DoSomethingOnAfterToProdOrderRtngLineModify(var ToProdOrderRtngLine: Record "Prod. Order Routing Line"; FromProdOrderRtngLine: Record "Prod. Order Routing Line")
begin
end;
Parameters:
ToProdOrderRtngLine: The target production order routing line that was modified.FromProdOrderRtngLine: The source production order routing line that was copied from.