Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Error attaching file to custom record w/.Net
We are currently trying to attach a file from the file cabinet to a custom record using the SuiteTalk web service when a specific action occurs in a product we have developed.
I can't find a lot of documentation on how to do this, but I think what I have below should work, however, when calling the "attach" method, an "unexpected error" is returned.
Here is the code snippet:
CustomRecordRef crImplementation = new CustomRecordRef();
crImplementation.typeId = "28";
crImplementation.internalId = implementationId;
crImplementation.name = "customrecord28";
RecordRef fileRef = new RecordRef();
fileRef.internalId = "10828";
fileRef.type = RecordType.file;
fileRef.typeSpecified = true;
AttachBasicReference attReference = new AttachBasicReference();
attReference.attachedRecord = fileRef;