This documentation is archived and is not being maintained.
PrintMgmtReportRun::makeShorterFilename Method [AX 2012]
The makeShorterFilename method creates a shorter name for saving a report to a pdf file
client server protected static str makeShorterFilename(
str _basename,
str _instanceName,
int _maxLen,
str _documentKeyValue)
Run On
Called
Parameters
-
_basename
- Type: str
A path to which a pdf file is saved.
-
_instanceName
- Type: str
A instance name.
-
_maxLen
- Type: int
Maximum length allowed for a file name which includes path.
-
_documentKeyValue
- Type: str
A document key value.
Return Value
Type:
str
A shorter name for saving to a pdf file
This method must be called in the changeDestination method.