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 NAV (Archived)

Format 0's to not show(or white) on invoice etc

(0) ShareShare
ReportReport
Posted on by

Hi,

On my invoice, offers etc. I often have items, with units, price and total being 0(or 0,00)

How do I get it not to show these 0 - though I still wanna see the description on the item on that line.

(This is on custom layout - WORD)

*This post is locked for comments

I have the same question (0)
  • Verified answer
    keoma Profile Picture
    32,729 on at

    you can set field's property blankzero to yes.

  • Suggested answer
    Ashwini Tripathi Profile Picture
    4,624 on at

    You can take text type field in report.  Format your variable using some code in report designer inside Navision on after get record trigger. Add this field in your word layout rather than decimal fields.  In case blank on zero doesn't work for word layouts.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    You have to use format function for the same

    Look at this link

    msdn.microsoft.com/.../dd301367(v=nav.90).aspx

  • Suggested answer
    Binesh Profile Picture
    7,885 on at

    Hello,

    Take text type Global Variable in report and write code in OnAfterGetRecord

    IF DecimalValue > 0 THEN
    EVALUATE(TxtVariable,DecimalValue)
    ELSE
    CLEAR(TxtVariable);

    And In Report Update this TxtVariable.

    For More Info see Word Layout reports data control by C/AL

  • Verified answer
    Rabin Profile Picture
    2,976 on at

    I agree with Archer and Ashiwini,

    1. Changing the property "blankzero" to Zero will work...

    2. If you want to do the same in Report then you can write IIF expression here...

    3678.a.png

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    Also, kindly check this link:

    dynamicsuser.net/.../decimal-should-print-as-blank-if-it-is-zero

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 NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans