Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Negative Amount not formatted based on Regional Settings

(0) ShareShare
ReportReport
Posted on by 11,465

Hi,

I am using "Line Amount" from the Sales Invoice Line table in a Report.  I have set the Number formatting in the RDLC as Custom and specified the "Line Amount Format" which is appearing in the RDLC based on the Data Item.  I changed the regional settings to appear the Negative values as (XXX).  But for my dismay, on the report, the negative values are still reflected as -XXX. 

How to resolve this?

Best Regards,

MMV

*This post is locked for comments

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,749 on at
    RE: Negative Amount not formatted based on Regional Settings

    When you goto text box properties and select number there is an option called use Regional Settings try to check how that is set and for the report which is working and which is not working.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Negative Amount not formatted based on Regional Settings

    First i Checked as Fields!DescountAmountFormat.value there is no change and after i changed as thousand seperator it's also didn't work toooo......

    i don't Know why it is happend for some reportsonly.But it's  works fine for some Reports, when i given thousand seperator it displays + and - values.

    it's a strange behaviour,

    Regards,

    Ramesh.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,749 on at
    RE: Negative Amount not formatted based on Regional Settings

    What is the format value in the properties ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Negative Amount not formatted based on Regional Settings

    No suresh it's direct dataitem field like Cdec(Fields!DiscountAmount.value) but in this fields Values are +,- or both.

    + values prints fine but - values print likes (XXXX).

    Regards,

    Ramesh.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,749 on at
    RE: Negative Amount not formatted based on Regional Settings

    What is your source expression for the textbox? are you using Cstr(Fields!....value)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Negative Amount not formatted based on Regional Settings

    Number Format

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,749 on at
    RE: Negative Amount not formatted based on Regional Settings

    What format are you using currently ? Number or Custom ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Negative Amount not formatted based on Regional Settings

    Hi Rajasekhar,

    i tried above too,But it didn't work

    Regards,

    Ramesh

  • Suggested answer
    Rajasekhar@MS Profile Picture
    Rajasekhar@MS 5,567 on at
    RE: Negative Amount not formatted based on Regional Settings

    Can you check using CDEC(fields!lineamt.value).

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Negative Amount not formatted based on Regional Settings

    Hi Mahesh,

    Can You Find Solution for this Problem.I am also Facing same problem in one report only

    Can you suggest me,

    Regards,

    Ramesh.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans