DimensionRuleStorage Class [AX 2012]
The DimensionRuleStorage class manages the storage of dimension rules.
| Method | Description | |
|---|---|---|
| activateDraft | |
| addCriteria | Adds criteria for the specified dimension. |
| addGreaterThan | Adds a greater than criteria for the specified dimension. |
| addHierarchy | Adds an account rule hierarchy to the list of hierarchies for the rule. |
| addLessThan | Adds a less than criteria for the specified dimension. |
| addRange | Adds a range criteria for the specified dimension. |
| addWildcard | Adds a wildcard criteria for the specified dimension. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| clearAllCriteria | Removes all criteria items. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| find | Initializes the class for the specified rule. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| init | Initializes an instance of the class for the specified values. |
| isDimensionRestricted | Specifies whether the rule has a criteria for the specified dimension attribute. |
| isHierarchyApplied | Specifies whether the rule hierarchy is already part of the rule. |
| new | Initializes a new instance of the DimensionRuleStorage 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.) |
| parmDescription | Gets or sets the Description parameter. |
| removeCriteria | Removes the criteria for the specified dimension. |
| removeHierarchy | Removes an account rule hierarchy from the list of hierarchies for the rule. |
| save | Creates or updates the rule records that represent the rule specified. |
| savePrivate | Creates or updates the rule records that represent the rule specified. |
| 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.) |
| 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 DimensionRuleStorage class for the specified values. |
| ::createDraft | Creates a draft version of the rule. |
| ::delete | Deletes the specified rule and the associated records. |
| ::deleteDraft | Deletes the specified draft version of the rule. |
| ::deleteRule | Deletes the specified rule and the associated records. |
| ::findById | Retrieves the specified rule. |
| ::findByName | Retrieves the specified rule. |
| ::saveOnServer |
Community Additions
ADD
Show: