Overview
This web service updates the payment workflow status for one or more cost cards. The cost card could be in Draft, Submitted or Rejected statuses in Approval workflow. In that case, when a cost card is set to a status other than "Not Approved to Pay" in Payment workflow, the Approval workflow status is automatically set to Approved status. If the cost card is on a payment voucher, the status change will confer the same change on all the other cost cards on the same payment voucher. For example, if a payment voucher has two cost cards, one has its payment status set to "Approved to Pay", then other cost card's payment status is automatically set to "Approved to Pay".
Request Format
- PwsSetCostCardPaymentWorkflowStatus
- serviceRequest: PwsSetCostCardPaymentWorkflowStatusRq
- RequestId: Int32
- SessionTicket: String
- PaymentWorkflowStatus: String
- SendApprovalEmailFlag: Boolean
- SendApprovalToPayEmailFlag: Boolean
- SendPaidEmailFlag: Boolean
- StatusOrders: PwsCostPwsChangeOrder[]
- serviceRequest: PwsSetCostCardPaymentWorkflowStatusRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 0 | |
SessionTicket | String | Yes | Click here for more information. | AdeUxuUYUffSYpH+zHYKYQ== | |
PaymentWorkflowStatus | String | Yes | Cost card payment workflow status code: 'N' for Not Approved to Pay 'F' for Approved to Pay 'T' for Transmitted 'P' for Paid 'C' for Received. | F | |
SendApprovalEmailFlag | Boolean | No | false | If set to "true", an email will be sent informing the payment voucher resource that the cost card has been approved. | true |
SendApprovalToPayEmailFlag | Boolean | No | false | If set to "true", an email will be sent informing the payment voucher resource that the cost card has been approved to pay. | true |
SendPaidEmailFlag | Boolean | No | false | If set to "true", an email will be sent informing the payment voucher resource that the cost card has been paid | true |
StatusOrders |
Request Usage Example(s)
Response Format
- PwsSetCostCardPaymentWorkflowStatusResponse
- PwsSetCostCardPaymentWorkflowStatusResult: PwsSetCostCardPaymentWorkflowStatusRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- CostCardIdentities: PwsCostCardRef[]
- PwsSetCostCardPaymentWorkflowStatusResult: PwsSetCostCardPaymentWorkflowStatusRs
Response Elements
Element | Data Type | Default | Description | Sample Data |
---|---|---|---|---|
RequestId | Int32 | |||
SessionTicket | String | |||
PaymentWorkflowStatus | String | |||
SendApprovalEmailFlag | Boolean | |||
SendApprovalToPayEmailFlag | Boolean | |||
SendPaidEmailFlag | Boolean | |||
StatusOrders |
Response Usage Example(s)
PwsSetCostCardInvoiceWorkflowStatus - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10111 | RequiredFieldMissing | A required field is missing: StatusOrders |
19045 | CostCardIdentitiesRequired | One or more cost card identities must be specified. |
19052 | InvalidValueForCostCardPaymentWorkflowStatus | The specified value for cost card payment workflow status is invalid. Valid values are N for Not Approved to Pay, F for Approved to Pay, T for Transmitted, P for Paid and C for Received. |
65330 | AP payment information may not be specified | AP payment information may not be specified when payment workflow status is not Paid |
65723 | StatusChangeCannotBeCompletedCostCardsChangedOrIneligible | Status change cannot be completed because one or more cards has changed or is ineligible. |