Monday, April 24, 2017

Top Ideas for Things to Develop in Axapta

Top Ideas for Things if You will  Develop in Axapta.

Single user License
You can try single instance access to Ax .As per this task user should not able to open more than on ax instance or client except admin user so all user restricted to open multiple session of ax.

Screen user login and password
Required login credential to open ax instance . Each user has own credential. In standard way user able to open ax without login screen.
Workflow Pending Aging
You can Show user details on which workflow is pending to approve. How much time its pending is treated as aging. This task done on form.

Workflow actions email alerts
All Pending Workflow with user need to send email to particular user as per provided template  format every day and Cancelled, Stopped, Unrecoverable workflow status should be send to email to admin user. Image in email header and signature included in email template you can try in code. Manual option also You can provide to send mail to user,usergroup and all users.
Above points if you apply for your customer then it will be very helpful .

Sunday, April 23, 2017

Advance Warehouse management (Mobile) Ax 2012

Advance Warehouse management (Mobile) Ax 2012

Design user control,Add lookup, Selected Index change code in Ax 2012

Design user control

To design user control you need to open visual studio then you can create new user control on form designer you can do below steps.
add data source-add formid-add axsection=add grid or group

Then Add lookup. 
Add dataset
add control for lookup and set dataset and fields in 
Add range on init method or any other method to get range value filter
Autopostback to true property on field to save data immediately.

selectedindexchangeevent code

 this.AxDataSource1.GetDataSet().DataSetRun.AxaptaObjectAdapter.Call("datasourceRefresh",DropDownList1.SelectedItem.Text);  

Steps to Restore EP Website menus in AX 2012

How to restore Enterprise Price menu if its missing or  In case of database restore and you are not abe to see your EP Page.

Then you need to Go to Home page on web menu ->Refresh data and dictionary

If  menu is not visible then check label on menu item put label if missing on going to AOT Web node.

Second step is Deploy user control if its customized one to particular module like sales or purchase etc or place where you want.

Third step is you can deploy page definition

Four step you need to check Manage content deploy for Web node in AOT

You also  need to import url page.

Tuesday, April 4, 2017

AX 2012 R3 Error for New Installation

Getting below error even Initialization Checklist  is completed and success.

"Enter the unique sequence number in the System parameters form that is opened from the Checklist"

Solution.

Go to SystemParameters table

Go to method validateThaiSoftwareSeqNo where you can find the field value should not be empty. 

\Data Dictionary\Tables\SystemParameters\Methods\validateThaiSoftwareSeqNo

I hope you have the solution for that error.