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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Is it possible to copy a sublist from one record to a different record type?
Hi There
I have the scenario where I am trying to copy the item sublist from an invoice into a vendor bill.
Is this actually possible?
I imagine this will require SuiteScript, though I am not sure which module I should be using?
Based on the notes & testing for N/record module, the transform record method doesn't seem to be an option :
I have considered copying all of the relevant fields from the invoice record and setting them on the newly created vendor bill.
This works fine for the record body fields.
However, how would I copy the 'item' sublist from the invoice record and pass this as a parameter to the vendor bill record?
Tagged:
0