Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Inventory Item Transaction Details - MO

Posted on by

Hello There,

I am trying to find all the Manufacturing Order number  related to a given Inventory item number.  Basically if select or enter a Inventory item it should give me what all are the MO used this item so far.  Anybody tried this  or any suggestion for this.

Thanks,

babu

*This post is locked for comments

  • RE: Inventory Item Transaction Details - MO

    Thanks Bron I missed your answer

  • RE: Inventory Item Transaction Details - MO

    Hi Richard & Mohmoud,

    Thanks to both of you for clarifying this.  Thanks a log Mahmoud for providing the code, should work for me and I can create a SSRS report taking the item no. as input and display the output.

    Thanks,

    Babu

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Inventory Item Transaction Details - MO

    Babu,

    Find the script below for Mo_Activity_View, all you need to do is to filter by the "required item number" to get all manufacturing orders related to this item. Of course, this includes both "Issue" and "Finshed Goods" items (in and out)

    SELECT  A.MANUFACTUREORDER_I,
            CASE A.MO_ACTIVITY_REASON_I
            WHEN 34 THEN 'Issue'
            WHEN 39 THEN 'Finished Good Post'
            ELSE ''
            END AS ReasonCoede,
            CASE A.DOCTYPE
            WHEN 1 THEN 'IV Transaction'
            ELSE ' '
            END AS Document_Type,
            B.DOCNUMBR,
            B.DOCDATE,
            B.ITEMNMBR,
            B.QTYBSUOM*B.TRXQTY AS Quantity
            FROM [MOP10213] AS A
            LEFT OUTER JOIN IV30300 AS B
            ON A.IVDOCNBR = B.DOCNUMBR
            WHERE A.DOCTYPE = 1
            ORDER BY A.MANUFACTUREORDER_I, A.IVDOCNBR


  • Verified answer
    Bron Profile Picture
    Bron 4,887 on at
    RE: Inventory Item Transaction Details - MO

    Babu -

    I've found that the MOP10213 table (mfg activity) is pretty good starting point. It takes a little bit of effort to understand - example Numerical activity codes represent types of transactions - it does store the Inventory adjustment document number which can be linked to the IV30300 table to get specific item numbers and costs.

    Basically the table represents the data an end user would see if they go to the manufacturing activity (under inquiry) screen..........

    Regards.........

  • Suggested answer
    Richard Whaley Profile Picture
    Richard Whaley 25,195 on at
    RE: Inventory Item Transaction Details - MO

    MO numbers are not associated with item numbers but they are associated with inventory transactions that add each batch of those items to inventory.

    In Inventory, under Inquiry, select Transaction Inquiry.  Enter the item number you are researching.  On the inquiry window, check the sort by date.

    Find the transaction that placed the item in inventory, highlight it, and click on the Number hyperlink.  In the Source field will be the MO number.

    If you have your items serial or lot tracked, you can use the Serial/Lot Trace inquiry and chase a specific serial or lot number trough the item's history to the MO that created that specific unit.

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,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