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

Cal Code for Report

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

  I am using the Item Table. I want only those items from Item which have Gen Post Prod Group = 'XY'. Then i want to sum the Quantity and Amount of that item from Sales Invoice Line. I want to Group report Item Wise. What should be the Cal Code

Thanks

*This post is locked for comments

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

    first check my answer from community.dynamics.com/.../241695

    also add a flowfield for the item."Gen Post Prod Group" in table "sales invoice line".

    then you can filter by the new field.

    then create a report with the needed dataitem and fields.

    in the report layout add a tablix.

    in the details line add the report fields.

    view group properties of the details line: group the details line by ItemNo, also sort by ItemNo.

    to sum up quantity and amount use sum([Amount]), sum({Quantity]) in the details line.

    also check out:

    https://community.dynamics.com/nav/f/34/t/240096

    https://docs.microsoft.com/en-us/sql/reporting-services/lesson-6-adding-grouping-and-totals-reporting-services

  • ManishS Profile Picture
    86 on at

    You can put filter on the view of item table, second indent sales line and set the link of item to sales line item.

    Grouping should not be an problem as your main data item is item table.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans