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
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025
Aldevinas Katkus
same v. 2025-02-24. New DB. Just forward balances (purchase, sales invoices) from 2024 and later. In your case does turnover per period differs or just fwd. balance differs and turnover is identical i...
09:56 20 Mar 2025