What changed
Documents could not be created for some orders if the template used a discount total variable and an order item of that order had no amount. These documents stayed in the status pending and were finally marked as faulty. This is fixed. Documents for such orders are now created, and items without an amount are left out of the discount total.
Affected variables
- Order system amounts: Discount total amount gross and Discount total amount net
- Order foreign amounts: Discount total amount gross and Discount total amount net
Templates that do not use these variables were not affected.
What you need to do
- New documents: nothing. They are created correctly.
- Documents that were marked as faulty because of this problem: create them again. This is only possible if no following document exists for them, for example a reversal document for an invoice or a credit note.
Good to know
- Your orders are not changed. The fix does not add missing amounts to order items. It only makes sure that the document can be created without them.
Items without an amount are not included in the discount total. If no discount remains, the variable stays empty.
Version | Available from |
| beta | 28 October 2026 |
| stable | 4 November 2026 |
Comments
0 comments
Article is closed for comments.