If I have two subsidiaries, A and B, how do I search for all items that belong to only A, and not include items that belong to both?
m
Marc Reicher
02/26/2021, 9:57 PM
select * FROM item WHERE subsidiary='A'
Not sure if suiteql is on the table here
k
Kris Jones
02/26/2021, 10:02 PM
nope, no suiteQL, but asking the question here was able to jog my Friday brain into some sort of solution:
No Subsidiary Criteria, Group on Item Name, and Summary Criteria where Count(Subsidiary) = 1 AND Min(Subsidiary) = <Name of Subsidiary>
This may be an suboptimal way of doing it though 😅
👍 1
s
stalbert
02/27/2021, 2:20 AM
curious why would one exclude SuiteQL as an option, here on the suitescript channel?