Unable to Update Project Invoice status code using REST API from Transferred to Accepted post 24A — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to Update Project Invoice status code using REST API from Transferred to Accepted post 24A

Accepted answer
154
Views
10
Comments

Summary:

Trying to run a PATCH operation using REST API to update an invoice header for a project contract invoice to change the invoice status code from TRANSFERRED to ACCEPTED. The API was working as expected in 23D, but post upgrade to 24A, the API has started failing with the below error message

{

  "title" : "Bad Request",

  "status" : "400",

  "o:errorDetails" : [ {

    "title" : "Invoice Status Code: You can't update the InvoiceStatusCode attribute for a project contract invoice using the update an invoice header action. (PJB-2190941)",

    "detail" : "Invoice Status Code: You can't update the InvoiceStatusCode attribute for a project contract invoice using the update an invoice header action. (PJB-2190941) Details: Instead of the Update an invoice header for a project contract invoice action, you can use the Submit, Release or Unrelease project contract invoice actions for these attributes.",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!