Introduction
If you install DEV/TEST environment for D365 for FO and switch to ‘RUMF’ company, you get the following warning message:
Trying to use unsupported country or region code RU
This means that Russian functionality is locked, since it has not been officially released by Microsoft yet. But still Russian functionality is inside current D365 for FO releases, it is just switched off.
What you can do if you still want look at Russian functionality in spite it is raw and not officially released? You can do small extension to unlock Russian functionality.
Implementing the extension
In order to unlock Russian functionality until it is officially released, you can implement simple extension in your D365 for FO extension model.
First, create extension model named ‘RU Unlock’, select extension approach.
Create ‘RU Unlock’ model – Step 1
Create ‘RU Unlock’ model – Step 2
Select “ApplicationPlatform” and “Directory” as referenced packages:
Select referenced packages
Now, when the model is ready, create the class “SysCountryRegionCodeEventHandler_AWR” with the following code:
class SysCountryRegionCodeEventHandler_AWR { [SubscribesTo(classstr(SysCountryRegionCode), staticDelegateStr(SysCountryRegionCode, onCountryRegionSupportedCheck))] public static void onCountryRegionSupportedCheck( LogisticsAddressCountryRegionISOCode _countryRegionCode, EventHandlerResult _ret) { #isoCountryRegionCodes if (_countryRegionCode == #isoRU) { _ret.booleanResult(true); } } }
We’ve created subscription to system method “onCountryRegionSupportedCheck” and return ‘true’ for ‘RU’ country code. This switches on Russian functionality and removes warning when you select company witch ‘RU’ country code.
You can now build the project, switch to ‘RUMF” company and check that Russian functionality is enabled. For example, you can see Russian factures journal.
Russian functionality – Facture journal
Conclusion
You can apply this extension only to DEV/TEST environments at your own risk, just to get overview on how Russian functionality in D365 for FO looks like. Applying to PROD is not recommended at all. This is because Russian functionality is not officially released by Microsoft and it is raw. Some functional blocks are not working correctly or are not working at all.
Official release of Russian functionality by Microsoft is planned for the Fall’2018.
*This post is locked for comments