Share via


BOMHierarchyCheck::checkBOM Method [AX 2012]

Checks that the BOM is valid.

Syntax

server public static boolean checkBOM(
    BOMId _bomId, 
   [boolean _checkCircularity, 
    boolean _checkInterval, 
    date _checkDate, 
    boolean _checkOnlyApproved])

Run On

Server

Parameters

  • _checkCircularity
    Type: boolean
    A Boolean value that indicates whether the BOM should be checked for circularity; optional.
  • _checkInterval
    Type: boolean
    A Boolean value that indicates a date interval should be used when the BOM is checked; optional.
  • _checkDate
    Type: date
    A Boolean value that indicates whether the date interval should also be given when the system checks in a specific date interval; optional.
  • _checkOnlyApproved
    Type: boolean
    true if a BOMs has been approved; otherwise, false; optional.

Return Value

Type: boolean
true if the BOM is valid; otherwise, false.

See Also

Reference

BOMHierarchyCheck Class