EcoResProductTranslation::getNameOrDefaultName Method
Retrieves the name of a product.
Syntax
client server public static EcoResProductName getNameOrDefaultName(EcoResProductRecId _productRecId, LanguageId _languageId)
Run On
ClientOrServer
Parameters
- _productRecId
Type: EcoResProductRecId Extended Data Type
The ID of a product for which a name is retrieved.
- _languageId
Type: LanguageId Extended Data Type
The ID of a language in which a name is retrieved.
Return Value
Type: EcoResProductName Extended Data Type
A name of a product.
Remarks
If a name in the language specified by the _languageId parameter is not found then a name in the system language is returned.