Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
The order of sublist lines change after insert?
Specifically, I'm adding a credit card to a customer and I need to get the id of the inserted line. After saving the customer record then reloading it, the new card is not at the same line I inserted. After doing a number of test inserts, the end result is something like this:
line 1: 4th card added
line 2: 2nd card added
line 3: 7th card added
line 4: 5th card added
line 5: 3rd card added
line 6: 1st card added
line 7: 6th card added
In my code, I get the line count and use that as the 0-based index to insert a new line and set values.