When compiling your code you might encounter the following warning: Parameters in the validtimestate clause must match the type that is specified in the ValidTimeStateFieldType property of table <table name>.
Some tables use the time state control, if they do there are two modes for this time state; date and datetime.
I have been testing the new CU7 AXBuild compile feature. It seems to work quite well. Comparing the compile time of the AXBuild to the standard AX compile time is as follows:
One of the most common overlooked areas of the DAX system is the compile. A clean compile will go a long way to making you system stable, which is critical part of the requirement for an ERP system.
There are two compile stages: X++ and CIL. The X++ compile consists of four element: Errors, Warning, Best Practices and TODOs.