Pavol
03/23/2023, 4:18 PMEdgar Valdés
03/23/2023, 5:21 PMtransactionline
table has the tax rate. Use the taxline
field as a filter. If the transactionline
is taxline = 'T'
then the rate
field is the tax rate.Mark Oriend
03/24/2023, 9:35 AMtransactionline
, if taxline
is T
, then it's tax line.
But please check about this case.
For example, transaction has 4 line items, first 2 lines has tax with rate 4%, and last 2 lines has no tax.
In this case, in Netsuite UI, we can see the tax amount per each line, but from SuiteQL, how can we get this ?Edgar Valdes
06/15/2023, 5:24 PMSELECT
taxline,
rate,
ratepercent,
itemtype,
foreignamount
FROM
transactionline
WHERE
transaction = 6754118
and
taxline = 'T'
And the result looks like this. I think multi-line must be the same
taxline rate ratepercent itemtype foreignamount
T 16 0.16 TaxGroup -329.38
Edgar Valdes
06/15/2023, 5:24 PM