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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Remove Item Pricing from Sub-Customer
Hello,
I have a sub-customer script which, on create or edit, pulls all the Item Pricing information from its parent customer on save. This works great when the sub-customer does not have any item pricing information in its Item Pricing sublist.
However, after the list has been populated on save, if an item on the Parent customer is added/removed, and the sub-customer is edited and saved, I'm getting an error "Error: USER_ERROR - Item must be unique". Well, cool. That makes sense. The script is trying to re-write all the parent information to the sub-customer, which already has items from the previous run.
0