SalesOrderConfirmPreview
What the approval rules would decide if this sales order were confirmed now, checked without confirming it.
type SalesOrderConfirmPreview {
code: String
controlId: String
message: String
outcome: String!
}
Fields
SalesOrderConfirmPreview.code ● String scalar
The refusal the confirm would end in: CONTROL_BLOCKED, CONTROL_APPROVAL_REQUIRED or CONTROL_NO_ELIGIBLE_APPROVER. Null for PASS and NOT_CHECKED.
SalesOrderConfirmPreview.controlId ● String scalar
The deciding rule's ID.
SalesOrderConfirmPreview.message ● String scalar
The deciding rule's own message, when it has one.
SalesOrderConfirmPreview.outcome ● String! non-null scalar
PASS, NEEDS_APPROVAL, BLOCK, or NOT_CHECKED when another change was using the order's records (the rules are checked again on confirm).
Returned By
salesOrderConfirmPreview query