BOMCalcWhereUsedList Class [AX 2012]

The BOMCalcWhereUsedList class investigates relations between BOMs and their subcomponents and creates a list of items that should be recalculated.

Syntax

class BOMCalcWhereUsedList implements Enumerable

Run On

Called

Methods

  Method Description
Gg758678.protmethod(en-us,AX.60).gif addItems Registers the items that have pending prices in a specified version ID as the input of the calculation of the list of items that should be recalculated.
Gg758678.protmethod(en-us,AX.60).gif calculateDerivedDependencyRelations Calculates the next level derived dependency relations based on the elementary relations and the relations that are from the current level.
Gg758678.protmethod(en-us,AX.60).gif calculateTentativeDependencyRelations Finds produced items that may have to be recalculated based on the relations that are registered on the specified level; This method ignores dimensions.
Gg758678.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg758678.protmethod(en-us,AX.60).gif cleanup Cleans up data that was created by this session from the BOMTmpUsedItem2ProducedItem table.
Gg758678.pubmethod(en-us,AX.60).gif elements Returns the number of elements in the output list of BOMs.
Gg758678.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg758678.protmethod(en-us,AX.60).gif fillWhereUsedList Fills in the list of BOMs to recalculate.
Gg758678.protmethod(en-us,AX.60).gif fillWhereUsedListPurchased Fills in the list of purchased items for recalculation.
Gg758678.pubmethod(en-us,AX.60).gif getEnumerator Returns an enumerator for the output list of BOMs that should be recalculated.
Gg758678.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg758678.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg758678.protmethod(en-us,AX.60).gif init Initializes member variables.
Gg758678.protmethod(en-us,AX.60).gif loadDependencies Fills the BOMTmpUsedItem2ProducedItem table with elementary relations.
Gg758678.protmethod(en-us,AX.60).gif loadDependenciesWithItemDimsDisable Fills the BOMTmpUsedItem2ProducedItem table with elementary relations if all item dimensions are disabled.
Gg758678.protmethod(en-us,AX.60).gif loadItem Attempts to load dependencies for a produced item from its active BOM version.
Gg758678.protmethod(en-us,AX.60).gif new Initializes a new instance of the BOMCalcWhereUsedList class.
Gg758678.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.)
Gg758678.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.)
Gg758678.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg758678.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg758678.pubmethod(en-us,AX.60).gif parmCalcDate Gets or sets the CalcDate parameter.
Gg758678.pubmethod(en-us,AX.60).gif parmInventSiteId Gets or sets the InventSiteId parameter.
Gg758678.pubmethod(en-us,AX.60).gif parmVersionId Gets or sets the VersionId parameter.
Gg758678.pubmethod(en-us,AX.60).gif run Runs through a list of items that will be used as a basis for dependency investigations and generates a list of BOMs that will have to be recalculated so that cost and price changes will be propagated up the dependency tree.
Gg758678.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg758678.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg758678.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.)
Gg758678.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg758678.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg758678.pubmethod(en-us,AX.60).gif Gg758678.static(en-us,AX.60).gif ::construct Initializes a new instance of the BOMCalcWhereUsedList class.
Gg758678.pubmethod(en-us,AX.60).gif Gg758678.static(en-us,AX.60).gif ::newParameters Initializes an instance of the BOMCalcWhereUsedList class from the specified date, site, and list of pending prices from the specified costing version.

Top

Remarks

The items in the output list are sorted according to BOM levels.

Inheritance Hierarchy

Object Class
  BOMCalcWhereUsedList Class