Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Query

Posted on by 3,027

Hi

  How to get a list of items which have purchased before 30/06/2017 and Sale or Transfer after 30/06/2017.

Thanks

*This post is locked for comments

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Query

    I think that to solve this case the best way to do is to handle the requirements via C/AL code.

    You can:

    1) Write a codeunit that loops through Item and checks if they are purchased (Purchase Line), on sale (Sales Line) and transferred (Transfer Line). Here you have to apply the filters you want.

    2) If an item is ok with all your requierements, you can place it on a Temporay Item Table (you can declare a variable of Type = Record, Subtype = Item and set the Temporay property to YES).

    3) At the end, you can run a page (Item List) with SourceTableView your temporary 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

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans