Thursday, 19 November 2015

How to full build in ax 2012


go to bin folder in ax folder
type axbuild.exe xppcompileall /aos=01 /workers=5 in command prompt
you'll get screens like below image.
let in run until you get below image. sometimes you might get blank screen with only "***". just hold it. it will run itself.


1. open command prompt (run as admin)

2. go to bin folder in ax folder in the command prompt.

3. type axbuild.exe xppcompileall /aos=01 /workers=5 in command prompt

4. you'll get screens like below



5. let in run until you get below image. sometimes you might get blank screen with only "***". just hold it. it will run itself.


Sunday, 15 November 2015

Allow RDC into computer.

Go to

Control Panel > System and Security > System

at remote tab, allow remote connection to this computer.


Tuesday, 10 November 2015

index at queryrun

it is possible to use index hint in query object. 

try :

queryBuildDataSource.addSortIndex(indexNum(MyTable, MyIndex));queryBuildDataSource.indexIsHint(true);


people use index hint in query is because to improve the performance we fetch the data by using Query object and in this query i can put Order by or group by options for sorting/grouping.

in the same way i can use index hint for particular datasource.



Thursday, 29 October 2015

Thursday, 15 October 2015

query not updated.

Hi,

Have you ever work with query in the class? and after do some changes to the query in the class, when you run it, the query is not updated?

Well, its because of the sysLastValue. It keep your query saved. So whenever you change the query, it still be using the old one, unless you delete the saved query at the sysLastValue.

If you realized, after you changed the query, when you debugged it, it does not go into your initQuery() method, but once you deleted the saved query, it will go into the initQuery() again, to get the new query to run. now! you'll have your new, fresh updated query run.

To delete the sysLastValue is, go to the aot:

AOT > System Documentation > Tables > SysLastValue

right click at the SysLastValue, go to the table browser, find your element name, and delete everything that is listed there related to your element. make sure you deleted the right one.

wallah! now you good to go! :)