Diogo
07/15/2021, 10:56 AMSELECT * FROM Item WHERE Subsidiary = '1'
I get an empty response. And I have items associated with the Subsidiary Id 1.
Am I missing something?tdietrich
07/15/2021, 1:16 PMSELECT * FROM Item WHERE Subsidiary = 1
CD
07/15/2021, 1:44 PM'1'
I get 0 rows. Looks like a bug. Also, joining on the subsidiary table to try and do it that way gives an error. Looks like a bug - I'd file one with support if I were youDiogo
07/15/2021, 2:05 PMCD
07/15/2021, 2:24 PMselect distinct trim(subsidiary), subsidiary from item
gives an interesting result. Defo looks like a bug in their driverCD
07/15/2021, 2:28 PMselect * from item join subsidiary on subsidiary.name = BUILTIN.DF( item.subsidiary ) where subsidiary.id = 1;
CD
07/15/2021, 2:29 PMwhere BUILTIN.DF( item.subsidiary ) = 'your awesome company name'
battk
07/15/2021, 3:17 PMDiogo
07/16/2021, 8:27 AM