PCEnterprisePortalMain Class [AX 2012]
The PCEnterprisePortalMain class provides functionality for the Web configurator that is a product configuration for Enterprise Portal.
| Method | Description | |
|---|---|---|
| calculatePrice | Calculates the price for the current configuration. |
| calculateShipDate | Calculates the ship date for the current configuration. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| constructExecuteVariantConfiguration | Creates an instance of the PCExecuteVariantConfiguration class. |
| contradictionEventHandler | Handles contradiction events invoked by the configurator. |
| doFullSolve | Loads the class level variables, modelXml and userSelectedValues, into the solver and calculates the full model. If the configuration is finished, the class level variable boundValues will be updated with the solver bound values. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| fixValue | Fixes a user selected value for a given attribute by using the solver. Updates the XmlModel variable if no contradiction was detected. |
| fixValueExtended | Fixes a user selected value for a given attribute by using the solver. Updates the XmlModel variable if no contradiction was detected. |
| getComponentXml | Retrieves the XML for a component. |
| getInventDimIdAndItemIdFromLine | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasAnyTemplates | Determines whether the current product configuration model has any associated templates. |
| hasUserSelectedValues | Used to determine if the user has selected values. |
| initFromPCItemLine | Initializes the part of the configurator that depends on the value of the item line. |
| isMultiCompanyScenario | Indicates whether the configurator is running in a multi company scenario. |
| isQuotation | Determines whether the order line is a quotation. |
| loadModelXml | Loads an XML formatted string that represents the model for a given line item. |
| loadTemplateModelXml | Loads an XML formatted string representing the model for a template configuration. |
| navigateToComponent | Navigates to a component. |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| 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.) |
| parmCalculatedPrice | Gets or sets the CalculatedPrice parameter. |
| parmCalculatedShipDate | Gets or sets the CalculatedShipDate parameter. |
| parmModelTreeXml | Gets or sets the ModelTreeXml parameter. |
| parmModelXml | Gets or sets the ModelXml parameter. |
| parmPCItemLine | Gets or sets the PCItemLine parameter. |
| parmProductConfigurationModelRef | Gets or sets the ProductConfigurationModelRef parameter. |
| parmUserSelectedValues | Gets or sets the UserSelectedValues parameter. |
| saveConfiguration | Saves the current configuration, that includes the calculated price and delivery date. |
| 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.) |
| validateItemLine | Validates that the item line in the PCEnterprisePortalMain 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 PCEnterprisePortalMain class. |
| ::getRecordContextForTemporaryRecord | Gets the persisted record for a given table ID and inventory transaction ID. |
| ::hasActiveVersion | Checks whether the item associated with _itemId has an active version. |
| ::initConfigurator | Creates an instance of this class and initializes it with an item line that is associated with a configuration. |
| ::isConstraintBased | Determines whether the _itemId value is constraint based configurable. |
| ::isPCConfigKeyEnabled | Determines whether the configuration key for product configuration has been enabled. |
Community Additions
ADD
Show: