Table "BOM Component"
Properties
| Name | Value |
|---|---|
| Caption | BOM Component |
| DrillDownPageID | Page Microsoft.Inventory.BOM."Assembly BOM" |
| LookupPageID | Page Microsoft.Inventory.BOM."Assembly BOM" |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Parent Item No." | Code[20] | Specifies the number of the assembly item that the assembly BOM component belongs to. |
| "Line No." | Integer | |
| Type | Enum Microsoft.Inventory.BOM."BOM Component Type" | Specifies if the assembly BOM component is an item or a resource. |
| "No." | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. |
| "Assembly BOM" | Boolean | Specifies if the assembly BOM component is an assembly BOM. |
| Description | Text[100] | Specifies a description of the assembly BOM component. |
| "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 per" | Decimal | Specifies how many units of the component are required to assemble or produce the parent item. |
| Position | Code[10] | Specifies the position of the component on the bill of material. |
| "Position 2" | Code[10] | Specifies the component's position in the assembly BOM structure. |
| "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. |
| "Machine No." | Code[10] | Specifies a machine that should be used when processing the component on this line of the assembly BOM. |
| "Lead-Time Offset" | DateFormula | Specifies the total number of days required to assemble the item on the assembly BOM line. |
| "BOM Description" | Text[100] | Specifies a description of the assembly BOM if the item on the line is an assembly BOM. |
| "Resource Usage Type" | Option | Specifies how the cost of the resource on the assembly BOM is allocated during assembly. |
| "Variant Code" | Code[10] | Specifies the variant of the item on the line. |
| "Installed in Line No." | Integer | |
| "Installed in Item No." | Code[20] | Specifies which service item the component on the line is used in. |
| 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
ValidateAgainstRecursion
procedure ValidateAgainstRecursion(ItemNo: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| ItemNo | Code[20] |
Events
OnAfterCopyFromItem
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromItem(var BOMComponent: Record "BOM Component"; Item: Record Item)
Parameters
| Name | Type | Description |
|---|---|---|
| BOMComponent | Table Microsoft.Inventory.BOM."BOM Component" | |
| Item | Table Microsoft.Inventory.Item.Item |
OnAfterCopyFromResource
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromResource(var BOMComponent: Record "BOM Component"; Resource: Record Resource)
Parameters
| Name | Type | Description |
|---|---|---|
| BOMComponent | Table Microsoft.Inventory.BOM."BOM Component" | |
| Resource | Table Microsoft.Projects.Resources.Resource.Resource |
OnBeforeCopyFromItem
[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromItem(var BOMComponent: Record "BOM Component"; xBOMComponent: Record "BOM Component"; Item: Record Item; CallingFieldNo: Integer; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| BOMComponent | Table Microsoft.Inventory.BOM."BOM Component" | |
| xBOMComponent | Table Microsoft.Inventory.BOM."BOM Component" | |
| Item | Table Microsoft.Inventory.Item.Item | |
| CallingFieldNo | Integer | |
| IsHandled | Boolean |
OnBeforeValidateAgainstRecursion
[IntegrationEvent(True,False)]
local procedure OnBeforeValidateAgainstRecursion(ItemNo: Code[20]; var IsHandled: Boolean; var BOMComponent: Record "BOM Component")
Parameters
| Name | Type | Description |
|---|---|---|
| ItemNo | Code[20] | |
| IsHandled | Boolean | |
| BOMComponent | Table Microsoft.Inventory.BOM."BOM Component" |