I have a report that lists all the receipts for a given item. I want to narrow it to include only the receipts up to the current qty on hand amount. So if item A currently has 1000 OH, then I want to see a list of the last receipts up to 1000. The problem I am having is that the reciepts do not add up to 1000 exactly, of course. I have a running total, adding up the receipt qtys. I have used that running total in this formula:
if {#RTotal0}<= {IM1_InventoryMasterfile.TotalQtyOnHand} then "1"
else "2"
Then I can use section formatting to hide the "2" values. Except I really need to see the first of the "2" values to make the list correct.
example:
OH = 1000
list:
recpt 400 RT:400
recpt 200 RT:600
recpt 250 RT:850
recpt 100 RT:950
recpt 250 RT:1200
my formula will mark the first 4 values with "1" and the last with "2".
What change can I make to be able to see the last value?
CR 8.5
Thanks,
Sunny
if {#RTotal0}<= {IM1_InventoryMasterfile.TotalQtyOnHand} then "1"
else "2"
Then I can use section formatting to hide the "2" values. Except I really need to see the first of the "2" values to make the list correct.
example:
OH = 1000
list:
recpt 400 RT:400
recpt 200 RT:600
recpt 250 RT:850
recpt 100 RT:950
recpt 250 RT:1200
my formula will mark the first 4 values with "1" and the last with "2".
What change can I make to be able to see the last value?
CR 8.5
Thanks,
Sunny