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!
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
Working with generic resources in SuiteTalk
Hi all.
we were able to migrate from a legacy system to netsuite generic resources allocation using the following code
resourceallocation.allocationResource = new RecordRef { internalId = myinternalId, type = RecordType.employee, typeSpecified = true };
(basically passing them as employees).
Now, we'd like to update the generic resources' externalId using SuiteTalk:
Employee emp = new Employee();
emp.internalId = internalId;
emp.externalId = externalId;
WriteResponse response = service.update(emp);
but when we update them (passing an employee type) we got a very strange error:
"An unexpected error occurred. Error ID: jauv3mzz128u3z8kjw8pe"
Any idea?
Many thanks,
Antonio
0