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.
There is another way to achieve it but this is not correct approach but it can be used.
Here we are just checking date is set to minimum value 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.
Nice
ReplyDelete