TrvWorkflowUtilities Class [AX 2012]

The TrvWorkflowUtilities class is a helper class that contains methods that are all workflow related functionalities used in expense management.

class TrvWorkflowUtilities

Run On

Called

  MethodDescription
Gg815620.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg815620.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg815620.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg815620.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg815620.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg815620.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.)
Gg815620.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.)
Gg815620.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg815620.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg815620.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg815620.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg815620.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.)
Gg815620.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg815620.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::autoPostExpenseDocument Journalizes an expense report after it has been approved.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::autoPostExpenseLineItem Journalizes an expense line after it has been approved.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::canActivateAutoPostingWorkflow
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::clearPolicyJustifications Deletes the policy violation justification when a workflow item is rejected or canceled.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::clearPolicyViolations Deletes the policy violations log when a workflow item is recalled or rejected.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::clearWorkflowLogs Deletes the workflow logs which are approved when a workflow item is recalled or rejected.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::expenseLineHasActiveWorkItem Determines whether the expense line has a pending active workflow work item.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::getAutoPostingWorkflow
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::getAutoPostingWorkflowType
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::insertWorkflowLog Inserts a record into the TrvWorkflowLog table.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::isDocumentStateChangeValid Indicates whether the document status can be changed.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::isLineItemApprovalConfigured Determines whether the line item approval is configured for the specified root correlation ID.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::isLineItemApprovalForExpenseReport
Gg815620.privmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::isLineItemApprovalForSysWorkflowTable Determines whether the line item approval is configured for the specified workflow table record.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::recordHasActiveWorkItem Determines whether a record buffer has a pending or active workflow work item.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::recordHasLineItemApproval Determines whether the current record buffer has line item approval configured.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::removeTrvAccountingDistributions Remove the expense accounting distributions for given expense report.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::setDocumentToPosted
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::setExpenseDocumentStatus Called when you want to change the state of an expense document.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::setExpenseLineItemStatus Called when you want to change status of an expense line item.
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::updateViolationsLog
Gg815620.pubmethod(en-us,AX.60).gif Gg815620.static(en-us,AX.60).gif ::workflowTypeHasLineItem Checks the expense document workflow type if line item is configured.
Top

Object Class
  TrvWorkflowUtilities Class

Community Additions

ADD
Show: