Bruce Backman
11/28/2023, 4:53 PMSELECT t.id, t.toSubsidiary from transaction t where recordtype='salesorder' and t.id=20188
and toSubsidiary is null (I've also tried uncased tosubsidiary). Is there some right that I'm missing (I'm running the SuiteQL query tool with an admin role, so I should have whatever right I need.
I can see salesOrdered.subsidiary, if that is informativeClay Roper
11/28/2023, 5:04 PMtoSubsidiary
but I imagine it's only populated when you're dealing with an intersubsidiary transaction. Maybe join transactionline
on transactionline.transaction = transaction.id
and return transactionline.subsidiary
? You can filter to transactionline.mainline = 'T'
if need be.Zoran R-DATAGRAM
12/04/2023, 7:38 PMBruce Backman
12/06/2023, 6:25 PM