PBAConsEval Class [AX 2012]
The PBAConsEval class governs the rule evaluation process during product model execution.
| Method | Description | |
|---|---|---|
| buildShowVars | |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| checkConfigLenght | |
| checkItemIdLenght | |
| constraintMapToQuery | Traverses the constraint map and computes the values that trigger constraints. |
| debugConstraintAdvCode | |
| delOutcome | |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getChangeValues | |
| getEnabledVars | |
| getOutcomeList | Computes the values that are not considered inconsistent by the rule evaluation engine for a PBADataType enumeration value of Enum or Table. |
| getRuleDebugger | |
| getShowVars | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getValue | |
| graphicDefault | |
| graphicFileName | |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initForm | |
| initFromValueContainer | Initializes the values for variables in the product model from a container. |
| initPBAConfigId | Assigns a unique configuration ID to the constraint evaluator. |
| initPBAConsClause | |
| initPBAId | Searches and packs the rules that apply to the current product model and initiates PBAConsEval value. |
| initSalesPrice | |
| initValue | |
| insertChangeValues | |
| insertChangeValuesList | |
| insertVariable2ConstraintMap | |
| new | Initializes a new instance of the PBAConsEval 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.) |
| pack | Serializes the current instance of the PBAConsEval class. |
| parmActualCalcValue | Gets or sets the ActualCalcValue parameter. |
| parmActualClauseId | Gets or sets the ActualClauseId parameter. |
| parmDirPersonUser | Gets or sets the DirPersonUser parameter. |
| parmGraphicFile | Gets or sets the GraphicFile parameter. |
| parmPBAConfigId | Gets or sets the PBAConfigId parameter. |
| pbaId | |
| priceAdd | |
| propagateValueToConstraintStatus | Propagates the variable assignment to all constraints that use this variable. |
| restoreStatus | |
| ruleDebuggerInit | |
| ruleDebuggerRun | |
| ruleDebuggerUse | |
| ruleMethodCall | |
| ruleMethodCallAction | |
| ruleMethodExists | |
| runIndependentFormulas | Executes the independent formulas that involve the specified variable on the left-hand side. |
| runRuleList | Executes the rules from the specified map that depends on the specified variable. |
| salesPrice | |
| saveStatus | |
| saveValues | |
| setEnableVar | |
| setSalesPrice | |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setValue | |
| setVisibleVar | |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| unpack | Deserializes the packedClass parameter value to an instance of the PBAConsEval class. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| userProfile | Gets the user profile associated with the current user. |
| validateEnumValue | |
| validatePBA | |
| validateTableValue | |
| validateValue | |
| variableTxt | |
| visibleVars | |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Constructs an instance of the constraint evaluation engine. A unique configuration identifier is assigned to this instance. |
| ::convPBADataType | |
| ::convType | |
| ::convValue | |
| ::varString | |
| ::varStringSplit |
This is the top-level class in the runtime Rule evaluation system. During product model execution, the Rule evaluation process is governed by an instance of this class.
When the whole Rule setup for a Product model must be validated (for example, when the user finishes a configuration and expects to move on to the approval window), the PBAFrontEndControl Class makes multiple calls to PBAConsEval. See the PBAFrontEndControl.validatePBA Method for an example.
Community Additions
ADD
Show: