Monthly Archives: February 2006

Dialog screen events

Some body may wonder if it is possible to use control’s event methods in dialog just like what we do in the form. For instance, the change of a given dialog control’s value will result in changes in other control’s … Continue reading

Posted in Axapta Development | Leave a comment

Access a method of formDataSource’s field

In Axapta, it is allowed to create methods under formDataSource’s field. But how to access those methods, for example, in the scope of a control’s modified method?Here is the answer:    void modified()    {        object fieldNameRef;        super();         fieldNameRef = tableName_ds.object(fieldNum(tableName, fieldName));        fieldNameRef.methodName();    … Continue reading

Posted in Axapta Development | Leave a comment

Adding covering indexes for aggregate function

It is always recommended to use aggregate function (like sum, avg, minof, maxof and count) in queries where applicable in Axapta. If you run this kind of query frequently, it is considerable to add a covering index for the query. … Continue reading

Posted in Axapta Development | Leave a comment

Start batch jobs automatically in Axapta

If somebody is looking for a way to automatically start an existing batch-job, here I will show you the simple way under Windows XP environment. Before we start, it is assumed you have the basic knowledge to set up batch … Continue reading

Posted in Axapta Development | Leave a comment

Keep as few indexes as possible

Indexes are stored on the disk and the amount of space required depends on the size of the table and the number and types of columns used in index. Sometimes you may feel very surprised that the indexes will take … Continue reading

Posted in Axapta Development | Leave a comment

Microsoft Business Solutions Certified Master

Master level certifications are Microsoft Business Solutions premier certifications. They are an accumulation of exams that satisfy certain predefined requirements. Each Master level certification requirement contains core exams that are required and possible elective exams in which a specified number … Continue reading

Posted in Axapta Development | Leave a comment

Performance optimization: X++ coding

There are several coding tips to improve your Axapta system’s performance:1. Use local cachingTake a value that is constantly calculated inside a loop out of that loop, and place it in a variable that is then used inside the loop. Using … Continue reading

Posted in Axapta Development | Leave a comment