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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Working with customizing sales invoice

(2) ShareShare
ReportReport
Posted on by

How can I suppress zero's on the comment lines of an invoice?

Categories:
  • Stephen Pryke Profile Picture
    412 on at

    Also interested in this. For comment lines, we get a 0 in the discount % column which makes no sense (all other values in that line are blank - only the discount % shows a 0).

  • dano1968 Profile Picture
    on at

    ended up using report builder to suppress the Zeros

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Or use Blankzero property.

  • Stephen Pryke Profile Picture
    412 on at

    Thanks, Stefano. That sounds interesting - how would we do that? Sorry for me ignorance!

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Sorry, I see now that maybe you're referring to a report? BlankZero is a page field property that permits you to see a numeric field as blank if it's value is zero.

    In reports, you can set your field expression like:

    =code.BlankZero(Fields!MyField.value)

  • Stephen Pryke Profile Picture
    412 on at

    OK Thanks. We were wondering about a value that appears in the 1306 Invoice layout report. For some reason discount percentage appears as 0 even for comment lines. Perhaps there is something in the field properties, though. I'll investigate!

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans