Share via


AdvancedLedgerEntryHeader.canSubmitToWorkflow Method

Validates the advanced ledger entry line in order to activate the workflow on AdvancedLedgerEntry form.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public boolean canSubmitToWorkflow([str _workflowType])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean canSubmitToWorkflow([str _workflowType])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean canSubmitToWorkflow([str workflowType])

  Microsoft Dynamics AX 2012 (FPK)
          public boolean canSubmitToWorkflow([str workflowType])

Run On

Called

Parameters

  • _workflowType
    Type: str
    Workflow type.

Return Value

Type: boolean
true if atleast one advanced ledger entry line exists and the WorkflowApprovalState field on AdvancedLedgerEntryHeader table is equal to the AdvancedLedgerEntryWFApprovalState::NotSubmitted enumeration value; otherwise, false.

See Also

Reference

AdvancedLedgerEntryHeader Table