How to check null date field in dynamics 365 finance and operations using x++ code

0

How to check null date field in dynamics 365 finance and operations using x++ code
In Microsoft Dynamics 365 Finance and Operations (D365 FO), you can check null date field in two ways using x++ code. You can copy and paste the below codes and change them as per your requirement. Here's an example of how you can achieve this:

internal final class CodingSpiderCodingExamples

{  

   public static void main(Args _args)

   {

        if (endDate != Global::DateNull()) 

        if (endDate != mkdate(1,1,1900))

   }


Global::DateNull() functions is used to check the null date field in Microsoft dynamics 365 finance and operations using x++ code.

Post a Comment

0 Comments
Post a Comment
>
To Top