Skip to main content
Solved

Purchase Order API: Bug when placing a PO on Hold


When I attempt to release a purchase order from hold via the API, sometimes I get the following error:

Operation failed: At least one line is not present in the cost budget of the project. Either add the corresponding budget lines to the project or select the Allow Adding New Items on the Fly check box on the Summary tab of the Projects (PM301000) form

 

I get the same error when try to do so from the user interface:

Oddly, if I try a second time, either via a repeating the API request, or by pressing the button again, the error does not occur.

 

What could be going on?

 

 

 

Best answer by Ankita Tayana

Hi ​@geoffatsource,

Please check the following conditions for the Inventory Item you are adding to the PO:

Ensure the item is allowed if the project permits non-project accounts.
Verify that the item is actually used in the project.

When you remove the hold on the PO, the base code validates these conditions. If they are not satisfied, the system triggers this issue.
 

 

Hope, it helps!

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img
  • Jr Varsity I
  • 62 replies
  • Answer
  • March 27, 2025

Hi ​@geoffatsource,

Please check the following conditions for the Inventory Item you are adding to the PO:

Ensure the item is allowed if the project permits non-project accounts.
Verify that the item is actually used in the project.

When you remove the hold on the PO, the base code validates these conditions. If they are not satisfied, the system triggers this issue.
 

 

Hope, it helps!


Forum|alt.badge.img

Hi ​@geoffatsource,

I missed to add the image, please refer below.

 

Hope, it helps!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings