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 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Invalid class reference key 4 (or 12).
Hi,
Lately we've changed our entries for the "Class" fields. For example we moved from "Cellphones" to "CC LV". I've implemented an application using SuiteTalk to upload Purchase Orders. Before the switch it worked fine when i set the reference value for the "Class" field using "Cellphones". Now i'm getting the following error message from NetSuite: Invalid class reference key 4 (or sometimes 12). Is "key" the same as the internalID? In debug mode I can see that my code retrieves the correct internalID which is 21 for "CC LV".
Any help is highly appreciated!
Sebastian
0