Skip to main content
Answer

Inventory Issue Status not updating

  • July 24, 2024
  • 1 reply
  • 45 views

Hi there, 

I am trying to update the status of an inventory issue using the REST API from On Hold to Balanced so that I can then invoke the release action. 
I am sending just the id and the status as you can see below:

url: {{baseurl}}/AcumaticaERP/entity/Default/23.200.001/InventoryIssue

    {
"id": "538ecce5-8c49-ef11-9061-e848b8c82000",
"Hold": {
"value": false
},
"Status": {
"value": "Balanced"
}
}

I get a 200 response, but the status of the Issue is still On Hold. 

Using the same json I am able to update Inventory transfers without an issue. 

Is there something that I am missing?

 

Best answer by jinin

Hi @GraniteDev ,

We have the option to utilize the "Remove from Hold" action in order to update the status to Balanced. Initially, this action is not included in the endpoint by default. You can include the action as shown in the screenshot below.

 

 

Use the below url and request to chanage the status from Hold to Balanced.

 

url: /entity/Default/22.200.001/InventoryIssue/ReleaseFromHold
method: Post
Request: 
 

{

    "entity": {

        "ReferenceNbr": {

            "value": "005945"

        }

    }

}

 

For additional information on expanding the endpoint and triggering an action from the endpoint, please consult the following documentation.

1 reply

jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • Answer
  • July 24, 2024

Hi @GraniteDev ,

We have the option to utilize the "Remove from Hold" action in order to update the status to Balanced. Initially, this action is not included in the endpoint by default. You can include the action as shown in the screenshot below.

 

 

Use the below url and request to chanage the status from Hold to Balanced.

 

url: /entity/Default/22.200.001/InventoryIssue/ReleaseFromHold
method: Post
Request: 
 

{

    "entity": {

        "ReferenceNbr": {

            "value": "005945"

        }

    }

}

 

For additional information on expanding the endpoint and triggering an action from the endpoint, please consult the following documentation.