Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Inventory Availability by Lot No ?

Posted on by 768

Hello Experts

I have develop page bind with item ledger entry table i am trying to display the following fields on my page 

Item NO. , Lot No, LocationID and quantity from item ledger entry table on my custom page.

It is working fine but now i am trying to stop the line repetitions.

EG;

Item No.         Lot No.            LocatonID           Quantity

ITM-001          lOT-01            GREEN               2

ITM-001          lOT-01            GREEN               2

ITM-001          lOT-01            GREEN               3

ITM-001          lOT-01            GREEN               1

Now i am trying if item no , lot no and locationid is same then just display the line one time ? 

Just ignore the quantity because it is calculating perfectly just want to show the line one time .

Is there any possible way to do it if yes then how ?

That what i want to achieve 

Item No.         Lot No.            LocatonID           Quantity

ITM-001          lOT-01            GREEN               8

*This post is locked for comments

  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,868 Super User 2024 Season 1 on at
    RE: Inventory Availability by Lot No ?

    Use a temporary Item Ledger Entry table.

    Do a REPEAT UNTIL on Item Ledger Entry table, summarize the data, and insert it into the temporary table.

    You can then use that temporary table to display.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans