Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Answered

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 :/

  • 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,861 Moderator 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,861 Moderator 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.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

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

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,353 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,251 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans