Topic Options
#22629 - 06/08/10 04:03 PM Formula Help
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
Can anyone help with a Gridview Formula? I'm trying to accomplish this using *IC Item Loc w IC Item.

If the quantity on hand is greater than zero at location 60 or 61 or 62 or 63, then display the item.
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

Top
#22630 - 06/08/10 04:30 PM Re: Formula Help [Re: SusanTennier]
Softrak Support Online   happy

Adagio Action Team

Registered: 03/09/99
Posts: 11557
Loc: Vancouver, BC Canada
Hi Susan,

The 'Quantity by Location' data file (or IC Item Loc) stores separate records for each item / location combination. So for a particular item number, there are 4 separate records - one each for locations 60, 61, 62 or 63.

The best you could do is create 4 calculated columns - one for each location. The syntax would be similar for each (eg for Calc column titled 'Loc60'):
IF( {Loc}="60",{Qty on Hand Plus},0)

This would put the qty on hand for each location into columns. Then summarize the view by Item number. Thus you would see one row for each item number and the display of the qty for each location.

Finally, do a filter that requires any of the 4 calculated columns to be non-zero:
OR(Loc60>0,Loc61>0,Loc62>0,Loc63>0)
_________________________
Regards,
Softrak Tech Support

Top
#22631 - 06/08/10 05:58 PM Re: Formula Help [Re: Softrak Support]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
A quick way of deciding whether any of a set of values is greater than zero is:
Code:
IF (A+B+C+D)>0 THEN...

which will be "TRUE" if any of the values are greater than zero (assuming none can be negative).
_________________________
Andrew Bates

Top


Moderator:  Christa_Meissner 
Who's Online
1 registered (Patricia B.), 65 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14471 Topics
70681 Posts

Max Online: 432 @ 01/20/25 10:17 PM
May
Su M Tu W Th F Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31