Jay Jetley
07/16/2025, 1:29 PMtaxrate1
on transactionLine
but in SuiteQL the same query gives the following error
Field 'taxrate1' for record 'transactionLine' was not found. Reason: NOT_EXPOSED - Field is marked as internal for channel SEARCH
Assuming it's not possible to get them behave the same does anyone know how I can get taxrate1 at a transaction line level from within SuiteQL?Edgar Valdes
07/16/2025, 7:18 PMSELECT * FROM transactionline WHERE taxline = 'T'
creece
07/16/2025, 8:55 PMJay Jetley
07/17/2025, 7:28 AMJay Jetley
07/17/2025, 7:29 AMEdgar Valdes
07/17/2025, 5:05 PMtransactionline
Jay Jetley
07/17/2025, 9:07 PMselect TL.*
from transactionLine TL
where TL.transaction = 123
you will get taxrate1 back in the result but if you do
select TL.*, TL.taxrate1
from transactionLine TL
where TL.transaction = 123
you will then magically get the tax rate returned correctly 🤷♂️
BUT this only works when using the REST API to call the SuiteQL. If you do the same working query using the N/Query module then it will complain about the taxtate1 field.
I include all this information here in case anyone else has issues with "missing" fields when moving a query between SuiteScript and REST.Edgar Valdes
07/17/2025, 9:17 PM