Posts

Showing posts from December, 2016

Validate Date is Null

We often need to check check date time is null or not during coding. Dynamics AX provide global class which contains some helper methods one of them is datenull. You can use it compare date whether is null or not. Global::DateNull() There is another way to achieve it but this is not correct approach but it can be used. mydate != mkdate(1,1,1900) Here we are just checking date is set to minimum value  or not.