Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Odd error when trying to copy quote sublist items
I have created a function that is triggered on the beforeLoad user event for Estimate (Quote) records. This function is intended to copy details from an existing quote record, namely the main record fields, and all items in the 'item' sublist.
Copying of main field values works fine.
The issue is if the source quote has only 1 item in the sublist, the 'item' field in the new quote ends up being something different that what was assigned.
However, if the source quote has 2 or more items in the sublist, then the copy works as intended.
I will post some photos soon to illustrate this, but in the mean time, would be great if someone has any idea. I have already tried disabling all other scripts that are triggered on the quote record.