Document filenames

Question

 How does my document get its filename and how can I change the default?

 

 

Answer

The default document filename is the crystal reports document Title, followed by a hyphen, then the transaction number / reference.

For example, in Jiwa Demo, print the invoice report from the sales order entry form to screen.

Click the Export Report button from the report menu ribbon.

A File Explorer dialog will open to select the path and file name of the pdf.

The default filename is "Invoice - (sales order number)".

The "Invoice" part of the filename comes from the Document Properties in Crystal Reports.

The hyphen and the transaction number are hard-coded.

If you want to change this behaviour, for example by appending more information like the snapshot number, or removing information like the hyphen, then this would need to be done by a custom plugin.