Using the date effectiveness feature
Date effectiveness is a new feature in Dynamics AX 2012 allowing developers to easily create date range fields. Date ranges are used for defining record validity between the specified dates, for example, defining employee contract dates.
This feature significantly reduces the amount of time that developers spend writing code and also provides a consistent approach to implement data range fields.
This recipe will demonstrate the basics of date effectiveness. We will implement date range validation on the standard E-mail templates form.
How to do it...
Carry out the following steps in order to complete this recipe:
- In the AOT, find the SysEmailTable table and change its property as shown in the following table:
Get Microsoft Dynamics AX 2012 Development Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.