Using CRM API to insert/update product "List Price" and "Quantity" does not auto-fill related pricing information

Using CRM API to insert/update product "List Price" and "Quantity" does not auto-fill related pricing information

When updating or inserting only certain parts of pricing information (list price, quantity) of a product, how do you force the backend to auto-insert relevant "Amount" and "Total"/"Grand Total"?


Example of my quote insertion:
  1. ... <Quotes>
  2. <row no="1">
  3. ...
  4. <FL val="Product Details">
  5. <product no="1">
  6. <FL val="Product Id">123456789</FL>
  7. <FL val="Quantity">1.0</FL>
  8. <FL val="List Price">123.0</FL>
  9. </product>
  10. </FL>
  11. ...
  12. </row>
  13. </Quotes>

Thank you for your help!