Share via


PurchAgreementHeader.canSubmitToWorkflow Method

Indicates whether the PurchAgreementHeader table buffer record can be submitted to workflow.

Syntax

public boolean canSubmitToWorkflow([str _workflowType])

Run On

Called

Parameters

  • _workflowType
    Type: str
    The workflow type.

Return Value

Type: boolean
true if at least one purchase agreement line is found and the value of the WorkflowStatus_PSN field in the PurchAgreementHeader table is equal to the PurchAgreementWorkflowStatus::NotSubmitted enumeration value; otherwise, false.

See Also

Reference

PurchAgreementHeader Table