Table "Prod. Order Component"
ID 5407
Namespace: Microsoft.Manufacturing.Document
Properties
Fields
| Name |
Type |
Description |
| Status |
Enum Microsoft.Manufacturing.Document."Production Order Status"
|
Specifies the status of the production order to which the component list belongs.
|
| "Prod. Order No." |
Code[20]
|
Specifies the number of the related production order.
|
| "Prod. Order Line No." |
Integer
|
Specifies the number of the production order line to which the component list belongs.
|
| "Line No." |
Integer
|
|
| "Item No." |
Code[20]
|
Specifies the number of the item that is a component in the production order component list.
|
| Description |
Text[100]
|
Specifies a description of the item on the line.
|
| "Unit of Measure Code" |
Code[10]
|
Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted.
|
| Quantity |
Decimal
|
|
| Position |
Code[10]
|
Specifies the position of the component on the bill of material.
|
| "Position 2" |
Code[10]
|
Specifies the components position in the BOM. It is copied from the production BOM when you calculate the production order.
|
| "Position 3" |
Code[10]
|
Specifies the third reference number for the component position on a bill of material, such as the alternate position number of a component on a print card.
|
| "Lead-Time Offset" |
DateFormula
|
Specifies the lead-time offset for the component line. It is copied from the corresponding field in the production BOM when you calculate the production order.
|
| "Routing Link Code" |
Code[10]
|
Specifies the routing link code when you calculate the production order.
|
| "Scrap %" |
Decimal
|
Specifies the percentage of the item that you expect to be scrapped in the production process.
|
| "Variant Code" |
Code[10]
|
Specifies the variant of the item on the line.
|
| "Qty. Rounding Precision" |
Decimal
|
|
| "Qty. Rounding Precision (Base)" |
Decimal
|
|
| "Expected Quantity" |
Decimal
|
Specifies the quantity of the component expected to be consumed during the production of the quantity on this line.
|
| "Remaining Quantity" |
Decimal
|
Specifies the difference between the finished and planned quantities, or zero if the finished quantity is greater than the remaining quantity.
|
| "Act. Consumption (Qty)" |
Decimal
|
Specifies the quantity of the component that has been posted as consumed by the production order.
|
| "Flushing Method" |
Enum Microsoft.Manufacturing.Setup."Flushing Method"
|
Specifies how consumption of the item (component) is calculated and handled in production processes. Manual: Enter and post consumption in the consumption journal manually. Forward: Automatically posts consumption according to the production order component lines when the first operation starts. Backward: Automatically calculates and posts consumption according to the production order component lines when the production order is finished. Pick + Forward / Pick + Backward: Variations with warehousing.
|
| "Description 2" |
Text[50]
|
Specifies additional description text.
|
| "Location Code" |
Code[10]
|
Specifies the location where the component is stored. Copies the location code from the corresponding field on the production order line.
|
| "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 in which the component is to be placed before it is consumed.
|
| "Supplied-by Line No." |
Integer
|
|
| "Planning Level Code" |
Integer
|
|
| "Item Low-Level Code" |
Integer
|
|
| Length |
Decimal
|
Specifies the length of one item unit when measured in the specified unit of measure.
|
| Width |
Decimal
|
Specifies the width of one item unit when measured in the specified unit of measure.
|
| Weight |
Decimal
|
Specifies the weight of one item unit when measured in the specified unit of measure.
|
| Depth |
Decimal
|
Specifies the depth of one item unit when measured in the specified unit of measure.
|
| "Calculation Formula" |
Enum Microsoft.Foundation.Enums."Quantity Calculation Formula"
|
Specifies how to calculate the Quantity field.
|
| "Quantity per" |
Decimal
|
Specifies how many units of the component are required to produce the parent item.
|
| "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.
|
| "Due Date" |
Date
|
Specifies the date when the produced item must be available. The date is copied from the header of the production order.
|
| "Due Time" |
Time
|
|
| "Qty. per Unit of Measure" |
Decimal
|
|
| "Remaining Qty. (Base)" |
Decimal
|
|
| "Quantity (Base)" |
Decimal
|
|
| "Reserved Qty. (Base)" |
Decimal
|
|
| "Reserved Quantity" |
Decimal
|
Specifies how many units of this item have been reserved.
|
| "Expected Qty. (Base)" |
Decimal
|
|
| "Due Date-Time" |
DateTime
|
Specifies the due date and the due time, which are combined in a format called "due date-time".
|
| "Dimension Set ID" |
Integer
|
|
| "Substitution Available" |
Boolean
|
Specifies if an item substitute is available for the production order component.
|
| "Original Item No." |
Code[20]
|
|
| "Original Variant Code" |
Code[10]
|
|
| "Pick Qty." |
Decimal
|
|
| "Qty. Picked" |
Decimal
|
Specifies the quantity of the item you have picked for the component line.
|
| "Qty. Picked (Base)" |
Decimal
|
|
| "Completely Picked" |
Boolean
|
|
| "Pick Qty. (Base)" |
Decimal
|
|
| "Direct Unit Cost" |
Decimal
|
|
| "Indirect Cost %" |
Decimal
|
|
| "Overhead Rate" |
Decimal
|
|
| "Direct Cost Amount" |
Decimal
|
|
| "Overhead Amount" |
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
Caption
procedure Caption(): Text
Returns
ProdOrderNeeds
procedure ProdOrderNeeds(): Decimal
Returns
GetNeededQty
procedure GetNeededQty(CalcBasedOn: Option; IncludePreviousPosting: Boolean): Decimal
Parameters
| Name |
Type |
Description |
|
CalcBasedOn
|
Option |
|
|
IncludePreviousPosting
|
Boolean |
|
Returns
ShowOrderTracking
procedure ShowOrderTracking()
ShowReservation
procedure ShowReservation()
ShowReservationEntries
procedure ShowReservationEntries(Modal: Boolean)
Parameters
| Name |
Type |
Description |
|
Modal
|
Boolean |
|
CopyFromPlanningComp
procedure CopyFromPlanningComp(PlanningComponent: Record "Planning Component")
Parameters
AdjustQtyToQtyPicked
procedure AdjustQtyToQtyPicked(var QtyToPost: Decimal)
Parameters
| Name |
Type |
Description |
|
QtyToPost
|
Decimal |
|
AdjustQtyToReservedFromInventory
procedure AdjustQtyToReservedFromInventory(var QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock")
Parameters
BlockDynamicTracking
procedure BlockDynamicTracking(SetBlock: Boolean)
Parameters
| Name |
Type |
Description |
|
SetBlock
|
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
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] |
|
SelectMultipleItems
Opens a page for selecting multiple items to add to the document.
Selected items are added to the document.
procedure SelectMultipleItems()
AddItems
Adds items to the document based on the provided selection filter.
procedure AddItems(SelectionFilter: Text)
Parameters
| Name |
Type |
Description |
|
SelectionFilter
|
Text |
The filter to use for selecting items.
|
AddItem
Adds an item to the document.
procedure AddItem(var ProdOrderComponent: Record "Prod. Order Component"; ItemNo: Code[20])
Parameters
Remarks
After the line is added, assembly order is automatically created if required.
If the item has extended text, the text is added as a line.
InitNewLine
Initializes a new Prod. Order Component based on the current Prod. Order Component.
procedure InitNewLine(var NewProdOrderComponent: Record "Prod. Order Component")
Parameters
UpdateDatetime
procedure UpdateDatetime()
RowID1
procedure RowID1(): Text[250]
Returns
| Type |
Description |
|
Text[250] |
|
GetDefaultBin
procedure GetDefaultBin()
GetDefaultConsumptionBin
procedure GetDefaultConsumptionBin(var ProdOrderRtngLine: Record "Prod. Order Routing Line"): Code[20]
Parameters
Returns
| Type |
Description |
|
Code[20] |
|
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
GetSourceCaption
procedure GetSourceCaption(): Text
Returns
SetReservationEntry
procedure SetReservationEntry(var ReservEntry: Record "Reservation Entry")
Parameters
SetReservationFilters
procedure SetReservationFilters(var ReservEntry: Record "Reservation Entry")
Parameters
ReservEntryExist
procedure ReservEntryExist(): Boolean
Returns
CheckBin
AutoReserve
ShowItemSub
FilterLinesWithItemToPlan
procedure FilterLinesWithItemToPlan(var Item: Record Item; IncludeFirmPlanned: Boolean)
Parameters
FindLinesWithItemToPlan
procedure FindLinesWithItemToPlan(var Item: Record Item; IncludeFirmPlanned: Boolean): Boolean
Parameters
Returns
LinesWithItemToPlanExist
procedure LinesWithItemToPlanExist(var Item: Record Item; IncludeFirmPlanned: Boolean): Boolean
Parameters
Returns
FilterLinesForReservation
procedure FilterLinesForReservation(ReservationEntry: Record "Reservation Entry"; NewStatus: Option; AvailabilityFilter: Text; Positive: Boolean)
Parameters
ShowDimensions
procedure ShowDimensions()
SetIgnoreErrors
procedure SetIgnoreErrors()
HasErrorOccured
procedure HasErrorOccured(): Boolean
Returns
SetFilterByReleasedOrderNo
procedure SetFilterByReleasedOrderNo(OrderNo: Code[20])
Parameters
| Name |
Type |
Description |
|
OrderNo
|
Code[20] |
|
SetFilterFromProdBOMLine
procedure SetFilterFromProdBOMLine(ProdBOMLine: Record "Production BOM Line")
Parameters
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] |
|
CalcBaseQty
procedure CalcBaseQty(Qty: Decimal; FromFieldName: Text; ToFieldName: Text): Decimal
Parameters
| Name |
Type |
Description |
|
Qty
|
Decimal |
|
|
FromFieldName
|
Text |
|
|
ToFieldName
|
Text |
|
Returns
CreateDimFromDefaultDim
procedure CreateDimFromDefaultDim()
CheckIfProdOrderCompMeetsReservedFromStockSetting
procedure CheckIfProdOrderCompMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"): Boolean
Parameters
Returns
IsInventoriableItem
procedure IsInventoriableItem(): Boolean
Returns
ReserveFromInventory
procedure ReserveFromInventory(var ProdOrderComponent: Record "Prod. Order Component")
Parameters
SuspendDeletionCheck
procedure SuspendDeletionCheck(Suspend: Boolean)
Parameters
| Name |
Type |
Description |
|
Suspend
|
Boolean |
|
Events
OnAfterInitDefaultDimensionSources
[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var ProdOrderComponent: Record "Prod. Order Component"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
OnAfterAutoReserve
[IntegrationEvent(False,False)]
local procedure OnAfterAutoReserve(var Item: Record Item; var ProdOrderComp: Record "Prod. Order Component")
Parameters
OnAfterAssignDecsriptionFromItemOrVariant
[IntegrationEvent(False,False)]
local procedure OnAfterAssignDecsriptionFromItemOrVariant(var ProdOrderComponent: Record "Prod. Order Component"; xProdOrderComponent: Record "Prod. Order Component"; Item: Record Item; ItemVariant: Record "Item Variant")
Parameters
OnAfterCreateDim
[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var ProdOrderComponent: Record "Prod. Order Component"; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; xProdOrderComponent: Record "Prod. Order Component")
Parameters
OnAfterCopyFromPlanningComp
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromPlanningComp(var ProdOrderComponent: Record "Prod. Order Component"; PlanningComponent: Record "Planning Component")
Parameters
OnAfterFilterLinesWithItemToPlan
[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesWithItemToPlan(var ProdOrderComponent: Record "Prod. Order Component"; var Item: Record Item; IncludeFirmPlanned: Boolean)
Parameters
OnAfterFilterLinesForReservation
[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesForReservation(var ProdOrderComponent: Record "Prod. Order Component"; ReservationEntry: Record "Reservation Entry"; NewStatus: Option; AvailabilityFilter: Text; Positive: Boolean)
Parameters
OnAfterGetBinCodeFromLocation
[IntegrationEvent(False,False)]
local procedure OnAfterGetBinCodeFromLocation(var ProdOrderComponent: Record "Prod. Order Component"; Location: Record Location; var BinCode: Code[20])
Parameters
OnAfterGetSKU
[IntegrationEvent(False,False)]
local procedure OnAfterGetSKU(ProdOrderComponent: Record "Prod. Order Component"; var Result: Boolean)
Parameters
OnAfterSetFilterFromProdBOMLine
[IntegrationEvent(False,False)]
local procedure OnAfterSetFilterFromProdBOMLine(var ProdOrderComponent: Record "Prod. Order Component"; ProdBOMLine: Record "Production BOM Line")
Parameters
OnAfterUpdateUnitCost
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateUnitCost(var ProdOrderComp: Record "Prod. Order Component"; GeneralLedgerSetup: Record "General Ledger Setup")
Parameters
OnAfterProdOrderNeeds
[IntegrationEvent(False,False)]
local procedure OnAfterProdOrderNeeds(ProdOrderComponent: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var NeededQty: Decimal)
Parameters
OnAfterRoundExpectedQuantity
[IntegrationEvent(False,False)]
local procedure OnAfterRoundExpectedQuantity(var ProdOrderComponent: Record "Prod. Order Component")
Parameters
OnAfterSetReservationFilters
[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationFilters(var ReservEntry: Record "Reservation Entry"; ProdOrderComponent: Record "Prod. Order Component")
Parameters
OnAfterUpdateDateTime
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDateTime(var ProdOrderComponent: Record "Prod. Order Component")
Parameters
OnAfterValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var ProdOrderComponent: Record "Prod. Order Component"; var xProdOrderComponent: Record "Prod. Order Component"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
OnBeforeAdjustQtyToQtyPicked
[IntegrationEvent(False,False)]
local procedure OnBeforeAdjustQtyToQtyPicked(var ProdOrderComponent: Record "Prod. Order Component"; var QtyToPost: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeAutoReserve
[IntegrationEvent(False,False)]
local procedure OnBeforeAutoReserve(var Item: Record Item; var ProdOrderComp: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeBinCodeOnLookup
[IntegrationEvent(False,False)]
local procedure OnBeforeBinCodeOnLookup(var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeCalcBaseQty
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcBaseQty(var ProdOrderComponent: Record "Prod. Order Component"; CurrentFieldNo: Integer; Qty: Decimal; FromFieldName: Text; ToFieldName: Text; var Result: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeUpdateExpectedQuantity
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateExpectedQuantity(var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeValidateCalculationFormula
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateCalculationFormula(var ProdOrderComponent: Record "Prod. Order Component"; xProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var ProdOrderComponent: Record "Prod. Order Component"; var xProdOrderComponent: Record "Prod. Order Component"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
OnBeforeValidateQuantityper
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityper(var ProdOrderComponent: Record "Prod. Order Component"; xProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeGetDefaultConsumptionBin
[IntegrationEvent(False,False)]
local procedure OnBeforeGetDefaultConsumptionBin(var ProdOrderComponent: Record "Prod. Order Component"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var BinCode: Code[20])
Parameters
OnBeforeGetUpdateFromSKU
[IntegrationEvent(False,False)]
local procedure OnBeforeGetUpdateFromSKU(var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeUpdateUnitCost
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitCost(var ProdOrderComponent: Record "Prod. Order Component"; GLSetup: Record "General Ledger Setup"; var IsHandled: Boolean)
Parameters
OnBeforeUpdateUOMFromItem
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUOMFromItem(var ProdOrderComponent: Record "Prod. Order Component"; Item: Record Item; var IsHandled: Boolean)
Parameters
OnDeleteOnBeforeGetProdOrderLine
[IntegrationEvent(False,False)]
local procedure OnDeleteOnBeforeGetProdOrderLine(var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnGetDefaultConsumptionBinOnAfterGetBinCodeFromRtngLine
[IntegrationEvent(False,False)]
local procedure OnGetDefaultConsumptionBinOnAfterGetBinCodeFromRtngLine(var ProdOrderComponent: Record "Prod. Order Component"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var BinCode: Code[20])
Parameters
OnGetNeededQtyAfterCalcCompQtyBase
[IntegrationEvent(False,False)]
local procedure OnGetNeededQtyAfterCalcCompQtyBase(var ProdOrderComp: Record "Prod. Order Component"; var CompQtyBase: Decimal; OutputQtyBase: Decimal)
Parameters
OnGetNeededQtyAfterCalcActConsumptionQty
[IntegrationEvent(False,False)]
local procedure OnGetNeededQtyAfterCalcActConsumptionQty(var ProdOrderComp: Record "Prod. Order Component")
Parameters
OnGetNeededQtyOnBeforeCalcActNeededQtyBase
[IntegrationEvent(False,False)]
local procedure OnGetNeededQtyOnBeforeCalcActNeededQtyBase(var ProdOrderComponent: Record "Prod. Order Component"; var OutputQtyBase: Decimal; var Result: Decimal; var IsHandled: Boolean)
Parameters
OnGetNeededQtyOnBeforeExitWithPreviousPosting
[IntegrationEvent(False,False)]
local procedure OnGetNeededQtyOnBeforeExitWithPreviousPosting(var ProdOrderComponent: Record "Prod. Order Component"; var CompQtyBase: Decimal; var Result: Decimal; var IsHandled: Boolean)
Parameters
OnGetNeededQtyOnAfterCalcBasedOn
[IntegrationEvent(False,False)]
local procedure OnGetNeededQtyOnAfterCalcBasedOn(var ProdOrderComponent: Record "Prod. Order Component")
Parameters
OnGetNeededQtyOnAfterLastOperationFound
[IntegrationEvent(False,False)]
local procedure OnGetNeededQtyOnAfterLastOperationFound(var ProdOrderComponent: Record "Prod. Order Component"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
Parameters
OnGetNeededQtyOnBeforeAddOutputQtyBase
[IntegrationEvent(False,False)]
local procedure OnGetNeededQtyOnBeforeAddOutputQtyBase(var CapacityLedgerEntry: Record "Capacity Ledger Entry"; var OutputQtyBase: Decimal; var IsHandled: Boolean; var ProdOrderComponent: Record "Prod. Order Component")
Parameters
OnGetNeededQtyOnBeforeCalcBasedOn
[IntegrationEvent(False,False)]
local procedure OnGetNeededQtyOnBeforeCalcBasedOn(var ProdOrderComponent: Record "Prod. Order Component"; var RoundingPrecision: Decimal)
Parameters
OnValidateCalculationFormulaEnumExtension
[IntegrationEvent(False,False)]
local procedure OnValidateCalculationFormulaEnumExtension(var ProdOrderComponent: Record "Prod. Order Component")
Parameters
OnValidateCalculationFormulaOnAfterSetQuantity
[IntegrationEvent(False,False)]
local procedure OnValidateCalculationFormulaOnAfterSetQuantity(var ProdOrderComponent: Record "Prod. Order Component")
Parameters
OnValidateExpectedQuantityOnAfterCalcActConsumptionQty
[IntegrationEvent(False,False)]
local procedure OnValidateExpectedQuantityOnAfterCalcActConsumptionQty(var ProdOrderComp: Record "Prod. Order Component"; xProdOrderComp: Record "Prod. Order Component")
Parameters
OnValidateExpectedQtyBaseOnAfterCalcActConsumptionQty
[IntegrationEvent(False,False)]
local procedure OnValidateExpectedQtyBaseOnAfterCalcActConsumptionQty(var ProdOrderComp: Record "Prod. Order Component"; xProdOrderComp: Record "Prod. Order Component")
Parameters
OnValidateItemNoOnBeforeGetDefaultBin
[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnBeforeGetDefaultBin(var ProdOrderComponent: Record "Prod. Order Component"; var Item: Record Item)
Parameters
OnValidateRoutingLinkCodeBeforeValidateDueDate
[IntegrationEvent(False,False)]
local procedure OnValidateRoutingLinkCodeBeforeValidateDueDate(var ProdOrderComponent: Record "Prod. Order Component"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
Parameters
OnBeforeShowItemSub
[IntegrationEvent(False,False)]
local procedure OnBeforeShowItemSub(var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeValidateBinCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateBinCode(var Rec: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeValidateExpectedQuantity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateExpectedQuantity(var ProdOrderComponent: Record "Prod. Order Component"; xProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeValidateExpectedQtyBase
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateExpectedQtyBase(var ProdOrderComponent: Record "Prod. Order Component"; xProdOrderComponent: Record "Prod. Order Component"; FieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeGetDefaultBin
[IntegrationEvent(False,False)]
local procedure OnBeforeGetDefaultBin(var ProdOrderComponent: Record "Prod. Order Component"; var xProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeRoundExpectedQuantity
[IntegrationEvent(False,False)]
local procedure OnBeforeRoundExpectedQuantity(var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeShowReservation
[IntegrationEvent(False,False)]
local procedure OnBeforeShowReservation(var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnValidateExpectedQtyBaseOnAfterCalcRemainingQuantity
[IntegrationEvent(False,False)]
local procedure OnValidateExpectedQtyBaseOnAfterCalcRemainingQuantity(var ProdOrderComponent: Record "Prod. Order Component"; xProdOrderComponent: Record "Prod. Order Component")
Parameters
OnValidateItemNoOnAfterUpdateUOMFromItem
[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnAfterUpdateUOMFromItem(var ProdOrderComponent: Record "Prod. Order Component"; xProdOrderComponent: Record "Prod. Order Component"; Item: Record Item)
Parameters
OnBeforeUpdateBin
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateBin(var ProdOrderComponent: Record "Prod. Order Component"; FieldNo: Integer; FieldCaption: Text[30]; var IsHandled: Boolean)
Parameters
OnAdjustQtyToReservedFromInventory
[IntegrationEvent(False,False)]
local procedure OnAdjustQtyToReservedFromInventory(var QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock")
Parameters
OnCheckIfProdOrderCompMeetsReservedFromStockSetting
[IntegrationEvent(False,False)]
local procedure OnCheckIfProdOrderCompMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"; var Result: Boolean)
Parameters
OnAfterShowDimensions
[IntegrationEvent(False,False)]
local procedure OnAfterShowDimensions(var ProdOrderComponent: Record "Prod. Order Component"; xProdOrderComponent: Record "Prod. Order Component")
Parameters
OnValidateRoutingLinkCodeOnBeforeUpdateDueDateAndTime
[IntegrationEvent(False,False)]
local procedure OnValidateRoutingLinkCodeOnBeforeUpdateDueDateAndTime(var ProdOrderComponent: Record "Prod. Order Component"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
Parameters
OnValidateUnitCostOnBeforeCheckCostingMethod
[IntegrationEvent(False,False)]
local procedure OnValidateUnitCostOnBeforeCheckCostingMethod(var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)
Parameters
OnBeforeCreateDim
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateDim(var ProdOrderComponent: Record "Prod. Order Component"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
See also