Hi All, With SuiteQL I'm querying the Transaction ...
# suiteql
m
Hi All, With SuiteQL I'm querying the Transaction table but I don't see any pointers to Department or Class. Any clues? Thanks!
c
Hey Milcho - what I always do when I can't find a field I expect in the transaction table is check to see if that field is in transactionline or transactionaccountline -- 9 out of 9.5 times, it is.
😅 1
m
I like the statistical representation of the probability 😄
OK, @Clay Roper but this should be a header field in my case...
c
In that case, you could try filtering by transactionline.mainline = 'T'
*edited above to transactionline
m
oh, this is how it works.... OK, I see - I'm new to this - got it!!!!
as in transactionline is not only lines 😄
c
It does include the main line, which for many (all?) transactions includes what we might consider header fields -- this is similar to how transaction saved searches function
m
yep - now I understand that - thanks a lot for your assistance!! : )
c
Any time! Glad I could help