is it possible to update the cost of a Resale Serv...
# ask-stanley-ai
l
is it possible to update the cost of a Resale Service line for one specific SalesOrder through REST api
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, it seems that it is possible to update the cost of a Resale Service line for a specific SalesOrder through the REST API. However, the order of the fields in the request might be important. You might need to submit the item sublist first before the amount. For example, you might need to put the
"item": {"id": 42}
above
"amount": 42
in your request. This is similar to how you would fill in the customer on the sales order before you fill in the subsidiary when you turn on multisubsidiary customer. Also, it's worth noting that you might need to include the price level and set it to custom if that is not what is currently on the sales order line. Finally, when updating Sales Order lines to pull updated pricing from a price level, you might need to set the second parameter of submitRecord (doSourcing) to true. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816239297
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803260684
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.802473307
Please provide your feedback on this answer.