EcoResProductTranslation::getDescriptionOrDefaultDescription Method
Retrieves a description of a product.
Syntax
client server public static EcoResDescription getDescriptionOrDefaultDescription(EcoResProductRecId _productRecId, LanguageId _languageId)
Run On
ClientOrServer
Parameters
- _productRecId
Type: EcoResProductRecId Extended Data Type
The ID of a product 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: EcoResDescription Extended Data Type
A description of a product.
Remarks
If a description in language specified by the _languageId parameter is not found then a description in the system language is returned.