Hello everyone, has anybody have an idea on how to...
# suitescript
s
Hello everyone, has anybody have an idea on how to trigger Avatax tax calculation after transforming a Sales Order into an invoice or a Cash sale using a schedule script? if not is it possible to set the taxtotal into the invoice/cashsale record? I've been trying but it doens't seem to let me using setValue, I'm working on suitescript 2.X
e
As long as your tax code is set to AVATAX it should calculate tax. Make sure that your customer and your items are set to AVATAX tax code.
s
It is, do you know if it is possible that I transform the record it comes back isDynamic:false could this be the situation were it doesn;t work?
e
Nope isDynamic doesn't have bearing on why it doesn't work.
s
I got this to work you need to have the transaction record in dynamic mode and also be sure that you save the Record enableSourcing: false