Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Financial dimension name contains invalid characters

(0) ShareShare
ReportReport
Posted on by

Dear all,

When I create a new financial dimension, I key in Chinese name in the ID, but system tell me "Financial dimension name contains invalid characters".  Like below:

_E06507689898_2.jpg

Ithink it is un-frendly for Chinese project.

How to solve this issue?

Thank you for your help.

*This post is locked for comments

  • Verified answer
    Mark Hong Profile Picture
    Mark Hong on at
    RE: Financial dimension name contains invalid characters

    Dear Sten,

    Thank you very much for your nice answer.

    And I have find out the solution of this issue.

    We can use the translation function on the top on financial dimension.

    I add a new language like "Zh-hans", then key in the Chinese description in the field like below:

    _AE5FE14FFE5647725F00_20180426141038.png

    After that, I can use the Chinese name if the I change the language in the user options.

    such as ledger dimension, default dimension, financial dimension in the vendor or customer and so on.

    But there are still a little flaw that the dimension name is English name.

    But it is OK for me.

  • Mark Hong Profile Picture
    Mark Hong on at
    RE: Financial dimension name contains invalid characters

    Dear Daniel,

    Yes you are right, it is a new contorl in 365. I am sure it is OK in 2012.

    Thanks for your help.

  • Suggested answer
    Daniel Weichsel Profile Picture
    Daniel Weichsel 1,657 on at
    RE: Financial dimension name contains invalid characters

    It looks like a product limitation and your scenario will not work.  From the validation code (application 7.3):

    // DimensionAttribute table
    public static boolean validateName(str _name) { // Restrict to names that are valid x++ identifiers, as dimension attribute names are used as table column names. const str identifierRegularExpression = @'^[_a-zA-Z][_a-zA-Z0-9]*$'; boolean isValidName = System.Text.RegularExpressions.Regex::IsMatch(strLRTrim(_name), identifierRegularExpression); //...etc...



  • Sten Baumgarten Profile Picture
    Sten Baumgarten 10 on at
    RE: Financial dimension name contains invalid characters

    Hi Mark

    I must correct my post to you since I was testing creating financial dimension values and not creating financial dimensions using zh-hans.

    I receive the same error message as you do, when I create a new financial dimension using zh-hans or use special signs like !"#¤¤%&/()

    Sorry that my suggested answer was not usefull

    Kind regards

    Sten

  • Suggested answer
    Sten Baumgarten Profile Picture
    Sten Baumgarten 10 on at
    RE: Financial dimension name contains invalid characters

    Hi mark

    I just looked in a Contoso environment that also have a legal entity with country/region China and in that environment Microsoft use numbers as dimension values and only use zh-hans in the description

    4834.language.jpg

    I can't see if you in the legal entity form have selected language zh-hans but you probably have:

    4834.language.jpg 

    When I create a new financial dimension value in the Contoso legal entity CNMF I'm able to create a new dimension value with zh-hans and save the dimension value without receiving an error:

    China.jpg

    This is from a Dynamics 365 for Finance and Operation version 8.0 environment. 

    If you have access to a Contoso environment I suggest that you compare your configuration with the one made in CNMF. 

    I hope you find the small detail that makes the difference. After adjusting your configuration i hope you can create the financial dimension values using zh-hans language. 

    Kind regards

    Sten

  • Mark Hong Profile Picture
    Mark Hong on at
    RE: Financial dimension name contains invalid characters

    Dear Prashant,

    Please refer to the below 2 pictures.

    4111.system.png

    4111.system.png

    contory.png

    I have set the system language as ZH-HANS in system parameters.

    And set the localized functionality region as China.

    And set the country code as CHN.

    But still error.

    I think it's a BUG maybe.

  • Suggested answer
    Prashant Singh Profile Picture
    Prashant Singh 8,797 on at
    RE: Financial dimension name contains invalid characters

    Dear Mark,

    Please check the system language setup. Country code in the system and ERP as well. Also check the localization in ERP system.

    Or arrange a session I will check all this for you.

  • Mark Hong Profile Picture
    Mark Hong on at
    RE: Financial dimension name contains invalid characters

    Thank you Prashant Kumar.

    I have tried the method you suggest, but it doesn't work. Still error info.

  • Suggested answer
    Prashant Singh Profile Picture
    Prashant Singh 8,797 on at
    RE: Financial dimension name contains invalid characters

    Dear Mark,

    Please try to change system language to Chinese. And then try. System will allow you to save the data unless that doesn't have special character.

    Regarding the language support. Below is the link will help you.

    kaya-consulting.com/what-languages-and-countries-are-supported-in-microsoft-dynamics-axdynamics-365-for-operations

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans