SrsPrintDestinationTokens.expandToken Method [AX 2012]

Finds the expansion of a token.

protected str expandToken(SrsPrintDestinationToken _token, SRSPrintDestinationSettings _settings)

Run On

Called

Parameters

_token
Type: SrsPrintDestinationToken Extended Data Type
A token.
_settings
Type: SRSPrintDestinationSettings Class
A instance of class SRSPrintDestinationSettings

Return Value

Type: str
The expanded token.

ExceptionCondition
Error

An supported SRSPrintMediumType enum value was specifid in _settings.

The expansion is controlled by the chain of responsibility. Tokens that may have meaning to more than one token type will be expanded by the earliest token type on the chain.

Community Additions

ADD
Show: