PCEnterprisePortalMain Class [AX 2012]

The PCEnterprisePortalMain class provides functionality for the Web configurator that is a product configuration for Enterprise Portal.

class PCEnterprisePortalMain

Run On

Server

  MethodDescription
Gg764190.pubmethod(en-us,AX.60).gif calculatePrice Calculates the price for the current configuration.
Gg764190.pubmethod(en-us,AX.60).gif calculateShipDate Calculates the ship date for the current configuration.
Gg764190.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg764190.protmethod(en-us,AX.60).gif constructExecuteVariantConfiguration Creates an instance of the PCExecuteVariantConfiguration class.
Gg764190.pubmethod(en-us,AX.60).gif contradictionEventHandler Handles contradiction events invoked by the configurator.
Gg764190.privmethod(en-us,AX.60).gif 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.
Gg764190.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg764190.pubmethod(en-us,AX.60).gif fixValue Fixes a user selected value for a given attribute by using the solver. Updates the XmlModel variable if no contradiction was detected.
Gg764190.pubmethod(en-us,AX.60).gif fixValueExtended Fixes a user selected value for a given attribute by using the solver. Updates the XmlModel variable if no contradiction was detected.
Gg764190.pubmethod(en-us,AX.60).gif getComponentXml Retrieves the XML for a component.
Gg764190.privmethod(en-us,AX.60).gif getInventDimIdAndItemIdFromLine
Gg764190.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg764190.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg764190.pubmethod(en-us,AX.60).gif hasAnyTemplates Determines whether the current product configuration model has any associated templates.
Gg764190.protmethod(en-us,AX.60).gif hasUserSelectedValues Used to determine if the user has selected values.
Gg764190.protmethod(en-us,AX.60).gif initFromPCItemLine Initializes the part of the configurator that depends on the value of the item line.
Gg764190.pubmethod(en-us,AX.60).gif isMultiCompanyScenario Indicates whether the configurator is running in a multi company scenario.
Gg764190.pubmethod(en-us,AX.60).gif isQuotation Determines whether the order line is a quotation.
Gg764190.pubmethod(en-us,AX.60).gif loadModelXml Loads an XML formatted string that represents the model for a given line item.
Gg764190.pubmethod(en-us,AX.60).gif loadTemplateModelXml Loads an XML formatted string representing the model for a template configuration.
Gg764190.pubmethod(en-us,AX.60).gif navigateToComponent Navigates to a component.
Gg764190.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg764190.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.)
Gg764190.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.)
Gg764190.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg764190.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg764190.pubmethod(en-us,AX.60).gif parmCalculatedPrice Gets or sets the CalculatedPrice parameter.
Gg764190.pubmethod(en-us,AX.60).gif parmCalculatedShipDate Gets or sets the CalculatedShipDate parameter.
Gg764190.pubmethod(en-us,AX.60).gif parmModelTreeXml Gets or sets the ModelTreeXml parameter.
Gg764190.pubmethod(en-us,AX.60).gif parmModelXml Gets or sets the ModelXml parameter.
Gg764190.protmethod(en-us,AX.60).gif parmPCItemLine Gets or sets the PCItemLine parameter.
Gg764190.pubmethod(en-us,AX.60).gif parmProductConfigurationModelRef Gets or sets the ProductConfigurationModelRef parameter.
Gg764190.pubmethod(en-us,AX.60).gif parmUserSelectedValues Gets or sets the UserSelectedValues parameter.
Gg764190.pubmethod(en-us,AX.60).gif saveConfiguration Saves the current configuration, that includes the calculated price and delivery date.
Gg764190.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg764190.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg764190.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.)
Gg764190.protmethod(en-us,AX.60).gif validateItemLine Validates that the item line in the PCEnterprisePortalMain class is from a supported table.
Gg764190.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg764190.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg764190.pubmethod(en-us,AX.60).gif Gg764190.static(en-us,AX.60).gif ::construct Initializes a new instance of the PCEnterprisePortalMain class.
Gg764190.pubmethod(en-us,AX.60).gif Gg764190.static(en-us,AX.60).gif ::getRecordContextForTemporaryRecord Gets the persisted record for a given table ID and inventory transaction ID.
Gg764190.pubmethod(en-us,AX.60).gif Gg764190.static(en-us,AX.60).gif ::hasActiveVersion Checks whether the item associated with _itemId has an active version.
Gg764190.pubmethod(en-us,AX.60).gif Gg764190.static(en-us,AX.60).gif ::initConfigurator Creates an instance of this class and initializes it with an item line that is associated with a configuration.
Gg764190.pubmethod(en-us,AX.60).gif Gg764190.static(en-us,AX.60).gif ::isConstraintBased Determines whether the _itemId value is constraint based configurable.
Gg764190.pubmethod(en-us,AX.60).gif Gg764190.static(en-us,AX.60).gif ::isPCConfigKeyEnabled Determines whether the configuration key for product configuration has been enabled.
Top

Object Class
  PCEnterprisePortalMain Class

Community Additions

ADD
Show: