KVSFCYBOMBufferExtension
Extends #437dbf0e84ff417a965ded2bb9650972#BOM Buffer
Fields
| Name | Type | Note |
|---|---|---|
| KVSFCYConfigurationBaseItem | Boolean | |
| KVSFCYSourceTable | Option | OptionMembers: ,Item,Production BOM,Routing,Assembly BOM |
| KVSFCYSourceSubtype | Integer | |
| KVSFCYSourceNo | Code[20] | |
| KVSFCYSourceNo2 | Code[20] | |
| KVSFCYSourceLineNo | Integer | |
| KVSFCYSourceSublineNo | Integer | |
| KVSFCYSourceOperationNo | Code[10] | |
| KVSFCYEntryNoParentLine | Integer | |
| KVSFCYInsByBaseLineNoPos0 | Integer | |
| KVSFCYInsByBaseLineNo | Integer | |
| KVSFCYEntryNoProductionBOM | Integer | |
| KVSFCYOverheadRateConsumption | Decimal | |
| KVSFCYIndirectCost%Consumption | Decimal | |
| KVSFCYSingleLevelMatOvhdCost | Decimal | |
| KVSFCYSingleLevelSubcOvhdCost | Decimal | |
| KVSFCYRolledupMatOvhdCost | Decimal | |
| KVSFCYRolledupSubconOvhdCost | Decimal | |
| KVSFCYDifferItemNo/VariantCode | Boolean | |
| KVSFCYNewNo | Code[20] | |
| KVSFCYNewVariantCode | Code[10] | |
| KVSFCYNewItemVersionCode | Code[20] | |
| KVSFCYNewProdBOMNo | Code[20] | |
| KVSFCYNewProdBOMVersionCode | Code[10] | |
| KVSFCYNewRoutingNo | Code[20] | |
| KVSFCYNewRoutingVersionCode | Code[10] | |
| KVSFCYDifferInAssemblyBOMComp | Boolean | |
| KVSFCYStandardTaskCode | Code[10] | |
| KVSFCYSetupTimeUOMCode | Code[10] | |
| KVSFCYRunTimeUOMCode | Code[10] | |
| KVSFCYProdBOMQuantityPer | Decimal | |
| KVSFCYProdBOMLength | Decimal | |
| KVSFCYProdBOMWidth | Decimal | |
| KVSFCYProdBOMDepth | Decimal | |
| KVSFCYProdBOMWeight | Decimal | |
| KVSFCYProdBOMCalcFormula | Option | OptionMembers: ,Length,Length * Width,Length * Width * Depth,Weight |
| KVSFCYIndentationProductionBOM | Integer | |
| KVSFCYIndentationTotal | Integer | |
| KVSFCYItemCategoryCode | Code[20] | |
| KVSFCYItemVersionCode | Code[20] | |
| KVSFCYRoutingVersionCode | Code[10] | |
| KVSFCYProdBOMVersionCode | Code[10] |
Procedures
KVSFCYIsLineOk(Boolean, Record BOM Warning Log) : Boolean
Summary: Validates that a BOM buffer line meets all required criteria for proper BOM structure and configuration. This procedure performs comprehensive checks including low-level code validation, quantity per validation, production BOM certification status, routing certification status, and replenishment system consistency. Used during BOM explosion and validation processes to ensure BOM integrity and prevent calculation errors.
procedure KVSFCYIsLineOk(LogWarning: Boolean; var BOMWarningLog: Record "BOM Warning Log"): Boolean
Parameters:
LogWarning: Specifies whether validation errors should be logged to the BOM Warning Log for later review.BOMWarningLog: The BOM Warning Log record where validation errors will be recorded if LogWarning is true.
Returns: True if the BOM line passes all validation checks, false if any validation fails.
KVSFCYAreAllLinesOk(Record BOM Warning Log) : Boolean
Summary: Validates all BOM buffer lines in the current dataset to ensure the entire BOM structure is correct and complete. This procedure iterates through all BOM buffer entries and performs validation checks on each line, accumulating any warnings or errors in the BOM Warning Log. Used for comprehensive BOM validation before processing or calculation operations to identify and report all structural issues at once.
procedure KVSFCYAreAllLinesOk(var BOMWarningLog: Record "BOM Warning Log"): Boolean
Parameters:
BOMWarningLog: The BOM Warning Log record where all validation errors and warnings will be accumulated during the validation process.
Returns: True if all BOM lines pass validation checks, false if any line fails validation (warnings are still logged regardless).
Events
KVSFCYOnTransferFromProdCompCopyFields(Record BOM Buffer, Record Production BOM Line, Record Item, Decimal) :
Summary: Event for custom logic when copying fields from production BOM line to BOM buffer.
[IntegrationEvent(false, false)]
local procedure KVSFCYOnTransferFromProdCompCopyFields(var BOMBuffer: Record "BOM Buffer"; ProductionBOMLine: Record "Production BOM Line"; ParentItem: Record "Item"; ParentQtyPer: Decimal):
Parameters:
BOMBuffer: BOM buffer record.ProductionBOMLine: Production BOM line record.ParentItem: Parent item record.ParentQtyPer: Parent quantity per.
KVSFCYOnTransferFromProdRoutingCopyFields(Record BOM Buffer, Record Routing Line) :
Summary: Event for custom logic when copying fields from routing line to BOM buffer.
[IntegrationEvent(false, false)]
local procedure KVSFCYOnTransferFromProdRoutingCopyFields(var BOMBuffer: Record "BOM Buffer"; RoutingLine: Record "Routing Line"):
Parameters:
BOMBuffer: BOM buffer record.RoutingLine: Routing line record.
KVSFCYOnTransferFromBOMCompCopyFields(Record BOM Buffer, Record BOM Component) :
Summary: Event for custom logic when copying fields from BOM component to BOM buffer.
[IntegrationEvent(false, false)]
local procedure KVSFCYOnTransferFromBOMCompCopyFields(var BOMBuffer: Record "BOM Buffer"; BOMComponent: Record "BOM Component"):
Parameters:
BOMBuffer: BOM buffer record.BOMComponent: BOM component record.