![]() In this way, the details of every enumeration value are exposed. The LISTOFFIELDS function is used to return all enumeration values as a list of records that contain fields. This data source is configured based on the TransType application enumeration. The following illustration shows the TransTypeList data source that is configured in a model mapping. This data source refers to the LedgerTransType application enumeration. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |