Tuesday 29 September 2015

Get customized objects for different layer



Get customized objects for different layer


You might have the question that how to find the list of objects that are customized in user or cus layer in AX 2012 ? how to get list of customized objects in AX ? here are the steps to achieve that in AX 2009 and AX 2012.

Follow the steps to identify the all the customized objects by layer (USR, CUS, VAR, ISV)

Step 1: Create a new shared project.


You can rename your project as desired, we'll call it Customization_USR for now. Then open the newly created project.

Step 2: Choose Advanced Filter/Sort from the toolbar.


After opening the project click on Advance filter as shown in above image.

I want to group the objects same as in the AOT. So choose AOT for Groupings.

Step 3: Select the required objects.

Use the Select button on the dialog to select the objects you require for your project.
We want select all AOT objects from a specific layer, so we'll use the SysModelLayer / Layer field in the selection criteria for AX 2012.

For AX 2012 R2


For AX 2009 ,select layer in UtilLevel field



From the screenshot you can see that all objects from the USR layer are selected. If desired, you can limit the type of AOT objects for your project as well, by using the Element type name(AX 2012) and  recordTypefield (AX 2009).
This may take some time, so be patient :-)

To generate list of customized objects see below link

http://dextersdax.blogspot.com/2015/10/list-all-objects-of-shared-project.html

Wednesday 23 September 2015

Configure e-mail notification on workflow AX 2012 / R2

Configure e-mail notification on workflow

1.       Setup SMTP details


Go to System administration > Setup > System > E-mail parameters.


2.       Enter e-mail address of employees

Go to > System administration > Common > Users > Users
1.     Select a user.
2.     Click Options.
3.     In the E-mail field, enter the email address of the selected user.
4.     Click Close.

3.   Create a batch group  and assign batch server

Go to System administration > Setup > Batch group


4.    Create batch job

Go to System administration > Periodic > E-mail processing > Batch

-       Here select the batch group created in last point


5.     Create email template
Go to Organization administration > Setup > E-mail templates

Here create new email template with Ctrl+N
1.     Enter e-mail Id, Sender name, Sender email address and language
2.     In the below grid enter subject or %subject% which will get replaced from the workflow subject
3.     Click on the email message and enter message or %message%. This will replace by the workflow item instructions.


6.     Setup subject and message in workflow
For example, suppose that you entered the placeholder %subject% in the email template. In this example, when email is generated and sent to users, that placeholder will be automatically replaced with the text found in the Work item subject field. Similarly, if you enter %message% in the email template, that placeholder will be replaced with the text found in the Work item instructions field.



7.     Specify the email template on workflow create
When you configure the properties of a workflow, you can select the email template that should be used to generate email messages for the workflow.












     

8. Monitor outgoing emails
   Go to System administration > Periodic > E-mail processing > E-mail sending status.


Share your comments below if this helps you.

Friday 11 September 2015

Access is denied error while validate shared directory DMF/DIXF AX 2012

Error:

"DMF1942 at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.Authorization.
AuthorizationManager.CheckAccessCore(OperationContext operationContext)"

AX 2012
Solution :
1. Add AOS Service Account and DIXF Service Account (read/write access) to the folder specified in DMF parameters in shared directory.
2. Add service accounts to local group user group on server “Microsoft Dynamics AX Data Import Export Framework Service”
3. Restart server
4. Restart "Dynamics AX Data Import/Export framework service".