Table "Prod. Order Routing Line"
ID 5409
Namespace: Microsoft.Manufacturing.Document
Properties
Fields
| Name |
Type |
Description |
| "Routing No." |
Code[20]
|
Specifies the routing number.
|
| "Routing Reference No." |
Integer
|
Specifies that the routing reference number.
|
| "Operation No." |
Code[10]
|
Specifies the operation number.
|
| "Next Operation No." |
Code[30]
|
Specifies the next operation number.
|
| "Previous Operation No." |
Code[30]
|
Specifies the previous operation number.
|
| Type |
Enum Microsoft.Manufacturing.Capacity."Capacity Type"
|
Specifies the type of operation.
|
| "No." |
Code[20]
|
Specifies the number of the involved entry or record, according to the specified number series.
|
| "Work Center No." |
Code[20]
|
|
| "Work Center Group Code" |
Code[10]
|
|
| Description |
Text[100]
|
Specifies the description of the operation.
|
| "Setup Time" |
Decimal
|
Specifies the setup time of the operation.
|
| "Run Time" |
Decimal
|
Specifies the run time of the operation.
|
| "Wait Time" |
Decimal
|
Specifies the wait time after processing.
|
| "Move Time" |
Decimal
|
Specifies the move time.
|
| "Fixed Scrap Quantity" |
Decimal
|
Specifies the fixed scrap quantity.
|
| "Lot Size" |
Decimal
|
Specifies the lot size.
|
| "Scrap Factor %" |
Decimal
|
Specifies the scrap factor in percent.
|
| "Setup Time Unit of Meas. Code" |
Code[10]
|
Specifies the setup time unit of measure.
|
| "Run Time Unit of Meas. Code" |
Code[10]
|
Specifies the run time unit of measure.
|
| "Wait Time Unit of Meas. Code" |
Code[10]
|
Specifies the unit of measure code that applies to the wait time.
|
| "Move Time Unit of Meas. Code" |
Code[10]
|
Specifies the unit of measure code that applies to the move time.
|
| "Description 2" |
Text[50]
|
Specifies additional description text.
|
| "Minimum Process Time" |
Decimal
|
|
| "Maximum Process Time" |
Decimal
|
|
| "Concurrent Capacities" |
Decimal
|
Specifies the concurrent capacity of the operation.
|
| "Send-Ahead Quantity" |
Decimal
|
Specifies the send-ahead quantity of the operation.
|
| "Routing Link Code" |
Code[10]
|
Specifies a routing link code.
|
| "Standard Task Code" |
Code[10]
|
Specifies the standard task code that applies to the operation.
|
| "Unit Cost per" |
Decimal
|
Specifies the unit cost for this operation if it is different than the unit cost on the work center card.
|
| Recalculate |
Boolean
|
|
| "Sequence No. (Forward)" |
Integer
|
|
| "Sequence No. (Backward)" |
Integer
|
|
| "Fixed Scrap Qty. (Accum.)" |
Decimal
|
|
| "Scrap Factor % (Accumulated)" |
Decimal
|
|
| "Sequence No. (Actual)" |
Integer
|
|
| "Direct Unit Cost" |
Decimal
|
|
| "Indirect Cost %" |
Decimal
|
|
| "Overhead Rate" |
Decimal
|
|
| "Starting Time" |
Time
|
Specifies the starting time of the routing line (operation).
|
| "Starting Date" |
Date
|
Specifies the starting date of the routing line (operation).
|
| "Ending Time" |
Time
|
Specifies the ending time of the routing line (operation).
|
| "Ending Date" |
Date
|
Specifies the ending date of the routing line (operation).
|
| Status |
Enum Microsoft.Manufacturing.Document."Production Order Status"
|
Specifies the status of the routing line.
|
| "Prod. Order No." |
Code[20]
|
Specifies the number of the related production order.
|
| "Unit Cost Calculation" |
Enum Microsoft.Foundation.Enums."Unit Cost Calculation Type"
|
|
| "Input Quantity" |
Decimal
|
|
| "Critical Path" |
Boolean
|
|
| "Routing Status" |
Enum Microsoft.Manufacturing.Document."Prod. Order Routing Status"
|
Specifies the status of the routing line, such as Planned, In Progress, or Finished.
|
| "Flushing Method" |
Enum Microsoft.Manufacturing.Setup."Flushing Method Routing"
|
Specifies the method to use to calculate and handle output at the work or machine center. Manual: Output must be posted manually by using the output journal. Forward: Output is automatically calculated and posted when you change the status of a simulated, planned (or firm planned) production order to Released. You can still post output manually from the output journal. Backward: Output is automatically calculated and posted when you change the status of a released production order to Finished. You can still post output manually from the output journal.
|
| "Expected Operation Cost Amt." |
Decimal
|
Specifies the total cost of operations. It is automatically calculated from the capacity need, when a production order is refreshed or replanned.
|
| "Expected Capacity Need" |
Decimal
|
|
| "Expected Capacity Ovhd. Cost" |
Decimal
|
Specifies the capacity overhead. It is automatically calculated from the capacity need, when a production order is refreshed or replanned.
|
| "Starting Date-Time" |
DateTime
|
Specifies the starting date and the starting time, which are combined in a format called "starting date-time".
|
| "Ending Date-Time" |
DateTime
|
Specifies the ending date and the ending time, which are combined in a format called "ending date-time".
|
| "Schedule Manually" |
Boolean
|
Specifies that the underlying capacity need is recalculated each time a change is made in the schedule of the routing.
|
| "Location Code" |
Code[10]
|
Specifies the location where the machine or work center on the production order routing line operates.
|
| "Open Shop Floor Bin Code" |
Code[20]
|
Specifies the corresponding bin at the machine or work center, if the location code matches the setup of that machine or work center.
|
| "To-Production Bin Code" |
Code[20]
|
Specifies the bin that holds components with a flushing method, that involves a warehouse activity to bring the items to the bin.
|
| "From-Production Bin Code" |
Code[20]
|
Specifies the corresponding bin at the machine or work center if the location code matches the setup of that machine or work center.
|
| "Posted Output Quantity" |
Decimal
|
Specifies the total output quantity that has been posted to the capacity ledger. Value expressed in base unit of measure.
|
| "Posted Scrap Quantity" |
Decimal
|
Specifies the total scrap quantity that has been posted to the capacity ledger. Value expressed in base unit of measure.
|
| "Posted Run Time" |
Decimal
|
Specifies the total run time that has been posted to the capacity ledger.
|
| "Posted Setup Time" |
Decimal
|
Specifies the total set up time that has been posted to the capacity ledger.
|
| SystemId |
Guid
|
|
| SystemCreatedAt |
DateTime
|
|
| SystemCreatedBy |
Guid
|
|
| SystemModifiedAt |
DateTime
|
|
| SystemModifiedBy |
Guid
|
|
| SystemCreatedByUserName |
Text[50]
|
|
| SystemCreatedByFullName |
Text[80]
|
|
| SystemModifiedByUserName |
Text[50]
|
|
| SystemModifiedByFullName |
Text[80]
|
|
| SystemRowVersion |
BigInteger
|
|
Methods
Caption
procedure Caption(): Text
Returns
CopyFromPlanningRoutingLine
procedure CopyFromPlanningRoutingLine(PlanningRoutingLine: Record "Planning Routing Line")
Parameters
CopyFromRoutingLine
procedure CopyFromRoutingLine(RoutingLine: Record "Routing Line")
Parameters
FillDefaultLocationAndBins
procedure FillDefaultLocationAndBins()
CalcStartingEndingDates
procedure CalcStartingEndingDates(PlanningDirection: Option)
Parameters
| Name |
Type |
Description |
|
PlanningDirection
|
Option |
|
SetRecalcStatus
procedure SetRecalcStatus()
RunTimePer
procedure RunTimePer(): Decimal
Returns
UpdateDatetime
procedure UpdateDatetime()
CheckPreviousAndNext
procedure CheckPreviousAndNext()
SetNextOperations
procedure SetNextOperations(var RtngLine: Record "Prod. Order Routing Line")
Parameters
SubcontractingPurchOrderExist
procedure SubcontractingPurchOrderExist(): Boolean
Returns
UpdateComponentsBin
procedure UpdateComponentsBin(FromTrigger: Option)
Parameters
| Name |
Type |
Description |
|
FromTrigger
|
Option |
|
SetSkipUpdateOfCompBinCodes
procedure SetSkipUpdateOfCompBinCodes(Setting: Boolean)
Parameters
| Name |
Type |
Description |
|
Setting
|
Boolean |
|
SetHideValidationDialog
procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)
Parameters
| Name |
Type |
Description |
|
NewHideValidationDialog
|
Boolean |
|
IsSerial
procedure IsSerial(): Boolean
Returns
GetStartingEndingDateAndTime
procedure GetStartingEndingDateAndTime(var StartingTime: Time; var StartingDate: Date; var EndingTime: Time; var EndingDate: Date)
Parameters
| Name |
Type |
Description |
|
StartingTime
|
Time |
|
|
StartingDate
|
Date |
|
|
EndingTime
|
Time |
|
|
EndingDate
|
Date |
|
NextOperationExist
procedure NextOperationExist(): Boolean
Returns
Events
OnAfterCalcStartingEndingDates
[IntegrationEvent(False,False)]
local procedure OnAfterCalcStartingEndingDates(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var xProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line"; CallingFieldNo: Integer)
Parameters
OnAfterCopyFromRoutingLine
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; RoutingLine: Record "Routing Line")
Parameters
OnAfterDeleteRelations
[IntegrationEvent(False,False)]
local procedure OnAfterDeleteRelations(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; SkipUpdateOfCompBinCodes: Boolean)
Parameters
OnAfterFillDefaultLocationAndBins
[IntegrationEvent(False,False)]
local procedure OnAfterFillDefaultLocationAndBins(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
Parameters
OnAfterWorkCenterTransferFields
[IntegrationEvent(False,False)]
local procedure OnAfterWorkCenterTransferFields(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; WorkCenter: Record "Work Center")
Parameters
OnAfterMachineCtrTransferFields
[IntegrationEvent(False,False)]
local procedure OnAfterMachineCtrTransferFields(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; WorkCenter: Record "Work Center"; MachineCenter: Record "Machine Center")
Parameters
OnAfterSetRecalcStatus
[IntegrationEvent(False,False)]
local procedure OnAfterSetRecalcStatus(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line")
Parameters
OnAfterTransferFromStdTaskTool
[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromStdTaskTool(var ProdOrderRoutingTool: Record "Prod. Order Routing Tool"; StandardTaskTool: Record "Standard Task Tool")
Parameters
OnAfterTransferFromStdTaskPersonnel
[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromStdTaskPersonnel(var ProdOrderRoutingPersonnel: Record "Prod. Order Routing Personnel"; StandardTaskPersonnel: Record "Standard Task Personnel")
Parameters
OnAfterTransferFromStdTaskQltyMeasure
[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromStdTaskQltyMeasure(var ProdOrderRtngQltyMeas: Record "Prod. Order Rtng Qlty Meas."; StandardTaskQualityMeasure: Record "Standard Task Quality Measure")
Parameters
OnAfterTransferFromStdTaskComment
[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromStdTaskComment(var ProdOrderRtngCommentLine: Record "Prod. Order Rtng Comment Line"; StandardTaskDescription: Record "Standard Task Description")
Parameters
OnAfterUpdateDateTime
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDateTime(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var xProdOrderRoutingLine: Record "Prod. Order Routing Line"; CallingFieldNo: Integer)
Parameters
OnAfterValidateNo
[IntegrationEvent(False,False)]
local procedure OnAfterValidateNo(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var xProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line")
Parameters
OnBeforeAdjustComponents
[IntegrationEvent(False,False)]
local procedure OnBeforeAdjustComponents(var ProdOrderComp: Record "Prod. Order Component")
Parameters
OnBeforeCalcStartingEndingDates
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcStartingEndingDates(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var Direction: Option; var IsHandled: Boolean)
Parameters
OnBeforeCheckRoutingNoNotBlank
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckRoutingNoNotBlank(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
Parameters
OnBeforeCheckIfSubcontractingPurchOrderExist
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIfSubcontractingPurchOrderExist(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; xProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
Parameters
OnBeforeDeleteRelations
[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteRelations(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
Parameters
OnBeforeFillDefaultLocationAndBins
[IntegrationEvent(False,False)]
local procedure OnBeforeFillDefaultLocationAndBins(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
Parameters
OnBeforeSetNextOperations
[IntegrationEvent(False,False)]
local procedure OnBeforeSetNextOperations(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
Parameters
OnBeforeTerminationProcessesErr
[IntegrationEvent(False,False)]
local procedure OnBeforeTerminationProcessesErr(var IsHandled: Boolean; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; xProdOrderRoutingLine: Record "Prod. Order Routing Line")
Parameters
OnCalcStartingEndingDatesOnBeforeCalculateRouting
[IntegrationEvent(False,False)]
local procedure OnCalcStartingEndingDatesOnBeforeCalculateRouting(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
Parameters
OnCheckPreviousAndNextOnAfterProdOrderRoutingPageRunModal
[IntegrationEvent(False,False)]
local procedure OnCheckPreviousAndNextOnAfterProdOrderRoutingPageRunModal(var TempRemainingProdOrderRoutingLine: Record "Prod. Order Routing Line" temporary)
Parameters
OnValidateRoutingStatusOnBeforeConfirm
[IntegrationEvent(False,False)]
local procedure OnValidateRoutingStatusOnBeforeConfirm(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
Parameters
OnValidateNoOnBeforeModifyCapNeedEntries
[IntegrationEvent(False,False)]
local procedure OnValidateNoOnBeforeModifyCapNeedEntries(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; xProdOrderRoutingLine: Record "Prod. Order Routing Line")
Parameters
OnAfterCopyFromPlanningRoutingLine
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromPlanningRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; PlanningRoutingLine: Record "Planning Routing Line")
Parameters
OnValidateStandardTaskCodeOnBeforeProdOrderRtngCommentLineInsert
[IntegrationEvent(False,False)]
local procedure OnValidateStandardTaskCodeOnBeforeProdOrderRtngCommentLineInsert(var ProdOrderRtngCommentLine: Record "Prod. Order Rtng Comment Line"; StdTaskComment: Record "Standard Task Description")
Parameters
OnAfterUpdateComponentsBin
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateComponentsBin(var TempProdOrderRoutingLine: Record "Prod. Order Routing Line"; FromTrigger: Option)
Parameters
OnAfterUpdateOfComponentsBinRequired
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateOfComponentsBinRequired(ProdOrderRoutingLine: Record "Prod. Order Routing Line"; FromTrigger: Option; var Result: Boolean)
Parameters
OnCalculateRoutingBackOnAfterCalculateProdOrderDates
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingBackOnAfterCalculateProdOrderDates(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line")
Parameters
OnCalculateRoutingBackOnBeforeCalculateProdOrderDates
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingBackOnBeforeCalculateProdOrderDates(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line")
Parameters
OnCalculateRoutingForwardOnAfterCalculateProdOrderDates
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingForwardOnAfterCalculateProdOrderDates(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line")
Parameters
OnCalculateRoutingForwardOnBeforeCalculateProdOrderDates
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingForwardOnBeforeCalculateProdOrderDates(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line")
Parameters
OnBeforeRunTimePer
[IntegrationEvent(False,False)]
local procedure OnBeforeRunTimePer(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean; var Result: Decimal)
Parameters
OnMachineCtrTransferFieldsOnAfterWorkCenterTransferFields
[IntegrationEvent(False,False)]
local procedure OnMachineCtrTransferFieldsOnAfterWorkCenterTransferFields(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; WorkCenter: Record "Work Center"; MachineCenter: Record "Machine Center"; var SkipUpdateDescription: Boolean; xProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
Parameters
OnBeforeWorkCenterTransferFields
[IntegrationEvent(False,False)]
local procedure OnBeforeWorkCenterTransferFields(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; WorkCenter: Record "Work Center"; var SkipUpdateDescription: Boolean; xProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
Parameters
OnBeforeShowMessage
[IntegrationEvent(False,False)]
local procedure OnBeforeShowMessage(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var MessageText: Text; var IsHandled: Boolean)
Parameters
OnBeforeNextOperationExist
[IntegrationEvent(False,False)]
local procedure OnBeforeNextOperationExist(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
Parameters
OnCheckPreviousAndNextOnBeforeInsertTempRemainingProdOrderRtngLine
[IntegrationEvent(False,False)]
local procedure OnCheckPreviousAndNextOnBeforeInsertTempRemainingProdOrderRtngLine(ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderRoutingLineFiltered: Record "Prod. Order Routing Line"; var TempDeletedProdOrderRoutingLine: Record "Prod. Order Routing Line" temporary; var ErrorOnNext: Boolean; var ErrorOnPrevious: Boolean)
Parameters
See also