web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Last Used Inventory Item Report

(0) ShareShare
ReportReport
Posted on by 12

We are looking for a reporting method that will allow us to determine the date that an item was last USED.

Used may be Sold or Purchased

Used may be Built or Adjusted ( in or out via Inventory Count )

Client is using Horizon Light Manufacturing and core GP 2013 Inventory.  There are no other 3rd party and no other customizations in place.

We would like to use an Excel link to SQL or if possible stay in SmartList and build the necessary reports.

I believe I have the Last Order, Last Purchased from the Item Quantities table.  So my big ask is for the when last used - manufacturing or sales.

*This post is locked for comments

I have the same question (0)
  • c4c4571f00c7433e8415e0e1141719d2 Profile Picture
    1,110 on at

    hey bill, me also trying to get same data...but not succeeded yet, have u came to any solution...??

  • Suggested answer
    Community Member Profile Picture
    on at

    Use this one (this was created by Victoria) but you can modify to your needs

    SELECT I.ITEMNMBR Item_Number,

          I.ITEMDESC Item_Description,

          Q.QTYONHND Quantity_on_Hand,

          U.BASEUOFM U_of_M,

          CASE I.ITEMTYPE

             WHEN 1 THEN 'Sales Inventory'

             WHEN 2 THEN 'Discontinued'

             WHEN 3 THEN 'Kit'

             WHEN 4 THEN 'Misc Charges'

             WHEN 5 THEN 'Services'

             WHEN 6 THEN 'Flat Fee'

             END Item_Type,

          I.CURRCOST Current_Cost,

          I.ITMCLSCD Item_Class,

          coalesce(S.LastSale,'1/1/1900') Last_Sale_Date,

          coalesce(Q.LSRCPTDT,'1/1/1900') Last_Receipt_Date,

          coalesce(Q.LSORDVND,'') Last_Vendor

    FROM IV00101 I

    LEFT OUTER JOIN

        (SELECT ITEMNMBR, MAX(DOCDATE) LastSale

         FROM IV30300

         WHERE DOCTYPE = 6

         GROUP BY ITEMNMBR) S

        ON I.ITEMNMBR = S.ITEMNMBR

    INNER JOIN

        IV00102 Q

        ON I.ITEMNMBR = Q.ITEMNMBR

        AND RCRDTYPE = 1

    INNER JOIN

        IV40201 U

        ON U.UOMSCHDL = I.UOMSCHDL

    WHERE Q.QTYONHND <> 0

  • Community Member Profile Picture
    on at

    I am not familiar with Horizon Manufacturing as we use the GP manufacturing module. Are you using MO's? If so then to see true last used date on items you need to tap into the table(s) holding data of the material issued to MO's as well as sales transactions of the same item.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans