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.
Convert ReadResponse to RecordRef in C#
Hello,
I'm new at webService integrations.
I can´t assign the result of get method:
RecordRef recordRef = new RecordRef();
recordRef.externalId = "DIRECT"
recordRef.type=RecordType.partner;
recordRef.typeSpecified = true;
ReadResponse response1 = _service.get(recordRef);
//Here I have the problem. I cant find the way to CAST the type to RecordRef from ReadResponse type
customer.partner = response1;
KInd regards,
Pablo
0