Skip to main content
Answer

How can I update the Production Order ID on a sales order line item via the API?

  • October 31, 2025
  • 3 replies
  • 39 views

I would like to manually assign a Production Order ID to a specific line item on a sales order.  Can I do this via the API?  If so, how?  The SalesOrder endpoint does not seem to have these fields available.

Thanks!

Best answer by Django

When you’re working with the Web Endpoints, you can extend one of the endpoints (likely Default) so that you can create modified versions for your particular needs. This would allow you to add additional fields to the endpoint and then interface with that field like any other field via the REST Api.

3 replies

Forum|alt.badge.img+7
  • Captain II
  • Answer
  • October 31, 2025

When you’re working with the Web Endpoints, you can extend one of the endpoints (likely Default) so that you can create modified versions for your particular needs. This would allow you to add additional fields to the endpoint and then interface with that field like any other field via the REST Api.


DipakNilkanth
Pro III
Forum|alt.badge.img+13

Hi ​@bruno71,

You can see the attached screenshot for the same and pass the Production Nbr from extended endpoint.
 

Hope, it helps!


  • Author
  • Freshman I
  • October 31, 2025

Thank you.  I also came to learn that Acumatica can only link one production order to one sales order.  We have scenarios where one production order can be used to fulfill multiple sales orders.  It seem that either way - whether I use the base ProdOrderID field or add a custom field - I will need to extend the web endpoint to make use of it.