why recalculating weight after printing the invoice
Aldevinas Katkus
11-23-17
Our client would like to automatically generate Invoice PDF after OKing the Invoice. I looked at the source and see that weight and qty totals are being recalculated AFTER printing the invoice to PDF:
File IVVcRecAction2.hal, line 386, version 8.4 (same is true for 8.2):
if (IVr.OKFlag!=0) then begin
...
IVCreateAndAttachPdf(IVr);
...
RecalculetWeightVolumeIVVc(IVr,false);
end;

What is the reason of recalculating totals after printing the invoice?
Erik Munoz
12-4-17
Hi Aldevinas, thanks for reporting. It will be fix in next version 8.4

HansaWorld
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Paul Timms
I would like to know what BackgroundHALShouldPause does, and how to use it. While it's listed in the HAL Primitives report, it is not used in source code and it doesn't appear in the LMS HAL...
18:15 30 Jan 2026
Bror-Erik Kotiranta
Please create a bugreport on the problems...
10:38 26 Jan 2026