Skip to Content

Sales Order Update Scenario

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.

Add comment
10|10000 characters needed characters exceeded

  • 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

  • Follow
  • Get RSS Feed

1 Answer

  • Jan 07 at 06:06 AM

    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

    Add comment
    10|10000 characters needed characters exceeded