Share via


PurchCommitmentHeader_PSN::setWorkflowState Method

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.

Remarks

The method is called from the workflow event handler classes.

See Also

Reference

PurchCommitmentHeader_PSN Table