BOMLevelAnalyzer Class [AX 2012]

The BOMLevelAnalyzer class computes BOM levels for items from a Directed Acyclic Graph (DAG) with is-produced-from dependencies between items.

Syntax

class BOMLevelAnalyzer

Run On

Called

Methods

  Method Description
Gg744884.pubmethod(en-us,AX.60).gif addDependency Adds an is-produced-from dependency between two items to the dependency graph.
Gg744884.pubmethod(en-us,AX.60).gif analyze Analyzes the dependency graph and determines the BOM level of each item.
Gg744884.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg744884.protmethod(en-us,AX.60).gif depthFirstSearch Performs the depth first search algorithm on the dependency graph
Gg744884.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif getLevel Returns the BOM level of the specified item.
Gg744884.pubmethod(en-us,AX.60).gif getLevels Returns a map that contains record IDs and their BOM level.
Gg744884.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg744884.protmethod(en-us,AX.60).gif new Initializes a new instance of the BOMLevelAnalyzer class.
Gg744884.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif pmfAddEndItemGroupMember Adds a map from a an item to the item that represents the group.
Gg744884.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg744884.pubmethod(en-us,AX.60).gif Gg744884.static(en-us,AX.60).gif ::construct Initializes a new instance of the BOMLevelAnalyzer class.

Top

Remarks

Items that are not used to produce anything else will have a BOM level of 0. Items that are used to produce other items will have a BOM level that is 1 plus the highest BOM level of the items produced from them.

Inheritance Hierarchy

Object Class
  BOMLevelAnalyzer Class