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
Gastón Salomone
Hi David, Since this happend in a timed task and its a memory problem, system crash and there are not any messages in hansa.log In hansa log. last lines are following: 2025-04-24 22:48:20 runn...
16:15 25 Apr 2025
Paul Timms
Thanks David! I'll give that a go and confirm if that works. Paul...
10:54 23 Apr 2025