TrvWorkflowUtilities Class [AX 2012]
The TrvWorkflowUtilities class is a helper class that contains methods that are all workflow related functionalities used in expense management.
| 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.) |
| ::autoPostExpenseDocument | Journalizes an expense report after it has been approved. |
| ::autoPostExpenseLineItem | Journalizes an expense line after it has been approved. |
| ::canActivateAutoPostingWorkflow | |
| ::clearPolicyJustifications | Deletes the policy violation justification when a workflow item is rejected or canceled. |
| ::clearPolicyViolations | Deletes the policy violations log when a workflow item is recalled or rejected. |
| ::clearWorkflowLogs | Deletes the workflow logs which are approved when a workflow item is recalled or rejected. |
| ::expenseLineHasActiveWorkItem | Determines whether the expense line has a pending active workflow work item. |
| ::getAutoPostingWorkflow | |
| ::getAutoPostingWorkflowType | |
| ::insertWorkflowLog | Inserts a record into the TrvWorkflowLog table. |
| ::isDocumentStateChangeValid | Indicates whether the document status can be changed. |
| ::isLineItemApprovalConfigured | Determines whether the line item approval is configured for the specified root correlation ID. |
| ::isLineItemApprovalForExpenseReport | |
| ::isLineItemApprovalForSysWorkflowTable | Determines whether the line item approval is configured for the specified workflow table record. |
| ::recordHasActiveWorkItem | Determines whether a record buffer has a pending or active workflow work item. |
| ::recordHasLineItemApproval | Determines whether the current record buffer has line item approval configured. |
| ::removeTrvAccountingDistributions | Remove the expense accounting distributions for given expense report. |
| ::setDocumentToPosted | |
| ::setExpenseDocumentStatus | Called when you want to change the state of an expense document. |
| ::setExpenseLineItemStatus | Called when you want to change status of an expense line item. |
| ::updateViolationsLog | |
| ::workflowTypeHasLineItem | Checks the expense document workflow type if line item is configured. |
Community Additions
ADD
Show: