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?
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Gatis Jansons
Hi, Paul. Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...
14:53 19 Mar 2026
Carolina Valentino
hello Andis.. yes the Time out is for all users, I completely understand the point and we can propose it as a wish...
14:35 19 Mar 2026