PrintMgmtReportRun.getPrintDestinationDirectory Method [AX 2012]

Initializes the print destination directory to which the reports should be saved.

private str getPrintDestinationDirectory(Filename _printMgmtFile)

Run On

Called

Parameters

_printMgmtFile
Type: Filename Extended Data Type
File name with full path of the settings provided in print mgmt settings form.

Return Value

Type: str
The new print destination directory based on the directory provided in print management settings.

Creates a unique subdirectory under the file path which provides the necessary isolation to ensure reports dont override each other.

The subdirectory has a name based on the format: axusername_documenttype_randomnumber.

E.g. admin_salesinvoice_ivig4ak4.0il

Community Additions

ADD
Show: