Thursday, April 30, 2015

How to create a InfoPart in Ax 2012 R3



Once you can say you have developed something that you can reutilize in others objects such as forms, you have to think about creating a info part.

In this example I will show you how créate a InfoPart.

Fisrt, we need the idea.

Let’s check the VendTableListPage Form.





We have a list where we can review information about address, taxes, roles, etc.


We can include the payment info to explain the infoParts, and now we can say we  have the idea.

Now, we are going to créate the query with the following data source : VendTable (from the vendTable table).



Next step, create the InfoPart, in this case we're gonna use VendTablePaymentInfoPart

 


And we will assign the previously created query vendTablePaymentInfo




Add to layout payment information and in their property will set the data source and data set table VendTable


 


Then we generate a menu display our infoPart

 


Use the properties described below.

 





And in this form, we will add a PartReference our infoPart as shown below.


 






In the form, it appears as follows: