September 22, 2020
Limited support for a new, more optimal product data model has been introduced.
The new data model will be useful on accounts with a lot of non-stock products. Several operations, such as looking up products, saving a sales transaction, or retrieving a sales report, might be faster with the new data model.
For now, this has only been implemented in API calls getProducts and saveProduct. Support will be expanded in future releases. The "new product data model" will be introduced to agreed pilot accounts only.
Support for invoice algorithm version 5 has been expanded (but is not fully complete).
API call saveSalesDocument now populates fields "discounted_price"
, "discounted_price_with_tax"
, "net_total"
, "tax_total"
and "total"
for each sales document row.
The following API calls now use a calculation method compatible with algorithm version 5. On an account using algorithm version 5, these calls will now return accurate values.
"zreport_show_tax_for_each_payment_type"
has been set to 1.