Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Multiple line items on report

(0) ShareShare
ReportReport
Posted on by 3,225

Hello,

I created an excel report using the Item Master, Item Quantity Master, and the Inventory Sales Summary Period History tables.  My fields that I am including are Item Number, Item Class Code, Summary Period per Month, Year, Summary Qty, Location Code, Qty on Hand, and Qty on Order. I put in a restriction of the Year being greater than 2012 The problem I am running into is that it is bringing in multiple line items per item.  For example Item Number XX701 is shown 24 times.  So I am assuming that it is bringing it in for each month of the year even though no activity may have taken place.  I will try and paste an example below.  How would I get it to show just one line item per item?

Thank you,

Item Number Item Class Code Summary Prd/Mth Year Summary QTYS Location Code QTY On Hand

CR114 11BAA 3 2014 23 0

CR114 11BAA 3 2014 23 0

CR114 11BAA 3 2014 23 0

CR114 11BAA 3 2014 23 60

CR114 11BAA 3 2014 23 55

CR114 11BAA 3 2014 23 0

CR114 11BAA 3 2014 23 0

CR114 11BAA 3 2014 23 5

CR114 11BAA 3 2014 23 0

CR114 11BAA 3 2014 23 0

CR114 11BAA 3 2014 23 0

CR114 11BAA 3 2014 23 0

*This post is locked for comments

  • Suggested answer
    Victoria Yudin Profile Picture
    22,768 on at
    RE: Multiple line items on report

    Katie,

    The Sales Summary Period History table will show two lines per period with activity for the item, one for the calendar year and another for the fiscal year. This is controlled by field SMRYTYPE (Summary Type). That would most likely explain why you see 24 lines for a year. (Note that this table will not show a period with no sales.)

    If your fiscal year is the calendar year, the data would be identical and you can just pick one or the other. If your fiscal year is not the calendar year, you would just need to decide which of those you want to see and filter on that. From victoriayudin.com/.../:

    SMRYTYPE (Summary Type):

    1 – Calendar

    2 – Fiscal

  • L Vail Profile Picture
    65,271 on at
    RE: Multiple line items on report

    Hi Katie,

    The problem will be how you joined the tables. If you will post your query, we can let you know what went wrong.

    Kind regards,

    Leslie

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans