Skip to content

KVSFCYSecondaryRtngLinesMgmt#

Events#

OnAfterCalculateNextOperNoForAllRtngLines(Code[20], Code[10]) :#

Summary: Event after calculating next operation numbers for all routing lines.

[IntegrationEvent(false, false)]
local procedure OnAfterCalculateNextOperNoForAllRtngLines(RtngNo: Code[20]; VersionCode: Code[10]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnAfterCalculateNextOperNoForAllRtngLines', '', false, false)]
local procedure DoSomethingOnAfterCalculateNextOperNoForAllRtngLines(RtngNo: Code[20]; VersionCode: Code[10])
begin
end;

Parameters:

  • RtngNo: The routing number.
  • VersionCode: The version code.

OnBeforeUpdateOperNoFilter4PreviousOrNextRtngLine(Record Routing Line, Code[250], Boolean, Boolean) :#

Summary: Event before updating operation filter for previous/next routing lines.

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateOperNoFilter4PreviousOrNextRtngLine(var RtngLine: Record "Routing Line"; var OperationNoFilterText: Code[250]; ForDelete: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnBeforeUpdateOperNoFilter4PreviousOrNextRtngLine', '', false, false)]
local procedure DoSomethingOnBeforeUpdateOperNoFilter4PreviousOrNextRtngLine(var RtngLine: Record "Routing Line"; var OperationNoFilterText: Code[250]; ForDelete: Boolean; var IsHandled: Boolean)
begin
end;

Parameters:

  • RtngLine: The routing line.
  • OperationNoFilterText: The operation number filter text.
  • ForDelete: Whether updating for deletion.
  • IsHandled: Whether the event is handled.

OnBeforeUpdateAttachedLines4RtngLine(Record Routing Line, Record Routing Line, Text[100], Boolean, Boolean) :#

Summary: Event before updating attached routing lines.

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAttachedLines4RtngLine(var SecondaryRtngLine: Record "Routing Line"; var RtngLine: Record "Routing Line"; ChangedFieldName: Text[100]; var ModifyRec: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnBeforeUpdateAttachedLines4RtngLine', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAttachedLines4RtngLine(var SecondaryRtngLine: Record "Routing Line"; var RtngLine: Record "Routing Line"; ChangedFieldName: Text[100]; var ModifyRec: Boolean; var IsHandled: Boolean)
begin
end;

Parameters:

  • SecondaryRtngLine: The secondary routing line.
  • RtngLine: The main routing line.
  • ChangedFieldName: The changed field name.
  • ModifyRec: Whether to modify the record.
  • IsHandled: Whether the event is handled.

OnUpdateOperNoFilter4PreviousOrNextPORtngLineBeforeValidateNextOperationNo(Record Prod. Order Routing Line, Record Prod. Order Routing Line, Code[250], Boolean) :#

Summary: Event before validating next operation number in production order routing.

[IntegrationEvent(false, false)]
local procedure OnUpdateOperNoFilter4PreviousOrNextPORtngLineBeforeValidateNextOperationNo(var PreviousProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var OperationNoFilterText: Code[250]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnUpdateOperNoFilter4PreviousOrNextPORtngLineBeforeValidateNextOperationNo', '', false, false)]
local procedure DoSomethingOnUpdateOperNoFilter4PreviousOrNextPORtngLineBeforeValidateNextOperationNo(var PreviousProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var OperationNoFilterText: Code[250]; var IsHandled: Boolean)
begin
end;

Parameters:

  • PreviousProdOrderRtngLine: The previous production order routing line.
  • ProdOrderRtngLine: The production order routing line.
  • OperationNoFilterText: The operation number filter text.
  • IsHandled: Whether the event is handled.

OnUpdateOperNoFilter4PreviousOrNextPORtngLineBeforeValidatePreviousOperationNo(Record Prod. Order Routing Line, Record Prod. Order Routing Line, Code[250], Boolean) :#

Summary: Event before validating previous operation number in production order routing.

[IntegrationEvent(false, false)]
local procedure OnUpdateOperNoFilter4PreviousOrNextPORtngLineBeforeValidatePreviousOperationNo(var NextProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var OperationNoFilterText: Code[250]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnUpdateOperNoFilter4PreviousOrNextPORtngLineBeforeValidatePreviousOperationNo', '', false, false)]
local procedure DoSomethingOnUpdateOperNoFilter4PreviousOrNextPORtngLineBeforeValidatePreviousOperationNo(var NextProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var OperationNoFilterText: Code[250]; var IsHandled: Boolean)
begin
end;

Parameters:

  • NextProdOrderRtngLine: The next production order routing line.
  • ProdOrderRtngLine: The production order routing line.
  • OperationNoFilterText: The operation number filter text.
  • IsHandled: Whether the event is handled.

OnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeUpdate(Record Prod. Order Routing Line, Record Prod. Order Routing Personnel, Record Prod. Order Routing Line, Boolean) :#

Summary: Event before updating secondary routing line for production order personnel.

[IntegrationEvent(false, false)]
local procedure OnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeUpdate(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngPersonnel: Record "Prod. Order Routing Personnel"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var ModifyLine: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeUpdate', '', false, false)]
local procedure DoSomethingOnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeUpdate(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngPersonnel: Record "Prod. Order Routing Personnel"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var ModifyLine: Boolean)
begin
end;

Parameters:

  • SecondaryProdOrderRtngLine: The secondary production order routing line.
  • ProdOrderRtngPersonnel: The production order routing personnel.
  • ProdOrderRtngLine: The production order routing line.
  • ModifyLine: Whether to modify the line.

OnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeInsert(Record Prod. Order Routing Line, Record Prod. Order Routing Personnel, Record Prod. Order Routing Line) :#

Summary: Event before inserting secondary routing line for production order personnel.

[IntegrationEvent(false, false)]
local procedure OnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeInsert(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngPersonnel: Record "Prod. Order Routing Personnel"; ProdOrderRtngLine: Record "Prod. Order Routing Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeInsert', '', false, false)]
local procedure DoSomethingOnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeInsert(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngPersonnel: Record "Prod. Order Routing Personnel"; ProdOrderRtngLine: Record "Prod. Order Routing Line")
begin
end;

Parameters:

  • SecondaryProdOrderRtngLine: The secondary production order routing line.
  • ProdOrderRtngPersonnel: The production order routing personnel.
  • ProdOrderRtngLine: The production order routing line.

OnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeModify(Record Prod. Order Routing Line, Record Prod. Order Routing Personnel, Record Prod. Order Routing Line, Boolean) :#

Summary: Event before modifying secondary routing line for production order personnel.

[IntegrationEvent(false, false)]
local procedure OnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeModify(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngPersonnel: Record "Prod. Order Routing Personnel"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeModify', '', false, false)]
local procedure DoSomethingOnUpdateSecondaryRoutingLine4PORtngPersonnelBeforeModify(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngPersonnel: Record "Prod. Order Routing Personnel"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • SecondaryProdOrderRtngLine: The secondary production order routing line.
  • ProdOrderRtngPersonnel: The production order routing personnel.
  • ProdOrderRtngLine: The production order routing line.
  • IsHandled: Whether the event is handled.

OnUpdateSecondaryRoutingLine4PORtngToolBeforeUpdate(Record Prod. Order Routing Line, Record Prod. Order Routing Tool, Record Prod. Order Routing Line, Boolean) :#

Summary: Event before updating secondary routing line for production order tool.

[IntegrationEvent(false, false)]
local procedure OnUpdateSecondaryRoutingLine4PORtngToolBeforeUpdate(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngTool: Record "Prod. Order Routing Tool"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var ModifyLine: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnUpdateSecondaryRoutingLine4PORtngToolBeforeUpdate', '', false, false)]
local procedure DoSomethingOnUpdateSecondaryRoutingLine4PORtngToolBeforeUpdate(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngTool: Record "Prod. Order Routing Tool"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var ModifyLine: Boolean)
begin
end;

Parameters:

  • SecondaryProdOrderRtngLine: The secondary production order routing line.
  • ProdOrderRtngTool: The production order routing tool.
  • ProdOrderRtngLine: The production order routing line.
  • ModifyLine: Whether to modify the line.

OnUpdateSecondaryRoutingLine4PORtngToolBeforeInsert(Record Prod. Order Routing Line, Record Prod. Order Routing Tool, Record Prod. Order Routing Line) :#

Summary: Event before inserting secondary routing line for production order tool.

[IntegrationEvent(false, false)]
local procedure OnUpdateSecondaryRoutingLine4PORtngToolBeforeInsert(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngTool: Record "Prod. Order Routing Tool"; ProdOrderRtngLine: Record "Prod. Order Routing Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnUpdateSecondaryRoutingLine4PORtngToolBeforeInsert', '', false, false)]
local procedure DoSomethingOnUpdateSecondaryRoutingLine4PORtngToolBeforeInsert(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngTool: Record "Prod. Order Routing Tool"; ProdOrderRtngLine: Record "Prod. Order Routing Line")
begin
end;

Parameters:

  • SecondaryProdOrderRtngLine: The secondary production order routing line.
  • ProdOrderRtngTool: The production order routing tool.
  • ProdOrderRtngLine: The production order routing line.

OnUpdateSecondaryRoutingLine4PORtngToolBeforeModify(Record Prod. Order Routing Line, Record Prod. Order Routing Tool, Record Prod. Order Routing Line, Boolean) :#

Summary: Event before modifying secondary routing line for production order tool.

[IntegrationEvent(false, false)]
local procedure OnUpdateSecondaryRoutingLine4PORtngToolBeforeModify(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngTool: Record "Prod. Order Routing Tool"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnUpdateSecondaryRoutingLine4PORtngToolBeforeModify', '', false, false)]
local procedure DoSomethingOnUpdateSecondaryRoutingLine4PORtngToolBeforeModify(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderRtngTool: Record "Prod. Order Routing Tool"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • SecondaryProdOrderRtngLine: The secondary production order routing line.
  • ProdOrderRtngTool: The production order routing tool.
  • ProdOrderRtngLine: The production order routing line.
  • IsHandled: Whether the event is handled.

OnBeforeUpdateAttachedLines4PORtngLine(Record Prod. Order Routing Line, Record Prod. Order Routing Line, Text[100], Boolean, Boolean) :#

Summary: Event before updating attached production order routing lines.

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAttachedLines4PORtngLine(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; var ProdOrderRtngLine: Record "Prod. Order Routing Line"; ChangedFieldName: Text[100]; var ModifyRec: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnBeforeUpdateAttachedLines4PORtngLine', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAttachedLines4PORtngLine(var SecondaryProdOrderRtngLine: Record "Prod. Order Routing Line"; var ProdOrderRtngLine: Record "Prod. Order Routing Line"; ChangedFieldName: Text[100]; var ModifyRec: Boolean; var IsHandled: Boolean)
begin
end;

Parameters:

  • SecondaryProdOrderRtngLine: The secondary production order routing line.
  • ProdOrderRtngLine: The production order routing line.
  • ChangedFieldName: The changed field name.
  • ModifyRec: Whether to modify the record.
  • IsHandled: Whether the event is handled.

OnBeforeUpdateAttachedLines4PlanningRtngLine(Record Planning Routing Line, Record Planning Routing Line, Text[100], Boolean, Boolean) :#

Summary: Event before updating attached planning routing lines.

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAttachedLines4PlanningRtngLine(var SecondaryPlanningRtngLine: Record "Planning Routing Line"; var PlanningRtngLine: Record "Planning Routing Line"; ChangedFieldName: Text[100]; var ModifyRec: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYSecondaryRtngLinesMgmt", 'OnBeforeUpdateAttachedLines4PlanningRtngLine', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAttachedLines4PlanningRtngLine(var SecondaryPlanningRtngLine: Record "Planning Routing Line"; var PlanningRtngLine: Record "Planning Routing Line"; ChangedFieldName: Text[100]; var ModifyRec: Boolean; var IsHandled: Boolean)
begin
end;

Parameters:

  • SecondaryPlanningRtngLine: The secondary planning routing line.
  • PlanningRtngLine: The planning routing line.
  • ChangedFieldName: The changed field name.
  • ModifyRec: Whether to modify the record.
  • IsHandled: Whether the event is handled.