PDF to BLOB field

Hello, I need to save a pdf as blob field in an AX table

Any suggestion?


The easiest way is to use BinData.loadFile() + BinData.getData() (and save it to a container field).


I need to create an invoice in PDF e save in a new table blob field

Do you have an example or some code coud help me?


I answered the original question, i.e. how to save the file to a blob field. If it was too brief, feel free to ask follow-up questions, but there are just two methods…

About “need to create an invoice in PDF”, the easiest way is to print the report to directly to PDF.