Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Smart List with qoh and lot\serial numbers ??

Posted on by 5,080

Is there a smart list that will show QOH with serial number\Lot numbers??

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Smart List with qoh and lot\serial numbers ??

    Here's a select statement you could turn into a view for SLB.

    SELECT RTRIM(A.ITEMNMBR) ITEMNMBR

    , RTRIM(A.ITEMDESC) ITEMDESC

    , B.LOCNCODE

    , COALESCE(RTRIM(C.SERLNMBR), RTRIM(D.LOTNUMBR), '') LOT_SER_NO

    , COALESCE(CASE WHEN C.SERLNMBR IS NOT NULL THEN 1 ELSE NULL END, D.QTYRECVD-D.QTYSOLD, B.QTYONHND) QTY_ON_HAND

    FROM IV00101 A

    JOIN IV00102 B ON A.ITEMNMBR = B.ITEMNMBR AND B.RCRDTYPE = 2

    LEFT JOIN IV00200 C ON B.ITEMNMBR = C.ITEMNMBR AND B.LOCNCODE = C.LOCNCODE AND C.SERLNSLD = 0

    LEFT JOIN IV00300 D ON B.ITEMNMBR = D.ITEMNMBR AND B.LOCNCODE = D.LOCNCODE

    WHERE B.QTYONHND <> 0

    -Trevor

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Smart List with qoh and lot\serial numbers ??

    IV00200 = serials on hand; IV00300 = lots on hand

    -Trevor

  • Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    RE: Smart List with qoh and lot\serial numbers ??

    Not out of the box.

  • Tami Farrelly Profile Picture
    Tami Farrelly 5,080 on at
    RE: Smart List with qoh and lot\serial numbers ??

    And what tables hold the serial numbers on hand?

  • Suggested answer
    Howard Swerdloff Profile Picture
    Howard Swerdloff 845 on at
    RE: Smart List with qoh and lot\serial numbers ??

    No, you would need to use SmartList Builder in order to get that information.

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