Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Custom field type Hyperlink-how to?
I have a custom field on my Invoice record of type Hyperlink. This is set to the URL of a file in the file cabinet. I'm trying to set the value of this field using Webservices, but I cannot find a way to do this. I'm not sure what type to use for the custom field type.
Below is my code in Java to set a custom Document file selection type. What do I use if my type is Hyperlink?
SelectCustomFieldRef pdfFileSelect = new SelectCustomFieldRef();
pdfFileSelect.setInternalId("custbody_invoice_pdf");
ListOrRecordRef pdfFileRef = new ListOrRecordRef();
pdfFileRef.setInternalId("454"); // folder id
pdfFileRef.setTypeId("29"); // 29 is system type ID for file or folder