Well, looks like 2018.1 broke my integration. Anyo...
# suitescript
m
Well, looks like 2018.1 broke my integration. Anyone know what changed with setting Items on a Sales Order? Getting
You must enter at least one line item for this transaction.
s
You have to do further debugging for this. Try logging the values so you can see which line in your code causes the issue.
m
I spend the weekend working on it, looks like for some reason the line item values are being lost when i later set the shipping address/billing address/a few custom properties later in my code.
(all in dynamic mode). I ended up moving the item setting lower in the restlet which helped, but then I started getting Shipping Address errors (can't change shipping address b/c requires a new tax form) which is presumably when I re-set the shipping address (same place).
all this said, i reviewed the 2018.1 release notes and see nothing related to either of my issues. Luckily I was able to hack around the issue for now but I'm going to open a support ticket to try to get to the bottom of this