Share via


Table "Prod. Order Routing Line"

ID 5409
Namespace: Microsoft.Manufacturing.Document

Properties

Name Value
Caption Prod. Order Routing Line
DrillDownPageID Page Microsoft.Manufacturing.Document."Prod. Order Routing"
LookupPageID Page Microsoft.Manufacturing.Document."Prod. Order Routing"
Permissions TableData "Prod. Order Capacity Need" = rimd
DataClassification CustomerContent

Fields

Name Type Description
"Routing No." Code[20]
"Routing Reference No." Integer
"Operation No." Code[10]
"Next Operation No." Code[30]
"Previous Operation No." Code[30]
Type Enum Microsoft.Manufacturing.Capacity."Capacity Type"
"No." Code[20]
"Work Center No." Code[20]
"Work Center Group Code" Code[10]
Description Text[100]
"Setup Time" Decimal
"Run Time" Decimal
"Wait Time" Decimal
"Move Time" Decimal
"Fixed Scrap Quantity" Decimal
"Lot Size" Decimal
"Scrap Factor %" Decimal
"Setup Time Unit of Meas. Code" Code[10]
"Run Time Unit of Meas. Code" Code[10]
"Wait Time Unit of Meas. Code" Code[10]
"Move Time Unit of Meas. Code" Code[10]
"Minimum Process Time" Decimal
"Maximum Process Time" Decimal
"Concurrent Capacities" Decimal
"Send-Ahead Quantity" Decimal
"Routing Link Code" Code[10]
"Standard Task Code" Code[10]
"Unit Cost per" Decimal
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
"Starting Date" Date
"Ending Time" Time
"Ending Date" Date
Status Enum Microsoft.Manufacturing.Document."Production Order Status"
"Prod. Order No." Code[20]
"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"
"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
"Expected Capacity Need" Decimal
"Expected Capacity Ovhd. Cost" Decimal
"Starting Date-Time" DateTime
"Ending Date-Time" DateTime
"Schedule Manually" Boolean
"Location Code" Code[10]
"Open Shop Floor Bin Code" Code[20]
"To-Production Bin Code" Code[20]
"From-Production Bin Code" Code[20]
"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
SystemRowVersion BigInteger

Methods

Caption

procedure Caption(): Text

Returns

Type Description
Text

CopyFromPlanningRoutingLine

procedure CopyFromPlanningRoutingLine(PlanningRoutingLine: Record "Planning Routing Line")

Parameters

Name Type Description
PlanningRoutingLine Table Microsoft.Manufacturing.Routing."Planning Routing Line"

CopyFromRoutingLine

procedure CopyFromRoutingLine(RoutingLine: Record "Routing Line")

Parameters

Name Type Description
RoutingLine Table Microsoft.Manufacturing.Routing."Routing Line"

FillDefaultLocationAndBins

procedure FillDefaultLocationAndBins()

CalcStartingEndingDates

procedure CalcStartingEndingDates(PlanningDirection: Option)

Parameters

Name Type Description
PlanningDirection Option

SetRecalcStatus

procedure SetRecalcStatus()

RunTimePer

procedure RunTimePer(): Decimal

Returns

Type Description
Decimal

UpdateDatetime

procedure UpdateDatetime()

CheckPreviousAndNext

procedure CheckPreviousAndNext()

SetNextOperations

procedure SetNextOperations(var RtngLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
RtngLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

SubcontractingPurchOrderExist

procedure SubcontractingPurchOrderExist(): Boolean

Returns

Type Description
Boolean

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

Type Description
Boolean

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

Type Description
Boolean

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

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
xProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CallingFieldNo Integer

OnAfterCopyFromRoutingLine

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", RoutingLine: Record "Routing Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
RoutingLine Table Microsoft.Manufacturing.Routing."Routing Line"

OnAfterDeleteRelations

[IntegrationEvent(False,False)]
local procedure OnAfterDeleteRelations(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", SkipUpdateOfCompBinCodes: Boolean)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
SkipUpdateOfCompBinCodes Boolean

OnAfterFillDefaultLocationAndBins

[IntegrationEvent(False,False)]
local procedure OnAfterFillDefaultLocationAndBins(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

OnAfterWorkCenterTransferFields

[IntegrationEvent(False,False)]
local procedure OnAfterWorkCenterTransferFields(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", WorkCenter: Record "Work Center")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"

OnAfterMachineCtrTransferFields

[IntegrationEvent(False,False)]
local procedure OnAfterMachineCtrTransferFields(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", WorkCenter: Record "Work Center", MachineCenter: Record "Machine Center")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
MachineCenter Table Microsoft.Manufacturing.MachineCenter."Machine Center"

OnAfterSetRecalcStatus

[IntegrationEvent(False,False)]
local procedure OnAfterSetRecalcStatus(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

OnAfterTransferFromStdTaskTool

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromStdTaskTool(var ProdOrderRoutingTool: Record "Prod. Order Routing Tool", StandardTaskTool: Record "Standard Task Tool")

Parameters

Name Type Description
ProdOrderRoutingTool Table Microsoft.Manufacturing.Document."Prod. Order Routing Tool"
StandardTaskTool Table Microsoft.Manufacturing.Routing."Standard Task Tool"

OnAfterTransferFromStdTaskPersonnel

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromStdTaskPersonnel(var ProdOrderRoutingPersonnel: Record "Prod. Order Routing Personnel", StandardTaskPersonnel: Record "Standard Task Personnel")

Parameters

Name Type Description
ProdOrderRoutingPersonnel Table Microsoft.Manufacturing.Document."Prod. Order Routing Personnel"
StandardTaskPersonnel Table Microsoft.Manufacturing.Routing."Standard Task Personnel"

OnAfterTransferFromStdTaskQltyMeasure

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromStdTaskQltyMeasure(var ProdOrderRtngQltyMeas: Record "Prod. Order Rtng Qlty Meas.", StandardTaskQualityMeasure: Record "Standard Task Quality Measure")

Parameters

Name Type Description
ProdOrderRtngQltyMeas Table Microsoft.Manufacturing.Document."Prod. Order Rtng Qlty Meas."
StandardTaskQualityMeasure Table Microsoft.Manufacturing.Routing."Standard Task Quality Measure"

OnAfterTransferFromStdTaskComment

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromStdTaskComment(var ProdOrderRtngCommentLine: Record "Prod. Order Rtng Comment Line", StandardTaskDescription: Record "Standard Task Description")

Parameters

Name Type Description
ProdOrderRtngCommentLine Table Microsoft.Manufacturing.Document."Prod. Order Rtng Comment Line"
StandardTaskDescription Table Microsoft.Manufacturing.Routing."Standard Task Description"

OnAfterUpdateDateTime

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDateTime(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var xProdOrderRoutingLine: Record "Prod. Order Routing Line", CallingFieldNo: Integer)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
xProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
CallingFieldNo Integer

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

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
xProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

OnBeforeAdjustComponents

[IntegrationEvent(False,False)]
local procedure OnBeforeAdjustComponents(var ProdOrderComp: Record "Prod. Order Component")

Parameters

Name Type Description
ProdOrderComp Table Microsoft.Manufacturing.Document."Prod. Order Component"

OnBeforeCalcStartingEndingDates

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcStartingEndingDates(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var Direction: Option, var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
Direction Option
IsHandled Boolean

OnBeforeCheckRoutingNoNotBlank

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckRoutingNoNotBlank(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
IsHandled Boolean

OnBeforeCheckIfSubcontractingPurchOrderExist

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIfSubcontractingPurchOrderExist(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", xProdOrderRoutingLine: Record "Prod. Order Routing Line", var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
xProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
IsHandled Boolean

OnBeforeDeleteRelations

[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteRelations(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

OnBeforeFillDefaultLocationAndBins

[IntegrationEvent(False,False)]
local procedure OnBeforeFillDefaultLocationAndBins(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

OnBeforeSetNextOperations

[IntegrationEvent(False,False)]
local procedure OnBeforeSetNextOperations(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
IsHandled Boolean

OnBeforeTerminationProcessesErr

[IntegrationEvent(False,False)]
local procedure OnBeforeTerminationProcessesErr(var IsHandled: Boolean, var ProdOrderRoutingLine: Record "Prod. Order Routing Line", xProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
IsHandled Boolean
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
xProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

OnCalcStartingEndingDatesOnBeforeCalculateRouting

[IntegrationEvent(False,False)]
local procedure OnCalcStartingEndingDatesOnBeforeCalculateRouting(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
IsHandled Boolean

OnCheckPreviousAndNextOnAfterProdOrderRoutingPageRunModal

[IntegrationEvent(False,False)]
local procedure OnCheckPreviousAndNextOnAfterProdOrderRoutingPageRunModal(var TempRemainingProdOrderRoutingLine: Record "Prod. Order Routing Line" temporary)

Parameters

Name Type Description
TempRemainingProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

OnValidateRoutingStatusOnBeforeConfirm

[IntegrationEvent(False,False)]
local procedure OnValidateRoutingStatusOnBeforeConfirm(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
IsHandled Boolean

OnAfterCopyFromPlanningRoutingLine

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromPlanningRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", PlanningRoutingLine: Record "Planning Routing Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
PlanningRoutingLine Table Microsoft.Manufacturing.Routing."Planning Routing Line"

OnValidateStandardTaskCodeOnBeforeProdOrderRtngCommentLineInsert

[IntegrationEvent(False,False)]
local procedure OnValidateStandardTaskCodeOnBeforeProdOrderRtngCommentLineInsert(var ProdOrderRtngCommentLine: Record "Prod. Order Rtng Comment Line", StdTaskComment: Record "Standard Task Description")

Parameters

Name Type Description
ProdOrderRtngCommentLine Table Microsoft.Manufacturing.Document."Prod. Order Rtng Comment Line"
StdTaskComment Table Microsoft.Manufacturing.Routing."Standard Task Description"

OnAfterUpdateComponentsBin

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateComponentsBin(var TempProdOrderRoutingLine: Record "Prod. Order Routing Line", FromTrigger: Option)

Parameters

Name Type Description
TempProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
FromTrigger Option

OnAfterUpdateOfComponentsBinRequired

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateOfComponentsBinRequired(ProdOrderRoutingLine: Record "Prod. Order Routing Line", FromTrigger: Option, var Result: Boolean)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
FromTrigger Option
Result Boolean

OnCalculateRoutingBackOnAfterCalculateProdOrderDates

[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingBackOnAfterCalculateProdOrderDates(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

OnCalculateRoutingForwardOnAfterCalculateProdOrderDates

[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingForwardOnAfterCalculateProdOrderDates(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

OnBeforeRunTimePer

[IntegrationEvent(False,False)]
local procedure OnBeforeRunTimePer(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var IsHandled: Boolean, var Result: Decimal)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
IsHandled Boolean
Result Decimal

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

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
MachineCenter Table Microsoft.Manufacturing.MachineCenter."Machine Center"
SkipUpdateDescription Boolean
xProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
IsHandled Boolean

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

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
SkipUpdateDescription Boolean
xProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
IsHandled Boolean

OnBeforeShowMessage

[IntegrationEvent(False,False)]
local procedure OnBeforeShowMessage(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var MessageText: Text, var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
MessageText Text
IsHandled Boolean

OnBeforeNextOperationExist

[IntegrationEvent(False,False)]
local procedure OnBeforeNextOperationExist(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

See also