Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
nlapiTransformRecord transformValues parameter not working
Hey all,
I was searching suiteanswers to see if anyone was having the same issue, but couldn't find anything..
I was trying to use nlapiTransformRecord to transform a Return Authorization to a Cash Refund, a valid transformation according to the Supported Transformation Types table, and got the following error:
You have entered an invalid default value for this record transformation operation.
I've followed the example as in the line below, so I'm not sure what's wrong.
var record = nlapiTransformRecord(fromRecord, fromId, toRecord, {'quantity': '1', 'location': '1'});
Has anyone used the transform Values parameter with success?
Thanks!
0