Share via


Table "Prod. Order Line"

ID 5406
Namespace: Microsoft.Manufacturing.Document

Properties

Name Value
Caption Prod. Order Line
DataCaptionFields 2
DrillDownPageID Page Microsoft.Manufacturing.Document."Prod. Order Line List"
LookupPageID Page Microsoft.Manufacturing.Document."Prod. Order Line List"
Permissions TableData "Prod. Order Line" = rimd
DataClassification CustomerContent

Fields

Name Type Description
Status Enum Microsoft.Manufacturing.Document."Production Order Status"
"Prod. Order No." Code[20]
"Line No." Integer
"Item No." Code[20]
"Variant Code" Code[10]
Description Text[100]
"Description 2" Text[50]
"Location Code" Code[10]
"Shortcut Dimension 1 Code" Code[20]
"Shortcut Dimension 2 Code" Code[20]
"Bin Code" Code[20]
"Standard Task Code" Code[10]
Quantity Decimal
"Finished Quantity" Decimal
"Remaining Quantity" Decimal
"Scrap %" Decimal
"Due Date" Date
"Starting Date" Date
"Starting Time" Time
"Ending Date" Date
"Ending Time" Time
"Planning Level Code" Integer
Priority Integer
"Production BOM No." Code[20]
"Routing No." Code[20]
"Inventory Posting Group" Code[20]
"Routing Reference No." Integer
"Unit Cost" Decimal
"Cost Amount" Decimal
"Reserved Quantity" Decimal
"Capacity Type Filter" Enum Microsoft.Manufacturing.Capacity."Capacity Type"
"Capacity No. Filter" Code[20]
"Date Filter" Date
"Qty. Rounding Precision" Decimal
"Qty. Rounding Precision (Base)" Decimal
"Manual Scheduling" Boolean

Specifies that the End/Due Dates on the production have been scheduled manually.

"Unit of Measure Code" Code[10]
"Quantity (Base)" Decimal
"Finished Qty. (Base)" Decimal
"Remaining Qty. (Base)" Decimal
"Reserved Qty. (Base)" Decimal
"Expected Operation Cost Amt." Decimal
"Total Exp. Oper. Output (Qty.)" Decimal
"Expected Component Cost Amt." Decimal
"Starting Date-Time" DateTime
"Ending Date-Time" DateTime
"Dimension Set ID" Integer
"Cost Amount (ACY)" Decimal
"Unit Cost (ACY)" Decimal
"Qty. Put Away" Decimal
"Qty. Put Away (Base)" Decimal
"Put-away Qty." Decimal
"Put-away Qty. (Base)" Decimal
"Put-away Status" Option
"Lot No. Filter" Code[50]
"Serial No. Filter" Code[50]
"Package No. Filter" Code[50]
"Production BOM Version Code" Code[20]
"Routing Version Code" Code[20]
"Routing Type" Option
"Qty. per Unit of Measure" Decimal
"MPS Order" Boolean
"Planning Flexibility" Enum Microsoft.Inventory.Tracking."Reservation Planning Flexibility"
"Indirect Cost %" Decimal
"Overhead Rate" Decimal
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

DeleteRelations

procedure DeleteRelations()

ShowOrderTracking

procedure ShowOrderTracking()

ShowReservation

procedure ShowReservation()

ShowReservationEntries

procedure ShowReservationEntries(Modal: Boolean)

Parameters

Name Type Description
Modal Boolean

CheckEndingDate

procedure CheckEndingDate(ShowWarning: Boolean)

Parameters

Name Type Description
ShowWarning Boolean

BlockDynamicTracking

procedure BlockDynamicTracking(SetBlock: Boolean)

Parameters

Name Type Description
SetBlock Boolean

IsDynamicTrackingBlocked

procedure IsDynamicTrackingBlocked(): Boolean

Returns

Type Description
Boolean

CreateDim

procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

IsInbound

