RetailInfocodeTranslation::getDescriptionOrDefaultDescription Method
Retrieves a description of a reason code.
Syntax
client server public static Description getDescriptionOrDefaultDescription(RecId _infocodeRecId, LanguageId _languageId)
Run On
ClientOrServer
Parameters
- _infocodeRecId
Type: RecId Extended Data Type
The ID of a reason code for which a description is retrieved.
- _languageId
Type: LanguageId Extended Data Type
The ID of a language in which a description is retrieved.
Return Value
Type: Description Extended Data Type
A description of a reason code.
Remarks
If a description in language specified by the _languageId parameter is not found then a description in the system language is returned.