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 | |
---|---|---|
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. | |
calculateDerivedDependencyRelations | Calculates the next level derived dependency relations based on the elementary relations and the relations that are from the current level. | |
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. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
cleanup | Cleans up data that was created by this session from the BOMTmpUsedItem2ProducedItem table. | |
elements | Returns the number of elements in the output list of BOMs. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
fillWhereUsedList | Fills in the list of BOMs to recalculate. | |
fillWhereUsedListPurchased | Fills in the list of purchased items for recalculation. | |
getEnumerator | Returns an enumerator for the output list of BOMs that should be recalculated. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
init | Initializes member variables. | |
loadDependencies | Fills the BOMTmpUsedItem2ProducedItem table with elementary relations. | |
loadDependenciesWithItemDimsDisable | Fills the BOMTmpUsedItem2ProducedItem table with elementary relations if all item dimensions are disabled. | |
loadItem | Attempts to load dependencies for a produced item from its active BOM version. | |
new | Initializes a new instance of the BOMCalcWhereUsedList class. | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmCalcDate | Gets or sets the CalcDate parameter. | |
parmInventSiteId | Gets or sets the InventSiteId parameter. | |
parmVersionId | Gets or sets the VersionId parameter. | |
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. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::construct | Initializes a new instance of the BOMCalcWhereUsedList class. | |
::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