procedure IsInbound(): Boolean

Returns

Type Description
Boolean

OpenItemTrackingLines

procedure OpenItemTrackingLines()

ValidateShortcutDimCode

procedure ValidateShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

LookupShortcutDimCode

procedure LookupShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

ShowShortcutDimCode

procedure ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])

Parameters

Name Type Description
ShortcutDimCode array[8] of Code[20]

GetLinePutAwayStatus

procedure GetLinePutAwayStatus(): Integer

Returns

Type Description
Integer

GetUpdateFromSKU

procedure GetUpdateFromSKU()

UpdateDatetime

procedure UpdateDatetime()

ShowDimensions

procedure ShowDimensions()

RowID1

procedure RowID1(): Text[250]

Returns

Type Description
Text[250]

GetRemainingQty

procedure GetRemainingQty(var RemainingQty: Decimal, var RemainingQtyBase: Decimal)

Parameters

Name Type Description
RemainingQty Decimal
RemainingQtyBase Decimal

GetReservationQty

procedure GetReservationQty(var QtyReserved: Decimal, var QtyReservedBase: Decimal, var QtyToReserve: Decimal, var QtyToReserveBase: Decimal): Decimal

Parameters

Name Type Description
QtyReserved Decimal
QtyReservedBase Decimal
QtyToReserve Decimal
QtyToReserveBase Decimal

Returns

Type Description
Decimal

GetSourceCaption

procedure GetSourceCaption(): Text

Returns

Type Description
Text

SetReservationEntry

procedure SetReservationEntry(var ReservEntry: Record "Reservation Entry")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

SetReservationFilters

procedure SetReservationFilters(var ReservEntry: Record "Reservation Entry")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

ReservEntryExist

procedure ReservEntryExist(): Boolean

Returns

Type Description
Boolean

FilterLinesWithItemToPlan

procedure FilterLinesWithItemToPlan(var Item: Record Item, IncludeFirmPlanned: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
IncludeFirmPlanned Boolean

FindLinesWithItemToPlan

procedure FindLinesWithItemToPlan(var Item: Record Item, IncludeFirmPlanned: Boolean): Boolean

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
IncludeFirmPlanned Boolean

Returns

Type Description
Boolean

LinesWithItemToPlanExist

procedure LinesWithItemToPlanExist(var Item: Record Item, IncludeFirmPlanned: Boolean): Boolean

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
IncludeFirmPlanned Boolean

Returns

Type Description
Boolean

FilterLinesForReservation

procedure FilterLinesForReservation(ReservationEntry: Record "Reservation Entry", NewStatus: Option, AvailabilityFilter: Text, Positive: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
NewStatus Option
AvailabilityFilter Text
Positive Boolean

SetIgnoreErrors

procedure SetIgnoreErrors()

SetCalledFromComponent

procedure SetCalledFromComponent(NewCalledFromComponent: Boolean)

Parameters

Name Type Description
NewCalledFromComponent Boolean

HasErrorOccured

procedure HasErrorOccured(): Boolean

Returns

Type Description
Boolean

UpdateProdOrderComp

procedure UpdateProdOrderComp(QtyPerUnitOfMeasure: Decimal)

Parameters

Name Type Description
QtyPerUnitOfMeasure Decimal

UpdateProdOrderCompDim

procedure UpdateProdOrderCompDim(NewDimSetID: Integer, OldDimSetID: Integer)

Parameters

Name Type Description
NewDimSetID Integer
OldDimSetID Integer

ShowRouting

procedure ShowRouting()

SetFilterByReleasedOrderNo

procedure SetFilterByReleasedOrderNo(OrderNo: Code[20])

Parameters

Name Type Description
OrderNo Code[20]

TestItemFields

procedure TestItemFields(ItemNo: Code[20], VariantCode: Code[10], LocationCode: Code[10])

Parameters

Name Type Description
ItemNo Code[20]
VariantCode Code[10]
LocationCode Code[10]

IsStatusLessThanReleased

procedure IsStatusLessThanReleased(): Boolean

Returns

Type Description
Boolean

CreateDimFromDefaultDim

procedure CreateDimFromDefaultDim()

SuspendDeletionCheck

procedure SuspendDeletionCheck(Suspend: Boolean)

Parameters

Name Type Description
Suspend Boolean

GetRemainingPutAwayQty

procedure GetRemainingPutAwayQty(): Decimal

Returns

Type Description
Decimal

ConfirmUpdateDueDateAndEndingDate

procedure ConfirmUpdateDueDateAndEndingDate(NewFieldCaption: Text, NewFieldValue: Date): Boolean

Parameters

Name Type Description
NewFieldCaption Text
NewFieldValue Date

Returns

Type Description
Boolean

Events

OnAfterInitDefaultDimensionSources

[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var ProdOrderLine: Record "Prod. Order Line", var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]], CallingFieldNo: Integer)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]
CallingFieldNo Integer

