Friday, September 23, 2011

How to enable and disable fields conditionally in Axapta Dialogs

Similar to forms, to enable and disable the fields conditionally in Axapta dialogs, the following steps to be followed:


1. In the class, declare the dialog variable as ‘DialogRunbase’




2. Override the dialogPostRun method in the class as follows:
public void dialogPostRun(DialogRunbase _dialog)
{
;

super(_dialog);

_dialog.dialogForm().formRun().controlMethodOverload(true);
_dialog.dialogForm().formRun().controlMethodOverloadObject(this);
}

3. Assuming the dialog field as fld3_1, override/create the method as follows:



To summarize the same, the ItemGroupId is the (fld3_1) field. Upon selecting the value in this field, the Division field should get disabled


Tuesday, August 23, 2011

A good video on Ax2012 - Inside Dynamics - Ax2012

Hi All,

Found a video on Ax2012 features, called
Inside Microsoft Dynamics AX 2012 - Usability

Downloadable from:

http://bit.ly/pisiH9
http://www.youtube.com/watch?v=CCyUcbTHuc4&feature=youtube_gdata

Link:
https://community.dynamics.com/product/ax/axnontechnical/b/axvideos/archive/2011/08/15/inside-microsoft-dynamics-ax-2012-usability.aspx

Monday, August 8, 2011

Deleting Transactions in Axapta

For deleting all the transactions in an Axapta company, in a quick way, the following steps to be followed:
1. Duplicate any existing company having data.
Administration--> Company Accounts --> Duplicate
2. Select the duplicated company.
3.Open SysDatabaseTransDelete class from the AOT.




4. Click on 'Yes' button from the 'Delete all transactions' window.



5. Export the company data in .dat and .def format from:


Administration -->Periodic --> Data export/import -->Default data --> Export


Such created .dat & .def files can be used for creating any new companies.

This way, we can have a company data without any transactions. Very helpful for creating new companies with setup data without any transactions.

Friday, July 22, 2011

Hi All,

Sharing my thoughts n experiences in Axapta.
Hope, they will be helpful.

Cheers,
Subhash