SysPolicies Class [AX 2012]
The SysPolicies class gives rule IDs for given policy type, rule type, and list of organization IDs.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| 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.) |
| 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.) |
| ::clearPolicyCache | Clears the global object cache that is used by this class to cache its method results. |
| ::getAssociatedOrganizationList | Gets a list of organization IDs that are associated with the specified SysPolicy record ID and SysPolicyRuleType record ID. |
| ::getCachedRuleArray | |
| ::getCacheExpiration | Finds the next datetime that would invalidate the policy cache. |
| ::getCacheKey | |
| ::getCacheValue | |
| ::getPolicyRuleID | Finds a rule that is effective for the given organizations at a specific time. |
| ::getPolicyRuleIDs | Finds rules that are effective for the given organizations at a specific time. |
| ::getPolicyRuleIDsByRuleTypeName | Gets the rule IDs for the specified RecId_orgID[], _ruleType, and utcDateTime_effectiveDate values. |
| ::getPolicyRuleIDsForOrgCombination | Gives rule IDs for the specified RecId, _orgID1, _orgID2, _ruleType, utcDateTime, and _effectiveDate values. |
| ::isCacheValueExpired | |
| ::ruleAlreadyFetched | Indicates whether the rule has been added to the collection. |
| ::storeCacheEntry | Stores the method results and an expiration date in the system global object cache for later retrieval. |
Community Additions
ADD
Show: