In the following illustration, the TransType data source is introduced in a model mapping. (The supported enumerations are application enumerations, data model enumerations, and format enumerations.) The GETENUMVALUEBYNAME and LISTOFFIELDS functions let you fetch values and labels of supported enumerations as text values. The value of this comparison expression is TRUE.The $IsArrivals expression is designed to use the model enumeration–based $Direction data source as a parameter of this function.This data source is configured based on the ReportDirection model enumeration. The $Direction data source is configured in an ER report.The following illustration shows these details: Notice that labels are defined for the enumeration values. In the following illustration, the ReportDirection enumeration is introduced in a data model. No exception is thrown if an Enum value isn't found by using the name of the enumeration value that is specified as a String value. ![]() Microsoft Dynamics 365 Finance enumerationĪ string value that represents the name of a single enumeration value.Electronic reporting (ER) model enumeration.The valid path of a data source of one of the following enumeration types: Syntax GETENUMVALUEBYNAME (enumeration data source path, enumeration value text)Įnumeration data source path: Enumeration Otherwise, the function returns the null enumeration value. If the Enum value is found, the function returns it. The GETENUMVALUEBYNAME function searches for a specific Enum value in the specified enumeration data source by using the enumeration name that is specified as a String value.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |