I'm using Crystal Reports 9 Pro.
I have a series of ticket numbers which track units of 100 pieces.
We have a series of "bins" in our warehouse which holds the units after production and before shipping. The kicker is some units will never see a bin and be shipped directly from the line, or we will farm out the work and the unit will go directly from recieving to a bin....or from recieving to shipping.
I'm trying to track only the units moving from production (Staging) to a Bin#.
Our software tracks unit movement by adjusting up when a unit enters the bin and adjusting down when it exits a bin (or stage).
My current statement is:
- that mostly works but some units don't seem to appear.
I tried the following statement but it came back blank:
In common english I'd like to have a statement that:
Meaning that the report will display ticket 1023 if Staging is adjusted down by 100 qty (-100)and #Bin is adjusted up by 100 qty (+100).
But ticket 1024 will not display when Staging is adjusted down by 100 qty and Shipping is adjusted up by 100 qty.
Any ideas on how to make that work?
Note: the different fields are all in the same table so I can't do anything funky with relationships, and I'm doubtful of a subreport's effectiveness.
I have a series of ticket numbers which track units of 100 pieces.
We have a series of "bins" in our warehouse which holds the units after production and before shipping. The kicker is some units will never see a bin and be shipped directly from the line, or we will farm out the work and the unit will go directly from recieving to a bin....or from recieving to shipping.
I'm trying to track only the units moving from production (Staging) to a Bin#.
Our software tracks unit movement by adjusting up when a unit enters the bin and adjusting down when it exits a bin (or stage).
My current statement is:
Code:
( QTY > 0 and BIN like ["1*", "2*", "3*"] )
I tried the following statement but it came back blank:
Code:
( QTY > 0 and BIN like ["1*", "2*", "3*"] ) and
( QTY < 0 and BIN = "Staging" )
In common english I'd like to have a statement that:
Code:
Show Ticket # when Quantity is positive and current Bin is a number and when Quantity is negative and Bin is Staging.
Meaning that the report will display ticket 1023 if Staging is adjusted down by 100 qty (-100)and #Bin is adjusted up by 100 qty (+100).
But ticket 1024 will not display when Staging is adjusted down by 100 qty and Shipping is adjusted up by 100 qty.
Any ideas on how to make that work?
Note: the different fields are all in the same table so I can't do anything funky with relationships, and I'm doubtful of a subreport's effectiveness.