CustInvoiceTable::setWorkflowState Method

Sets the WorkflowApprovalState and WorkflowApprovalStatus fields of the CustInvoiceTable table, depending on the workflow events that have occurred.

Syntax

client server public static void setWorkflowState(RecId _freeTextInvoiceRecId, CustFreeInvoiceWFApprovalState _freeTextInvoiceWorkflowState)

Run On

Called

Parameters

  • _freeTextInvoiceRecId
    Type: RecId Extended Data Type
    The record ID of the table which is associated with the workflow.

Remarks

The method is called from the workflow event handler classes.

See Also

Reference

CustInvoiceTable Table