At the end of the day I would like to save all packing slips for the next day as PDF. I want to do this as some sort of backup option.
I tried 2 methods:
- Saving as PDF trough Dynamics AX
- Saving as PDF trough a seperate PDF printer
The problem I am facing is that AX automatically makes a pdf for each report. That way If I save it in either way, I have to manually change all the filenames or else I get a warning that there is already a file containing that name.
I can think of 2 solutions :
- Saving a PDF trough Dynamics ax and using a filename that automatically contains the salesorder ID or similar info for that packing slip.
- Tell AX in some sort of way to make 1 PDF of all the reports.
Can anybody tell me if its possible to use variables in filenames or think of another solution?