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.
PDF file received form an online form won't set in a document field on custom record
We receive files from customers via an online external form and use a suitelet to process the information and save it to a custom record. The files are first saved to Netsuite file cabinet then the file id is used to populate the document field on the custom record. when this file is a jpg or png the field is populated and the record saved, but when the file is a pdf I get the below error.
"type":"error.SuiteScriptError","name":"INVALID_FLD_VALUE","message":"You have entered an Invalid Field Value 8101242 for the following field: custrecord_wpa_receipt"
Does anyone know why this is happening for just pdf's
Tagged:
0