Tips on how to create country-specific customizations in Dynamics 365 Finance and Operations: Part 1
D365 F&O requires a different approach to customizations than what we were normally accustomed to in AX. One of the most important changes is that we are no longer able to overlayer our code, we now need to create extensions that will work with Microsoft’s upgrade cadence.
Lucky for us there exists an extremely useful feature in D365 F&O to improve the customizations for specific countries and maintain the functionalities working only for the needed countries.
Today I would like to talk about the CountryRegionCodes property, this property allows us to keep the functionalities separated by geographic region.
This allows displaying or hiding of functionality/objects depending on the legal entity that is selected and the Country it is configured in.
You may find the CountryRegionCodes property in the following Application Object Tree (AOT) elements:
Extended data type
Menu and menu items
Enum and enum value
Table and table field
Data entity and data entity field
View and view field
Map and map field
For example: in the next standard table in AX 2012 we have the property for the table Accountant_BR set to “BR” (Brazil). In this case this table only appears in the Menu for the Legal entity that has the Primary Address with Brazil Country .
In D365 F&O we have the same property for the list of the same objects before and it’s a set of powerful features we need to use, for example, Develop Customizations like Localizations for specific Countries (LATAM Localizations in my case)
Table for Ecuador Localization
Primary Address of Legal Entity.
The list of Country Codes is based on ISO 3166-1 alpha-2, you can find the complete list here.
In Pangea Group we have our Localization products work with this functionality and others that we will mention in the following posts.
Utilizing this approach in conjunction with other best practices we are able to maintain more than one Localization within the same environment without having to maintain multiple code sets that simplify implementation and speeds up end-user adoption.
Pablo is a Developer and Microsoft Certified Senior Technical Consultant from Perú with more than seven years of experience in the Microsoft Dynamics AX suite of business solutions, like AX 2009, AX 2012, and now 365 Finance and Operations. Pablo has worked on several multinational projects within the United States, Europe, and all Latin American Countries. Additionally, Pablo leads our LATAM localization team.
#Localizations #Microsoft Dynamics 365 #Microsoft Dynamics 365 Finance and operations