PBAItemLineType Class [AX 2012]

The PBAItemLineType class is a super class for classes that handle the various types of item lines that are configured during the product model execution.

class PBAItemLineType

Run On

Called

  MethodDescription
Gg788378.pubmethod(en-us,AX.60).gif allowDeleteConfig
Gg788378.pubmethod(en-us,AX.60).gif allowEditConfig Determines whether the configuration, the configured BOM and Route, of the line should be editable.
Gg788378.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif configId Retrieves the configuration ID and the first item dimension of the line that is currently being configured.
Gg788378.pubmethod(en-us,AX.60).gif doCreateLine This method has no functionality in the PBAItemLineType class, but is overridden in some subclasses to create and insert a new item line.
Gg788378.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif findInventTransId Returns the current record. In subclasses the method also selects a line for update.
Gg788378.protmethod(en-us,AX.60).gif findOrCreateNewDistinctProductVariant Finds or creates a new distinct product variant.
Gg788378.pubmethod(en-us,AX.60).gif findRecId
Gg788378.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif initSalesPrice
Gg788378.pubmethod(en-us,AX.60).gif inventDimId
Gg788378.pubmethod(en-us,AX.60).gif inventTable
Gg788378.pubmethod(en-us,AX.60).gif languageId Returns the language ID that will be used when generating configuration detail notes.
Gg788378.protmethod(en-us,AX.60).gif maintainProductDimensions Maintains product dimensions associated with the configured product.
Gg788378.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg788378.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.)
Gg788378.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.)
Gg788378.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif parmLine
Gg788378.pubmethod(en-us,AX.60).gif qty
Gg788378.pubmethod(en-us,AX.60).gif setPriceDate Sets the price and delivery date on an item line.
Gg788378.protmethod(en-us,AX.60).gif setPriceDateHelper Sets the price and the date of the current ItemLine.
Gg788378.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif updateConfigId Updates the three item dimensions on an item line.
Gg788378.pubmethod(en-us,AX.60).gif updateItemId Updates the item number on an item line.
Gg788378.pubmethod(en-us,AX.60).gif updateLine Updates the item line.
Gg788378.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.)
Gg788378.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg788378.pubmethod(en-us,AX.60).gif Gg788378.static(en-us,AX.60).gif ::construct Initializes a new instance of the PBAItemLineType class.
Gg788378.pubmethod(en-us,AX.60).gif Gg788378.static(en-us,AX.60).gif ::newItemLine
Top

During the product model execution, the subclasses of this class are invoked to handle the item line that is being configured. Subclasses exist for each type of item line that can be handled.

The class is used by the PBAItemLine map.

The following example returns the language code that will be used when generating notes about configuration details. The parameter itemLine could be a record from any of the tables mapped in the PBAItemLine map.

LanguageId languageId(PBAItemLine itemLine) 
{ 
    PBAItemLineType pBAItemLineType; 
 
    pBAItemLineType = PBAItemLineType::construct(); 
    return pBAItemLineType.languageId(); 
}

Community Additions

ADD
Show: