web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Cheque report Amount cur field (Comma separator)

(0) ShareShare
ReportReport
Posted on by 550

In cash and bank management, I am trying to develop a check report for an Indian client for which I have made some modifications in Cheque_Uk report which is present in the base system. Everything is working fine except the Amout Cur (Numeric ) field which is being printed on the check. Th comma seperator which is displayed is based on millions/billions system .

However indian client requirement is that the comma should come in thousands format.

For eg (12,234) however its coming like(223,342)

I have tried all the approaches from changing regional settings of the system to the formatting that particular field through SSRS design.

Still no changes are refelected on that numeric Amount field.

Kindly suggest  how can that be achieved in AX 2012 R3,  Is it even possible or not  ??

Thanks in advance!!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Bashir Ahmad Profile Picture
    5,248 on at

    You may use these expressions for the value:

    =replace(Format(12345.3456, "## ### ##0.###")   ,".",",")

    =replace(Format(3455.34,    "## ### ##0.###")   ,".",",")

    =replace(Format(654677,     "## ### ##0.###")   ,".",",")

    =replace(Format(145.4565727,"## ### ##0.######"),".",",")

    also:

    community.dynamics.com/.../84011

  • Bashir Ahmad Profile Picture
    5,248 on at

    The issue is in AX2012 R2. Financial statement generated in Excel shows incorrect values- wrong Decimal separator, Thousands separator missing and wrong number of Decimals, when:

    - Decimal separator- set to Comma

    - Thousands separator- set to Point

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    I think you would have bright chances of getting a more valid answer here, because ax don't knows what SSRS doing with format, after throwing data.

    Job of ax is finished after data is thrown

  • karan sambher Profile Picture
    550 on at

    Dear Bashir Ahmad,

    Kindly specify where and how  do i have to use this expression in Visual Studio ??

  • karan sambher Profile Picture
    550 on at

    thanks Sohaib.

  • Verified answer
    Manmohan Mehta Profile Picture
    1,185 on at

    Hi Karan, 

    Follow the steps to resolve the issue:

    1. Go to text box property and change the text box format to "C0" (c and zero)
    2. Go to report Property and change the reporting language. In your case its "en-in"
    3. Now Go to text box property , Numbers -->select currency and select below settings: 2860.Capture.PNG
    4. Now go to textbox expression and write the following expression :

    =format(field.value,"C0")

    eg. =format(Parameters!Parameter1.Value,"C0")

     

    Hope It helps !!

  • Manmohan Mehta Profile Picture
    1,185 on at

    Thanks Karan, also here C0 is used for zero precision where as you can use C1, C2 etc for different precision values.

  • karan sambher Profile Picture
    550 on at

    Dear Manmohan,

    Thanks for this post, its doing wonders. I was struck with this issue from past few days now it stands resolved :)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans