Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the value of the DocumentStatus and WorkflowApprovalState fields of the PurchCommitmentHeader_PSN table based on the workflow events that have occurred.
Syntax
client server public static void setWorkflowState(RecId _purchCommitmentHeaderRecId, PurchCommitmentWorkflowApprovalState_PSN _purchCommitmentWorkflowApprovalState)
Run On
Called
Parameters
- _purchCommitmentHeaderRecId
Type: RecId Extended Data Type
The record ID of the table that is associated with the workflow.
- _purchCommitmentWorkflowApprovalState
Type: PurchCommitmentWorkflowApprovalState_PSN Enumeration
The workflow state to be set.
Remarks
The method is called from the workflow event handler classes.