Unable to Update Project Invoice status code using REST API from Transferred to Accepted post 24A
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.",