Skip to main content
Solved

REST API: can't set detail line Customer Order Nbr for lines with quantity greater than one?

  • January 16, 2025
  • 1 reply
  • 54 views

Forum|alt.badge.img

We’re exploring using blanket orders with line splits based on Customer Order Nbr. values, and it appears to be working well!

 

We ran into some odd behavior: when creating a sales order with the REST API (using the /SalesOrder endpoint), we’ve observed that the value specified in the a detail line’s CustomerOrderNbr field is apparently discarded in the generated order whenever that line’s OrderQty is greater than one.

 

This does not seem to happen when creating orders using the web UI; only with API-created orders.

 

Is this expected? Anyone have suggestions for how to troubleshoot? Thanks again!

 

Best answer by Vignesh Ponnusamy

Hi ​@dominicfedco,

Are you using the Default endpoint? If so, share the endpoint version. Also, please share the request payload and the Acumatica version/build you are using. Thanks

1 reply

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5
  • Acumatica Moderator
  • Answer
  • February 19, 2025

Hi ​@dominicfedco,

Are you using the Default endpoint? If so, share the endpoint version. Also, please share the request payload and the Acumatica version/build you are using. Thanks