One of our vendors uses Monday.com to manage their product orders. The API requires us to post the PO information to the board (which works flawlessly) and then after I get back the record id of the post, I need to send an encrypted copy of the PO we have created and saved to the File Cabinet.
I am using a SS 2,0 Suitelet to try and post the PDF to the file column of the record.
We have tried numerous methods to encode the PDF per their API https://community.monday.com/t/uploading-a-file-to-a-column-with-the-api/21799
I have tried what was recommended here https://stackoverflow.com/questions/46954507/in-netsuite-with-suitescript-2-0-unable-to-send-a-file-with-http-post-request-wi
All attempts either result in a corrupt PDF on Monday.com or a PDF that has no content. I even uploaded a PDF created on my desktop to the File Cabinet and then tried to post that PDF. Same result.
I have had 2 highly recommended NetSuite Consulting firms try to resolve the issue, and after numerous hours I am told that it is not currently possible , something about NetSuite not handling PDF encoding correctly.
I can easily upload using postman and cUrl. According to posts I have seen, other languages and platforms work with no issue. What can I do to make this work from NetSuite so my ordering department does not have to use two platforms to create a PO? They currently need to create the PO on NetSuite, download the PO printout , then enter the same header information on a Monday.com form and attach the PO. It's a productivity killer.
Any insight would be appreciated.