Table of Contents

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"

Specifies a value that is copied from the corresponding field on the production order header.

"Prod. Order No." Code[20]

Specifies the number of the related production order.

"Line No." Integer
"Item No." Code[20]

Specifies the number of the item that is to be produced.

"Variant Code" Code[10]

Specifies the variant of the item on the line.

Description Text[100]

Specifies the value of the Description field on the item card. If you enter a variant code, the variant description is copied to this field instead.

"Description 2" Text[50]

Specifies an additional description.

"Location Code" Code[10]

Specifies the location code, if the produced items should be stored in a specific location.

"Shortcut Dimension 1 Code" Code[20]

Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window.

"Shortcut Dimension 2 Code" Code[20]

Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window.

"Bin Code" Code[20]

Specifies the bin that the produced item is posted to as output, and from where it can be taken to storage or cross-docked.

"Standard Task Code" Code[10]

Specifies a standard task.

Quantity Decimal

Specifies the quantity to be produced if you manually fill in this line.

"Finished Quantity" Decimal

Specifies how much of the quantity on this line has been produced.

"Remaining Quantity" Decimal

Specifies the difference between the finished and planned quantities, or zero if the finished quantity is greater than the remaining quantity.

"Scrap %" Decimal

Specifies the percentage of the item that you expect to be scrapped in the production process.

"Due Date" Date

Specifies the date when the produced item must be available. The date is copied from the header of the production order.

"Starting Date" Date
"Starting Time" Time
"Ending Date" Date
"Ending Time" Time
"Planning Level Code" Integer
Priority Integer
"Production BOM No." Code[20]

Specifies the number of the production BOM that is the basis for creating the Prod. Order Component list for this line.

"Routing No." Code[20]

Specifies the number of the routing used as the basis for creating the production order routing for this line.

"Inventory Posting Group" Code[20]
"Routing Reference No." Integer
"Unit Cost" Decimal

Specifies the cost of one unit of the item or resource on the line.

"Cost Amount" Decimal

Specifies the total cost on the line by multiplying the unit cost by the quantity.

"Reserved Quantity" Decimal

Specifies how many units of this item have been reserved.

"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]

Specifies how each unit of the item is measured, such as in pieces or tons. By default, the value in the Base Unit of Measure field on the item card is inserted. It will be changed if you switch Product BOM or Production BOM Version.

"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

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".

"Dimension Set ID" Integer
"Cost Amount (ACY)" Decimal
"Unit Cost (ACY)" Decimal
"Qty. Put Away" Decimal

Specifies the quantity that is put away.

"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]

Specifies the version code of the production BOM.

"Routing Version Code" Code[20]

Specifies the version number of the routing.

"Routing Type" Option
"Qty. per Unit of Measure" Decimal
"MPS Order" Boolean
"Planning Flexibility" Enum Microsoft.Inventory.Tracking."Reservation Planning Flexibility"

Specifies whether the supply represented by this line is considered by the planning system when calculating action messages.

"Indirect Cost %" Decimal
"Overhead Rate" Decimal
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

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]]]; xProdOrderLine: Record "Prod. Order Line")

Parameters

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

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

OnCheckEndingDateOnBeforeProdOrderLineCheck

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

OnBeforeValidateProductionBOMVersionCode

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

Parameters

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

OnBeforeOnValidateUnitCost

[IntegrationEvent(False,False)]
local procedure OnBeforeOnValidateUnitCost(var ProdOrderLine: Record "Prod. Order Line"; var SkipInventoryValueZeroCheck: Boolean)

Parameters

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

See also