Notexists Join 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 write the below code example for how to use notexists join in x++. 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)

   {

        DlvMode    dlvMode;

        SalesTable  SalesTable;

        int i;    

        ttsbegin;

        while select forupdate dlvMode

        notexists join SalesTable where dlvMode.Code ==   SalesTable.DlvMode

       {

            dlvMode.delete();

            i++;

        }

        Info(strFmt("Total deleted records - %1", i));

        ttscommit;

   }

...

In the code snippet above, you can change the code as per your requirements.

Post a Comment

0 Comments
Post a Comment
>
To Top