Hello, since the 1st of january, i get that error ...
# suitescript
t
Hello, since the 1st of january, i get that error
Copy code
You must enter at least one line item for this transaction.
when i create an order for UK via a map reduce script. If i change the country the order is working fine. It looks like the item lines are removed when the script is selecting the UK as country. Do you know if NetSuite has done an update with Brexit ?
b
losing all your items sounds like the form changed? Is there a form for UK?
t
Hello, no special sales order form for UK. But there is an Address Form for UK.
p
You might be trying to set an incorrect tax code on the lines, due to Brexit tax changes & as a result the lines are not added correctly? Worth checking
t
good idea. But i have checked and it's not that. the tax code didn't change.
the weird thing is that if i create the order manually, when i set the shipping country, it's reloading the sales order page and removing all the item lines. So i need first to set the shipping country and then set the rest of the data.
b
probably want to take a look at the url of the reloaded page
if there are any new parameters, you will probably need it as a default value
t
I have decided to set the Record.create in dynamic mode and set the shipping address first. And it's working now. But still weird. thanks a lot. 🙂