Pull Strategy using Pull Global ItemList, Query pulling multiple label

Pull Strategy using Pull Global ItemList, Query pulling multiple label

an_lam2
Not applicable
8 Views
2 Replies
Message 1 of 3

Pull Strategy using Pull Global ItemList, Query pulling multiple label

an_lam2
Not applicable

[ FlexSim 19.2.4 ]

Hi, I need help regarding the query to pull items from the item list. I would like to pull two types of items: items with Product Label Value 1 and Product Label Value 2 to queue 1, and items with Product Label Value 3 to queue 3.


I'm using the query "WHERE Product = 1 AND 2," but it doesn't seem to work. However, when I use "WHERE Product <= 2," it works. But in a future model that I will build, I may need to pull item labels like 2, 5, 7 and 9. So, I'm not sure if "WHERE Product <= " is the correct way to pull multiple label values.

1690428127115.png


Thank you for helping me out!

Pull ItemList.fsm

0 Likes
Accepted solutions (1)
9 Views
2 Replies
Replies (2)
Message 2 of 3

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Try it with a query clause of IN . It test against a set of values of an array Or comma separated values.

https://www.w3schools.com/sql/sql_in.asp


Message 3 of 3

an_lam2
Not applicable
@Joerg Vogel works great thanks
0 Likes