cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order Update Scenario

0 Kudos

Hi Experts.

How i can update Sales Order with HTTP CALL restful?

For update i need to find my sales order with DocNum.

How to find a sales order by number?

Thank you.

zal_parchem2
Active Contributor
0 Kudos

Hello Amarjargal,

You can find the Sales Order Number with SQL - you can add other fields which you need from the ORDR table:

SELECT T0.DocNum, T0.DocEntry, T0.DocStatus, T0.DocDate FROM ORDR T0

However, a question I have for you is -

What data fields on the Sales Order do you want to update???

There are certain fields which cannot be updated if: 1) the Sales Order has gone through the Approval Procedure, 2) the Sales Order has been printed, and 3) according to the Sales Order Status.

It will also help others to join in on the discussion.

Regards, Zal

Accepted Solutions (0)

Answers (1)

Answers (1)

HuanYang
Employee
Employee
0 Kudos

Hello Amarjargal,

Could you please describe the whole process?

Technical, if you want to update a Sales Order, you need to assign the Unique DocEntry.

You may use DI or Service Layer to do the update action.

As for how/where to get the Sales Order DocEntry, I think it's a business issue.

If one doesn't know which Sales Order will be updated, I'm wondering why to do the update.

Thanks & best regards

Huan Yang