BOMRoutePhantomData Class [AX 2012]
The BOMRoutePhantomData class holds the route and BOM information.
Syntax
class BOMRoutePhantomData
Run On
Called
Methods
Method | Description | |
---|---|---|
addBOM | Adds a BOM record to the map. | |
addRoute | Adds a route and its parent BOM to the storage structures. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
findPhantomRoute | Finds the given operation number in a temporary table and returns the route belonging to this operation number. | |
getRouteParentBOM | Returns the parent BOM record belonging to an artificial route counter. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
new | Instantiates a new instance of the BOMRoutePhantomData 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.) | |
parmBOMMap | Gets the BOMMap parameter. | |
parmOprNumFirst | Gets or sets the OprNumFirst parameter. | |
parmOprNumOffset | Gets or sets the OprNumOffset parameter. | |
parmPhantomExpanded | Gets or sets the PhantomExpanded parameter. | |
parmPriceCalcId | Gets or sets the PriceCalcId parameter. | |
parmRouteMap | Gets the RouteMap parameter. | |
selectTmpRoutePhantom | Selects a temporary route record for a given operation number. | |
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 BOMRoutePhantomData class. | |
::newFromBOMCalc | Initializes a new instance of the BOMRoutePhantomData class for a given BOMCalcItem instance. |
Top
Remarks
Route and BOM information is stored in a map by using an artificial number as a unique key to make sure that BOM and routes can be handled if a multiple occurrence within the same tree exists. In addition to the route and BOM information, information for the operation number shift is stored and passed from one call to the other. The temporary route table is filled when new route records are added to make sure the renumbering algorithm is applied properly.
The renumbering algorithm is based on the algorithm used by the production calculation for the prodRoute records.
Inheritance Hierarchy
Object Class
BOMRoutePhantomData Class