QUOTES // Function to update a simple field in agregate line items field

QUOTES // Function to update a simple field in agregate line items field

Hi all,

In "QUOTES", I created a simple currency field (named TOTAL des AB...", API name "TabosMens") in the agragate region of line items. (see picture as my explanation in english is probably not very clear).


How tu update this field through a function ?

I tried seomething like this but it did not work :

(…)

mp = Map();

mp.put("TabosMens",ABOS);

info "ABOS : " + ABOS;

update = zoho.crm.updateRecord("Quotes",ID,mp);

 info "update : " + update; »

 

consol is :

  • ABOS : 28.07
  • update : {"Modified_Time":"2021-07-27T15:38:29+02:00","Modified_By":{"name":"MOUSSU Emmanuel","id":"249259000000187009"},"Created_Time":"2021-07-23T15:59:07+02:00","id":"249259000010343078","Created_By":{"name":"MOUSSU Emmanuel","id":"249259000000187009"}}