BOMRoutePhantomData Class [AX 2012]

The BOMRoutePhantomData class holds the route and BOM information.

Syntax

class BOMRoutePhantomData

Run On

Called

Methods

  Method Description
Gg761357.pubmethod(en-us,AX.60).gif addBOM Adds a BOM record to the map.
Gg761357.pubmethod(en-us,AX.60).gif addRoute Adds a route and its parent BOM to the storage structures.
Gg761357.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg761357.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg761357.pubmethod(en-us,AX.60).gif findPhantomRoute Finds the given operation number in a temporary table and returns the route belonging to this operation number.
Gg761357.pubmethod(en-us,AX.60).gif getRouteParentBOM Returns the parent BOM record belonging to an artificial route counter.
Gg761357.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg761357.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg761357.protmethod(en-us,AX.60).gif new Instantiates a new instance of the BOMRoutePhantomData class.
Gg761357.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.)
Gg761357.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.)
Gg761357.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg761357.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg761357.pubmethod(en-us,AX.60).gif parmBOMMap Gets the BOMMap parameter.
Gg761357.pubmethod(en-us,AX.60).gif parmOprNumFirst Gets or sets the OprNumFirst parameter.
Gg761357.pubmethod(en-us,AX.60).gif parmOprNumOffset Gets or sets the OprNumOffset parameter.
Gg761357.pubmethod(en-us,AX.60).gif parmPhantomExpanded Gets or sets the PhantomExpanded parameter.
Gg761357.pubmethod(en-us,AX.60).gif parmPriceCalcId Gets or sets the PriceCalcId parameter.
Gg761357.pubmethod(en-us,AX.60).gif parmRouteMap Gets the RouteMap parameter.
Gg761357.protmethod(en-us,AX.60).gif selectTmpRoutePhantom Selects a temporary route record for a given operation number.
Gg761357.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg761357.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg761357.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.)
Gg761357.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg761357.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg761357.pubmethod(en-us,AX.60).gif Gg761357.static(en-us,AX.60).gif ::construct Initializes a new instance of the BOMRoutePhantomData class.
Gg761357.pubmethod(en-us,AX.60).gif Gg761357.static(en-us,AX.60).gif ::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