Selling items with price per 100 pcs
Aldevinas Katkus
7-26-22
Operating system: macOS
I have looked the source and it seems it is not possible to print the price per 100 pcs.
Fields like F_SECISIN ("Securities ISIN Code"),F_ROWPRICEREBATE ("Price including Discount, row") ignore field argument=5, which should round the field value to 5 decimals.
So, there is no solution without programming?

Example:

Price for 100 pcs is 5,14 Eur.
We can use price factors or quantity factors to get the correct price in the invoice:
If we sell 15000 pcs, then 5,14*150=771, but on the printed invoice we get Unit price 0,051 (max 3 decimals)
0,051*15000=765
We get 771-765=6 euros difference. Customers seeing this invoice will be confused.
Aldevinas Katkus
7-27-22
Well, found it. Amount is rounded to the 3 decimals first, then rounding that amount to the decimals specified in the field argument :-(
Brittany McGrath
8-19-22
Hello, does this post still require assistance?

If no assistance required then we will close the post.
Please advise.
Thank you.
Aldevinas Katkus
8-19-22
IMHO, this is a bug/wish, because we cannot print am exact unit price inclusive of discount in case we are using price factors.
Bror-Erik Kotiranta
8-22-22
Hello,

can you write a bug with steps and we will take a look at it Aldevinas?
Br, Bror-Erik
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