Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 51311

AX 2012 - how to use 'NOT LIKE' in AX statements

$
0
0
Please note that I am using ! after 'where' keyword to reverses the effect of 'like' 

staticvoidNot_Like(Args _args)
{
    #define.createdBy('faisal')
    InventTable     inventTable;
   
    whileselect inventTable
        where!(inventTable.ItemId like'I*')
    {
        // do your logic  
    }

}

Viewing all articles
Browse latest Browse all 51311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>