Check if a utcDateTime is Null in X++

 

To check if a UTCDateTime is null you can use Global::utcDateTimeNull()

if(this.ExpiryDate == Global::utcDateTimeNull())
{
.....
}

Comments