AdvancedLedgerEntryHeader::setWorkflowState Method
Sets the workflow status for the advanced ledger entry header.
Syntax
server public static void setWorkflowState(RecId _advancedLedgerEntryHeaderRecId, AdvancedLedgerEntryWFApprovalState _workflowState)
Run On
Server
Parameters
- _advancedLedgerEntryHeaderRecId
Type: RecId Extended Data Type
The record ID of the AdvancedLedgerEntryHeader record for which to set the workflow status.
- _workflowState
Type: AdvancedLedgerEntryWFApprovalState Enumeration
The workflow state to set.
Exceptions
Exception | Condition |
---|---|
Error | The element of the AdvancedLedgerEntryWFApprovalState enumeration value that passed into the method was not expected. |