Word Document Tool
Release: Word Document Tool – 25.0.9669.55414
Description
This release introduces a new Lines_NetAmount dataset column across all sales and purchase document reports in the Word Document Tool extension. The change addresses an issue where printed documents displayed incorrect per-line pre-tax amounts when an invoice discount was applied. The existing Lines_Amount column included the invoice discount component added back into the line amount; the new Lines_NetAmount column exposes the pure net line amount (after line discount, without invoice discount added back). This improvement ensures accurate line-level amount rendering on Word layout templates for all sales and purchase documents.
User Stories
| Title | Description | Impact on previous version |
|---|---|---|
| [24112] – Add Line Net Amount (not including invoice discount component) value to Lines Dataitem | When an invoice discount was applied, the printed sales invoice report displayed incorrect per-line pre-tax amounts. The Lines_Amount tag was computing Line Amount + Inv. Discount Amount, effectively inflating each line’s displayed amount by its pro-rata share of the invoice discount. The total invoice amount was correct, but individual line amounts were wrong. A new Lines_NetAmount column has been added to all sales and purchase reports (Report 8118352, 8118353, 8118354, 8118355, 8118356, 8118357, 8118358, 8118360, 8118361) exposing the raw Line Amount / Amount field via WDT.FormatAmt(), which correctly represents the net line amount without the invoice discount component. Word layout templates should now bind to Lines_NetAmount instead of Lines_Amount to display accurate per-line amounts when an invoice discount is applied. |
Low breaking risk. This is an additive change — a new column is added to the report dataset. Existing Word layouts using Lines_Amount will continue to work unchanged. Users must manually update their Word templates to reference the new Lines_NetAmount tag to benefit from the fix. No migration or data change is required. |
Bugs
No bug fixed in this release.
Events
No event added or updated in this release.
Notes
- Impacted Reports (9 files edited):
- Report 8118352 –
isaWDT_SalesOrder - Report 8118353 –
isaWDT_SalesQuote - Report 8118354 –
isaWDT_SalesProForma - Report 8118355 –
isaWDT_PostedSalesInvoice - Report 8118356 –
isaWDT_PostedSalesCreditMemo - Report 8118357 –
isaWDT_PurchaseOrder - Report 8118358 –
isaWDT_PurchaseQuote - Report 8118360 –
isaWDT_SalesBlanketOrder - Report 8118361 –
isaWDT_PurchaseBlanketOrder
- Report 8118352 –