Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Pre populating custom records
I’m new to NetSuite so be gentle
I’ve created a custom record type called ‘Rooms’ which contains fields such as height, width, etc. I managed set the parent to ‘Item’ with the help of the NS staff so now a table with ‘New Room’, ‘Attach’ and ‘Customise View’ buttons appears in a tab in the Inventory Item Form.
Here’s my problem:
I want to be able to pre populate the table (mentioned above) with values of my choice. E.g. when I create a new inventory item and click save, in the background I want to be able to add a few rooms with height and width defined to the record being saved. Now I know I need to implement a server side script that fires on the beforesubmit/aftersubmit event. The question is, how?