Also, I tried running the same code in the NetSuit...
# suitecommerce
v
Also, I tried running the same code in the NetSuite Script Debugger and it works there!