Tuesday, January 8, 2013

X++ Development Notes for Non-Developers 01 - Empty Date Values

If you need to set a date field to an empty date or if you need to check whether a date field is empty or not, you can use Global::datenull() function which basically returns the date "01/01/1900". Here is a simple example

if (mydatefield == datenull())

// You don't need to specify Global class name to access Global class functions


No comments:

Post a Comment