Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Groupby Item Ledger entry table.

Posted on by 18
Hello everyone, I have created an excel report using location table, item ledger entry table and item table. These all are nested data items. In the item dataitem I have provided dataitemlink as DataItemLink = /No./ = field(/Item No./), /Location Filter/ = field(/Location Code/);
I have used inventory and qty on purch order from item table. The problem is that there are multiple entries for same item no. in ledger entry table therefore item table column are repeating itself due to dataitem link. I want the row to be displayed only once for a particular item no.
 
Categories:
  • CU02051440-0 Profile Picture
    CU02051440-0 18 on at
    Groupby Item Ledger entry table.
    I have tried the group thing. Its still giving the same result. Can you please provide a sample code.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    Groupby Item Ledger entry table.
    Hi, personally, I recommend using Query + Temporary Table + Report, which is the most efficient and the least coding.
     
    Hoe this can give you some hints.
    Thanks.
    ZHU

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans