ssolberg
VIP Member
I'm stumped... I have a real simple WW report for inventory that gets the current qty on hand, the avg cost, and then I calc the extended avg cost from that. The calc field in the WW looks like this:
LIPQOH * F03.COUNCS (qty * avg cost field)
The results I am getting stump me. For example:
QTY Average Extended
O/H Unit Cost Average Cost
----- ---------- ---------------
2 322.18 644.30 (should be 644.36)
1 58.08 58.00 (uh... obvious)
Appears everything is rounded to the nearest 10th of a cent (down). I have done nothing to change the Field Details within the WW at all. The Data Dictionary has PQOH (qty on hand) set to 0 decimals. Cost fields (like UNCS) are set to 2 decimals. So I was thinking the problem was because of the decimal issues. So.... I did this to the calc field:
((LIPQOH * 100) * (F03.COUNCS)) /100
It just made it worse and came out 644.00 and 58.00. Everything was rounded to nearest whole dollar. What am I missing here?
LIPQOH * F03.COUNCS (qty * avg cost field)
The results I am getting stump me. For example:
QTY Average Extended
O/H Unit Cost Average Cost
----- ---------- ---------------
2 322.18 644.30 (should be 644.36)
1 58.08 58.00 (uh... obvious)
Appears everything is rounded to the nearest 10th of a cent (down). I have done nothing to change the Field Details within the WW at all. The Data Dictionary has PQOH (qty on hand) set to 0 decimals. Cost fields (like UNCS) are set to 2 decimals. So I was thinking the problem was because of the decimal issues. So.... I did this to the calc field:
((LIPQOH * 100) * (F03.COUNCS)) /100
It just made it worse and came out 644.00 and 58.00. Everything was rounded to nearest whole dollar. What am I missing here?