<#C298P0BCK|> <#C29HQS63G|> I am trying to default...
# general
n
#C298P0BCK #C29HQS63G I am trying to default the tax code to Non Taxable on certain orders for a customer, but the orders are being created via Celigo and Celigo is using the taxes coming from Shopify. I am trying to use After Submit in a user event script to set the line tax code to Non Taxable for each line on the SO, but it isn't working. Celigo is showing an error that the script is trying to set the value if I use an ID that doesn't exist. For example if I try to set the tax code to ID "AA" it says 'Cannot find tax code of AA", which makes sense. So I know that the script is triggereing correctly, but for some reason when I am using the right tax code ID it just doesn't seem to make any impact on the SO at all. Any tips or tricks to successfully working with the tax code and tax rate on sales orders to hardcode them to Non taxable upon CREATE?
c
perhaps a dumb question but is this a US customer or not? The typical Not Taxable code is just for USA.
n
yes it's a US customer
I know I could just set hte customer as Non taxable and it should natively work, but Celigo is setup to always use the Shopify tax rate, so it is always overriding the native functionality, so I am trying to use a script to change it back to non taxable
b
what does the code look like
p
Are you using the Legacy Tax or SuiteTax?
n
legacy tax
@battk im not sure what you mean...it is just the native Non taxable tax code, so its ID -7
b
the assumption is that the (suitescript) code of your script isnt working, and its unlikely that you will receive help if you dont actually provide the code
n
Thanks @battk makes sense...sorry for the run around. I was able to fix this a different way, but thanks for being willing to help