The following post will touch base on-
1. How we can execute a test job in AX7 which most of us already know in the good old AX 2012 as an AOT Node.
2. Use of ‘like’ operator- AX uses asterik ‘*’ character instead of ‘%’ which we use in SQL.
3. Changing Layouts of Retail Screens need not be tedious and time consuming by changing properties of each button manually.
class TestJob
{
public static void Main(Args args)
{
RetailButtonGridButtons retailButtonGridButtons;
update_recordset retailButtonGridButtons
setting BackColor=-65536,
BackColor2=-65536,
FontColor=0
where retailButtonGridButtons.buttonGridId like ‘*ABC*’;
}
}
On running the above code we get following screen on successful completion
-Hitesh Manglani