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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Error saving custom record: "The specified internal id is not allowed."
It's been awhile since I've needed to work with Web Services and am a bit rusty.
I'm doing a quick POC with WS and have run into an error that I'm not sure what to do with: "The specified internal id is not allowed."
Basically, I'm searching for a custom record, changing one of it's fields and trying to save it back. Here is the code:
public bool FindDoctorsOrder(string orderID) { try { // Create a new search object CustomRecordSearchBasic crsb = new CustomRecordSearchBasic(); // Tell the search what type of record to look for crsb.recType = new RecordRef(); crsb.recType.internalId = "35"; crsb.internalId = new SearchMultiSelectField(); crsb.internalId.searchValue = new RecordRef[1]; crsb.internalId.searchValue[0] = new RecordRef(); crsb.internalId.searchValue[0].internalId = orderID; crsb.internalId. Steve Klett | Senior Developer
NetValue Technology
0