Today We are going to explore EDT'S and Base Enums from Basics in Dynamics Ax 2012. EDT'S: Extended data types (EDTs) are user-defined types, based on the primitive data types Boolean , integer, real, string, and date, and the composite type container. You can also base EDTs on other EDTs. BENEFITS: • Code is easier to read because variables have a meaningful data type. For example, Name instead of string. • The properties you set for an EDT are used by all instances of that type, which reduces work and promotes consistency. For example, account numbers (AccountNum data type) have the same properties throughout the system. • You can create hierarchies of EDTs, inheriting the properties that are appropriate from the parent and changing the other properties. For example, the ItemCode data type is used as the basis for the MarkupItemCode and PriceDisc...
Comments
Post a Comment