Announcement

Collapse
No announcement yet.

Sale Order : workflow to add a new item w/o loosing existing data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sale Order : workflow to add a new item w/o loosing existing data

    Hi there,

    I try to update an item list order by a WF w/o loosing existing data ; I understand I have to use a formula like 'entity\addLinkMultipleId(LINK, ID)'...

    - is entity\addLinkMultipleId('itemList', ...) a good start ?
    - ...if so, where can I find my Item ID ?

    Thanks by advance,


    == update ==

    ...of course I have to use a 'Service Action' and I can find my item into the url of the product...

    *You can close this ticket*

    FYI, i found a typing error into the service action 'add sale order item ' example


    { "itemList": [ { "quantity": 1, "procuctId": "productId", "name": "Product Name", "listPrice": 100, "unitPrice": 100 } ] }
    ..."productId" and not "procuctId"


    MA

    Last edited by Marc; 11-11-2019, 12:40 PM.

  • #2
    Hi,

    You can try to use 'Run Service Action' > Add Item.

    Comment


    • #3
      Done. Thanks !

      Comment

      Working...
      X