Compartir a través de


CustInvoiceTable.canSubmitToWorkflow Method

Validates the invoice line amount for non-zero amount in order to activate the workflow on CustFreeInvoice form.

Syntax

public boolean canSubmitToWorkflow([str workflowType])

Run On

Called

Parameters

  • workflowType
    Type: str
    Workflow type

Return Value

Type: boolean
true if atleast one invoice line amount with non-zero value exists and the WorkflowApprovalStatefield on CustInvoiceTable is equal to the CustFreeInvoiceWFApprovalState::NotSubmitted enumeration value; otherwise, false.

See Also

Reference

CustInvoiceTable Table