PBAEnterprisePortalMain Class [AX 2012]
The PBAEnterprisePortalMain class implements the entry point to the Product Builder from the Enterprise Portal.
Syntax
class PBAEnterprisePortalMain
Run On
Server
Methods
Method | Description | |
---|---|---|
appendXMLGroupsToModel | Writes the XML for variable groups that belong to a product model. | |
appendXMLVarDomainToVariable | Writes domain values for a variable. | |
appendXMLVariablesToGroup | Builds an XML string with information about the modeling variables. | |
approve | Performs the operations that are required to approve a configuration. | |
assignValueToVariable | Assigns a value to a specified variable. | |
calculateDeliveryDate | Calculates the delivery date for the current configuration. | |
calculatePrice | Calculates the price for the current configuration. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
checkCalcDeliveryDate | Checks whether the delivery date calculation is enabled for the current line. | |
checkCalcDeliveryDateAutomatic | Checks whether the automatic delivery date calculation is enabled for the current line. | |
checkCalcPrice | Checks whether the price calculation is enabled for the Product Builder module. | |
checkCalcPriceAutomatic | Checks whether automatic price calculation is enabled for the current line. | |
checkControlState | Specifies the state of the configuration control. | |
deleteGeneratedBOMAndRoute | Deletes generated BOMs and Routes. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getFieldProperty | Retrieves the field property associated with a variable. | |
getFullModelAsXML | Generates an XML formatted string that contains all information that is required to build the configuration UI on the Enterprise Portal. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
getTmpData | Retrieves the BOM ID and Route IDs of any generated BOMs and Routes. | |
getVariablesAndDomainsAsXML | This is a light version of the getFullModelAsXml, this method only Retrieves the variables and their domains | |
getVarMapKey | Creates a map key by concatenating the varId value and the arrayIndex value to uniquely define a variable in a pre-configuration session. | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
init | Initializes the Enterprise Portal version of the Product Builder configurator. | |
initConsEval | Initializes the rule evaluation engine of the Product Builder. | |
initExecuteLine | Initializes an instance of the executeLine class, and checks whether an X++ class exists for the current product model. | |
initFieldProperties | Initializes the field properties of the variables. | |
initFromPBAItemLine | ||
initGroupAndVariableMap | Builds a list that contains the modeling variable that will be visible to the user during configuration. | |
new | Initializes a new instance of the PBAEnterprisePortalMain 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.) | |
parmLanguageId | Gets or sets the LanguageId parameter. | |
parmPBAId | Gets or sets the PBAId parameter. | |
parmPBAItemLine | Gets or sets the PBAItemLine parameter. | |
pbaValue2str | Converts the value of a variable into a string. | |
setCalcPrice | Sets the calculated price | |
setDeliveryDate | Sets the delivery date of the configured product. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
setTmpData | Interprets an XML formatted string and inserts temporary BOM IDs and route IDs. | |
str2PBAValue | Converts a string assignment value to a specified type. | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
transitionToApproveState | Transitions the configurator to the approve state, from which the price and delivery date can be calculated. | |
transitionToConfiguationState | Transitions the configurator to the configuration state, from which the user can assign values to variables | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validateItemLine | Validates that the item line in the PBAEnterprisePortalMain class is from a supported table. | |
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 PBAEnterprisePortalMain class. | |
::initConfigurator | ||
::pbaFieldProperty2str | Converts a PBAFieldProperties enumeration value to an English string value independent of the local regions of AX. | |
::pbaNoYes2str | Converts a NoYes enumeration value to an English string independent of the current selected language. | |
::pbaTypes2str | Converts the Types enumeration value to an English string independent of the current selected language. |
Top
Remarks
A list of the methods of this class that are available from the Enterprise Portal can be found in the Proxies file. This file is located in AOT > Web > Web Files > Static Files.
Inheritance Hierarchy
Object Class
PBAEnterprisePortalMain Class