Overview
This web service set the Received status on a payment voucher. It only applies to payment vouchers with statuses "Approved to pay", "Transmitted", "Paid" and "Received".
...
Panel | ||
---|---|---|
| ||
|
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | ||
SessionTicket | String | Yes | Click here for more information. | AZiT3IQ6HBrx52tFGD+G1A== | |
ExpenseDocumentIdentity | Either ExpenseDocumentIdentity or PaymentVoucherIdentity is required | The identity of the expense document that associated with payment vouchers. Click here for more information. | |||
PaymentVoucherIdentity | See above | The identity of the payment voucher whose status is being updated. Click here for more information. | |||
ReceivedFlag | Boolean | No | false | Applies to payment voucher with statuses "Approved to pay", "Transmitted", "Paid" and "Received". If set to "true", payment voucher status will be set to "Received". If set to "false" and status is "Received", the status is set to "Approved to pay"; otherwise, the status is left unchanged at "Approved to pay", "Transmitted" or "Paid". | false |
ResourceIdentity | **deprecated** |
Request Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:tim="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsMarkPaymentVouchersReceived> <pws:serviceRequest> <req:SessionTicket>AZiT3IQ6HBrx52tFGD+G1A==</req:SessionTicket> <tim:PaymentVoucherIdentity> <com:PaymentVoucherNumber>PVER00161</com:PaymentVoucherNumber> </tim:PaymentVoucherIdentity> <tim:ReceivedFlag>true</tim:ReceivedFlag> <tim:ResourceIdentity> <com:ResourceDisplayName>Min Zeng</com:ResourceDisplayName> </tim:ResourceIdentity> </pws:serviceRequest> </pws:PwsMarkPaymentVouchersReceived> </soapenv:Body> </soapenv:Envelope> |
...
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
19010 | PaymentVouchersNotSpecifiedForMarking | No payment vouchers were specified for marking received. |
19011 | ExpenseDocumentAndPaymentVoucherMayNotBothBeSpecified | Must specify an expense document or a payment voucher, but not both. |
65759 | OneOrMoreVouchersCannotBeMarkedReceived | One or more payment vouchers cannot be marked received or unreceived. |