Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Retrieving Applied Entries - Item Ledger

Posted on by 35

Hi,

I'm trying to figure out how I can extract a list that would tell me qty and Entry No_ that were applied to some entry in the Item Ledger.

Example:

Let's say I use FIFO and purchase  10 of an item creating  Entry No. 1, I  then purchase more 20 at entry no. 2, resulting in 30.  Now I sell 20 of this item resulting in Entry No.3, so I'd like to extract a report where I could for example know that I specify Entry no 3, and I would be able to see all associated entries on it( in this case 10 of entry 1 and 10 of entry 2).

I know I can do that manually from the Application Worksheet / Looking at the Applied Entries, but I need to look a very long list, I also didn't find any table on the SQL server for the Applied Entries, so I could query it. I also have the Jet report tool but didn't have luck.

Any ideas?

  • victorpbr Profile Picture
    victorpbr 35 on at
    RE: Retrieving Applied Entries - Item Ledger

    On Point!  Was able to do it using this tip! Great thanks!

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Retrieving Applied Entries - Item Ledger

    Victor,

    Not sure you are a programmer trying to create a new Page that make your request easy or a report. In either case, Inge's reply tells you a developers path the create the page or report. If you are not a programmer, you can ask your Partner to create such a report for you.

    This is the fastest way to get the information you are looking for.

    Hope this helps.

    Thanks,

    Steve

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Retrieving Applied Entries - Item Ledger

    You should take a look at Codeunit 5801 "Show applied entries" and see there how they display the applied entries in the standard application.

    You should find some code there that you can reuse in your report. You might even be able to use the codeunit to fetch the data for your report.

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

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans