Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Dynamics NAV 2017 - Report Builder

Posted on by 55

I have been racking my brains about this all day and i cant figure it out. I am building a brand new report, and I have added a load of fields from the "Purchase Line" table. When I select "View" --> "Layout" it opens the SQL report builder as i have "User Report Builder" set to "Yes". For some reason for some of the fields, it creates a duplicate column in the report with the field name but "format" on the end. E.g. "ProjectCode_PurchaseLine" was selected in NAV Dataset designer but when viewing layout in SQL Report Builder it has "ProjectCode_PurchaseLine" and "ProjectCode_PurchaseLineFormat". It does this 20+ fields, but not all fields strangely. I have tried to view layout with "User Report Builder" set to "No" so it opens in "Visual Studio 2013 - Shell (Integrated)" but this only shows the XML view of the report, not a visual view AND it still includes the duplicated columns with the "format" suffix. These fields don't appear in the table why are they here ? I can delete them in the report builder but then the report errors on compile and when I view layout the next time, all the "format" fields re-appear. Help :/

*This post is locked for comments

  • Djdave02002 Profile Picture
    Djdave02002 55 on at
    RE: Dynamics NAV 2017 - Report Builder

    Thanks for your response, however i was asking the question in a knowledge forum with the intention of expanding my own knowledge. Your response sounded a little condescending, it may not be how it was intended but it was how it was received, thank you for your information.

  • Verified answer
    TeddyH Profile Picture
    TeddyH 12,868 Super User 2024 Season 1 on at
    RE: Dynamics NAV 2017 - Report Builder

    There is no way to stop NAV from doing it. It will not cause any issue for you anyway.

    Just learn how to make use of it. It is not that difficult.

    One of the example where the format is useful is when you are using multiple currencies. Japanese yen will not have decimal points, dollars will have two decimals, etc.

    Using the format field, your report decimal points will be dynamically formatted by currency.

  • Djdave02002 Profile Picture
    Djdave02002 55 on at
    RE: Dynamics NAV 2017 - Report Builder

    Hi, thanks for the reply. If it automatically creates this variable, how do I stop it doing so ? I'm a bit new to NAV reports and I don't understand why it creates these and why I can't remove them as I don't need them. Sorry for me being naive

  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,868 Super User 2024 Season 1 on at
    RE: Dynamics NAV 2017 - Report Builder

    When you creating a report, a 'format' variable will be created automatically for each decimal variable. The value of this 'format' variable is something like "#.##000". This is done so  you can apply this value to the Format properties on the field on report layout.

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans