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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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