Hi, I am trying to create a salesorder, it works f...
# suitescript
m
Hi, I am trying to create a salesorder, it works from the front-end, but while doing the same from the code, I get this error
Invalid Tax Code(s): VAT 14% -- valid
, any idea what could cause that?
a
I think you have a fixed applied tax code to this item while this tax code is not will configured to this item as a test case. try to add the same lines from the UI with same tax-codes
m
I already tried, and it works.
a
Okay. you set the tax code as id or as a text?
m
id
a
mmm. Okay you could also check whether the item itself is set before setting the tax-code and do you commit the line or not and what type of script do you use?
m
The item is set before the tax-code yes, I do commit the line. It is a Restlet 2.1
a
Are u sure you set the right subsidiary?
m
Yes
a
and tax code is configured upon this item
m
I don't know this part, the functional team will, will ask them. In the item page, I see WH Tax Code, but not just Tax Code.
Never mind, I will open a ticket. Thanks for your help 🙏
s
try using standard mode
m
I turned out to be the most stupid person on the planet, it was the date. It works now.