OnAfterCheckEndingDate

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

Parameters

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

OnAfterCalcBaseQty

[IntegrationEvent(False,False)]
local procedure OnAfterCalcBaseQty(var ProdOrderLine: Record "Prod. Order Line", var xProdOrderLine: Record "Prod. Order Line", var Result: Decimal, FromFieldName: Text, ToFieldName: Text)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
Result Decimal
FromFieldName Text
ToFieldName Text

OnAfterCopyFromItem

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromItem(var ProdOrderLine: Record "Prod. Order Line", Item: Record Item, var xProdOrderLine: Record "Prod. Order Line", CurrentFieldNo: Integer)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
Item Table Microsoft.Inventory.Item.Item
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CurrentFieldNo Integer

OnAfterCreateDim

[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var ProdOrderLine: Record "Prod. Order Line", DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

OnAfterGetItem

[IntegrationEvent(False,False)]
local procedure OnAfterGetItem(var Item: Record Item, var ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

OnAfterGetSKU

[IntegrationEvent(False,False)]
local procedure OnAfterGetSKU(ProdOrderLine: Record "Prod. Order Line", var Result: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
Result Boolean

OnAfterGetUpdateFromSKU

[IntegrationEvent(False,False)]
local procedure OnAfterGetUpdateFromSKU(var ProdOrderLine: Record "Prod. Order Line", var Item: Record Item, var StockkeepingUnit: Record "Stockkeeping Unit")

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
Item Table Microsoft.Inventory.Item.Item
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"

OnAfterDeleteProdOrderRtngLines

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

Parameters

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

OnAfterFilterLinesWithItemToPlan

[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesWithItemToPlan(var ProdOrderLine: Record "Prod. Order Line", var Item: Record Item, IncludeFirmPlanned: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
Item Table Microsoft.Inventory.Item.Item
IncludeFirmPlanned Boolean

OnAfterFilterLinesForReservation

[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesForReservation(var ProdOrderLine: Record "Prod. Order Line", ReservationEntry: Record "Reservation Entry", NewStatus: Option, AvailabilityFilter: Text, Positive: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
NewStatus Option
AvailabilityFilter Text
Positive Boolean

OnAfterOnDelete

[IntegrationEvent(False,False)]
local procedure OnAfterOnDelete(var ProdOrderLine: Record "Prod. Order Line", var RefreshRecord: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
RefreshRecord Boolean

OnAfterRecalculate

[IntegrationEvent(False,False)]
local procedure OnAfterRecalculate(var ProdOrderLine: Record "Prod. Order Line", Direction: Option, var CallingFieldNo: Integer)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
Direction Option
CallingFieldNo Integer

OnAfterSetReservationFilters

[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationFilters(var ReservEntry: Record "Reservation Entry", ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

OnAfterUpdateDateTime

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

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CallingFieldNo Integer

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var ProdOrderLine: Record "Prod. Order Line", var xProdOrderLine: Record "Prod. Order Line", FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeCheckEndingDate

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckEndingDate(var ProdOrderLine: Record "Prod. Order Line", var ShowWarning: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ShowWarning Boolean

OnBeforeGetUpdateFromSKU

[IntegrationEvent(False,False)]
local procedure OnBeforeGetUpdateFromSKU(var ProdOrderLine: Record "Prod. Order Line", var SKU: Record "Stockkeeping Unit", var Item: Record Item, var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
SKU Table Microsoft.Inventory.Location."Stockkeeping Unit"
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnBeforeDeleteRelations

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

Parameters

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

OnBeforeDeleteProdOrderRtngLines

[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteProdOrderRtngLines(var ProdOrderLine: Record "Prod. Order Line", var ModifyRecord: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ModifyRecord Boolean

OnBeforeShowReservation

[IntegrationEvent(False,False)]
local procedure OnBeforeShowReservation(var ProdOrderLine: Record "Prod. Order Line", var IsHandled: Boolean)

Parameters

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

OnBeforeValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var ProdOrderLine: Record "Prod. Order Line", var xProdOrderLine: Record "Prod. Order Line", FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeValidateRoutingNo

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateRoutingNo(var ProdOrderLine: Record "Prod. Order Line", var xProdOrderLine: Record "Prod. Order Line", FieldNumber: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
FieldNumber Integer
IsHandled Boolean

OnBeforeValidateUnitofMeasureCodeFromItem

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateUnitofMeasureCodeFromItem(var ProdOrderLine: Record "Prod. Order Line", xProdOrderLine: Record "Prod. Order Line", var Item: Record Item, var ProductionOrder: Record "Production Order", var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
Item Table Microsoft.Inventory.Item.Item
ProductionOrder Table Microsoft.Manufacturing.Document."Production Order"
IsHandled Boolean

OnDeleteRelationsNotCalledFromComponentFilter

[IntegrationEvent(False,False)]
local procedure OnDeleteRelationsNotCalledFromComponentFilter(var ProdOrderLine: Record "Prod. Order Line", var ProdOrderComponent: Record "Prod. Order Component")

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ProdOrderComponent Table Microsoft.Manufacturing.Document."Prod. Order Component"

OnDeleteRelationsNotCalledFromComponentInitFields

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

Parameters

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

OnUpdateProdOrderCompOnAfterFind

[IntegrationEvent(False,False)]
local procedure OnUpdateProdOrderCompOnAfterFind(var ProdOrderLine: Record "Prod. Order Line", var ModifyRecord: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ModifyRecord Boolean

OnUpdateProdOrderCompOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnUpdateProdOrderCompOnBeforeModify(var ProdOrderLine: Record "Prod. Order Line", var ProdOrderComponent: Record "Prod. Order Component")

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ProdOrderComponent Table Microsoft.Manufacturing.Document."Prod. Order Component"

OnBeforeValidateQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantity(var ProdOrderLine: Record "Prod. Order Line", xProdOrderLine: Record "Prod. Order Line", CurrFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CurrFieldNo Integer
IsHandled Boolean

OnBeforeValidateQuantityBase

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityBase(var ProdOrderLine: Record "Prod. Order Line", xProdOrderLine: Record "Prod. Order Line", CurrFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CurrFieldNo Integer
IsHandled Boolean

OnBeforeUpdateProdOrderComp

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateProdOrderComp(var ProdOrderLine: Record "Prod. Order Line", QtyPerUnitOfMeasure: Decimal, CurrFieldNo: Integer, var IsHandled: Boolean, var ProdOrderComp: Record "Prod. Order Component", Blocked: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
QtyPerUnitOfMeasure Decimal
CurrFieldNo Integer
IsHandled Boolean
ProdOrderComp Table Microsoft.Manufacturing.Document."Prod. Order Component"
Blocked Boolean

OnDeleteRelationsOnBeforeProdOrderCompDeleteAll

[IntegrationEvent(False,False)]
local procedure OnDeleteRelationsOnBeforeProdOrderCompDeleteAll(var ProdOrderComp: Record "Prod. Order Component", Blocked: Boolean, var IsHandled: Boolean)

Parameters

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

OnDeleteRelationsOnBeforeProdOrderRoutingLineDelete

[IntegrationEvent(False,False)]
local procedure OnDeleteRelationsOnBeforeProdOrderRoutingLineDelete(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

OnValidateItemNoOnAfterAssignItemValues

[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnAfterAssignItemValues(var ProdOrderLine: Record "Prod. Order Line", Item: Record Item, xProdOrderLine: Record "Prod. Order Line", var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
Item Table Microsoft.Inventory.Item.Item
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
IsHandled Boolean

OnValidateProductionBOMNoOnBeforeTestStatus

[IntegrationEvent(False,False)]
local procedure OnValidateProductionBOMNoOnBeforeTestStatus(var ProdOrderLine: Record "Prod. Order Line", var IsHandled: Boolean)

Parameters

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

OnValidateLocationCodeOnBeforeCreateDim

[IntegrationEvent(False,False)]
local procedure OnValidateLocationCodeOnBeforeCreateDim(var Rec: Record "Prod. Order Line")

Parameters

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

OnValidateUnitOfMeasureCodeOnAfterWhseValidateSourceLine

[IntegrationEvent(False,False)]
local procedure OnValidateUnitOfMeasureCodeOnAfterWhseValidateSourceLine(var ProdOrderLine: Record "Prod. Order Line", xProdOrderLine: Record "Prod. Order Line", CurrentFieldNo: Integer)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CurrentFieldNo Integer

OnBeforeShowRouting

[IntegrationEvent(False,False)]
local procedure OnBeforeShowRouting(var ProdOrderLine: Record "Prod. Order Line", var IsHandled: Boolean)

Parameters

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

OnValidateQuantityOnAfterCalcBaseQty

[IntegrationEvent(False,False)]
local procedure OnValidateQuantityOnAfterCalcBaseQty(var ProdOrderLine: Record "Prod. Order Line", xProdOrderLine: Record "Prod. Order Line")

Parameters

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

OnValidateEndingTimeOnBeforeRecalculate

[IntegrationEvent(False,False)]
local procedure OnValidateEndingTimeOnBeforeRecalculate(var ProdOrderLine: Record "Prod. Order Line", CallingFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CallingFieldNo Integer
IsHandled Boolean

OnValidateItemNoOnBeforeCheckReservations

[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnBeforeCheckReservations(var ProdOrderLine: Record "Prod. Order Line", xProdOrderLine: Record "Prod. Order Line", CurrentFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CurrentFieldNo Integer
IsHandled Boolean

OnShowDimensionsOnAfterEditDimensionSet

[IntegrationEvent(False,False)]
local procedure OnShowDimensionsOnAfterEditDimensionSet(var ProdOrderLine: Record "Prod. Order Line", OldDimSetID: Integer)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
OldDimSetID Integer

OnValidateVariantCodeOnAfterVerifyChange

[IntegrationEvent(False,False)]
local procedure OnValidateVariantCodeOnAfterVerifyChange(var ProdOrderLine: Record "Prod. Order Line", xProdOrderLine: Record "Prod. Order Line", CurrFieldNo: Integer)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
xProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CurrFieldNo Integer

OnAfterDeleteRelations

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

Parameters

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

OnShowRoutingOnBeforeFindAndSetProdOrderLineBinCodeFromProdRoutingLines

[IntegrationEvent(False,False)]
local procedure OnShowRoutingOnBeforeFindAndSetProdOrderLineBinCodeFromProdRoutingLines(var ProdOrderLine: Record "Prod. Order Line", var IsHandled: Boolean)

Parameters

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

See also