Melissa
08/13/2024, 10:48 PMtaxtotal
field on a Sales Order entirely read-only, or is there a work around with a script? As I understand it, that field is set by NetSuite by calculating the tax code and tax rate fields in the item sublist. We use Avalara, and also as I understand it, those fields on the sublist are taken care of by Avalara. We've never had issues.
So, the reason I ask is because a new connector (Magento2 to NS) is getting an error when trying to set that field, which makes me wonder why it's needed or a different value. When I try to set the value of that field (taxtotal
) with either a submitFields()
or a record.save()
after a load and a setValue, I get no errors, but it doesn't set the value at all.
But anyway, I wanted to ask about being able manipulate that field with a script. Otherwise, I'd guess they need to store the different value in a custom field and do something with any discrepancy. Any ideas about this? Thank you so much!!battk
08/14/2024, 1:37 AMbattk
08/14/2024, 1:37 AMMelissa
08/14/2024, 1:38 AMbattk
08/14/2024, 1:38 AM