Hi all,
I need to attach a document to a Manual Supplier Invoice, and my approach is to send the PDF as a Base64-encoded string wrapped in a CDATA section within an XML file.
<FILE_DATA><![CDATA[JVBERi0xLjcNCiW1tbW1...]]></FILE_DATA>
I referred to the below community post to create the file:
The issue is that Edm_File_Storage_API.Write_Blob_Data works correctly for smaller files (around 28 KB), but it does not work for a larger file (108 KB). The attached file appears to be corrupted after upload and cannot be opened.
Does anyone have an idea what might be causing this?