InventBOMComparison_CN::validateBOMVersion Method [AX 2012]
Validates the content of a BOM version control.
Syntax
client server public static boolean validateBOMVersion(BOMId _bomId, ItemIdProduction _relatedProdId)
Run On
Called
Parameters
- _bomId
Type: BOMId Extended Data Type
The BOM version ID.
- _relatedProdId
Type: ItemIdProduction Extended Data Type
The related production ID.
Return Value
Type: boolean
true if the content is valid; otherwise, false.
Remarks
If a corresponding product is selected, this method checks whether it is a BOM ID that is related to the product. If a corresponding product is not selected, the method checks whether it is a valid BOM ID.