Invoice printed sorted by item groups
Aldevinas Katkus
3-8-23
Operating system: Windows
After upgrading to v. 8.5 2022-12-30 our client says invoice PDF is generated (via Invoice>>create>>email) as if Row layout=By item group would be selected if printed manually via Documents>>Invoices. This is not expected. Some time later the same invoice is being printed normally.
I cannot find any setting to make printing of the invoices sorted by item groups.
Why this happens?
3-10-23
We had this problem, it's not new, just happened now. Last time we saw it, it happened to a customer after working with Hansa for more than 5 years :) Looks like extremely random.
We think it's a variable or flag that remains set to a value when running a report or something same time with printing.
However, we were never able to reproduce it, as hard as we tried, just removed the ByItemGroup printing with HAL.

Flaviana
Aldevinas Katkus
3-10-23
For me it looks like a memory corruption bug or smth., I remember years ago on one line value of variable is one a few lines down is completely another, even though nothing modified the value.
Aldevinas Katkus
3-21-23
I have found some HAL syntax errors which SERP does not complain about (missing semicolons), fixed those, but it didn't help.
Aldevinas Katkus
3-22-23
I could not repeat it in my DB, our client's log has some cases where Periodic customer statement report (probably with "Show Official Ser Nr." checked which is RcVc.flags[15] - the same as an option to print grouped invoice rows) is being run before printing the invoice which fails to print in normal way:

2023-03-22 08:17:50 DDAU Filtering records on the main thread!
2023-03-22 08:17:51 SYSTEM Sending Email from xxx
2023-03-22 08:17:52 /THREAD(10) SMTP connecting to xxxxx
2023-03-22 08:17:52 /THREAD(10) SMTP connected
2023-03-22 08:17:55 DDAU/THREAD(14) Report Periodinė pirkėjų būklė - periodic statement report
2023-03-22 08:19:01 GALEKS Printing Faktūros 282314
2023-03-22 08:19:01 GALEKS PDF Error: 4119
2023-03-22 08:19:01 GALEKS PDF Error: 4119
2023-03-22 08:19:19 VSALY Filtering records on the main thread!

2023-03-22 08:19:31 SBOROV Filtering records on the main thread!
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
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024