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

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Tables to use for manufacturing report

(0) ShareShare
ReportReport
Posted on by 2,395

Hi all, i'm trying to make a smartlist where it will show the manufacturing order status (complete, closed, cancelled, partially received) and that will display the qty recived but just for the parent items, not all the parts on the BOM, just the parent, but can't seem to find the correct tables to use, could someone point me on the right direction?

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Redbeard Profile Picture
    12,931 on at
    RE: Tables to use for manufacturing report

    Alvaro,

    The tables you are looking for are as follows:

    select * from WO010032 as WO -- Work Orders

    left join MOP1100 as RCPTS -- RCPTS

    Here's a query to get you started:

    select
    case WO.MANUFACTUREORDERST_I

    when 0 then 'Invalid Entry'
    when 1 then 'Quote/Estimate'
    when 2 then 'Open'
    when 3 then 'Released'
    when 4 then 'Hold'
    when 5 then 'Canceled'
    when 6 then 'Complete'
    when 7 then 'Partially Received'
    when 8 then 'Closed'
    else 'Unknown'
    End MO_Status
    ,WO.MANUFACTUREORDER_I 'MO_Number'
    ,wo.ITEMNMBR 'Item_Number'
    ,wo.DSCRIPTN 'Description'
    ,wo.ROUTINGNAME_I 'Routing_Name'
    ,convert(char(10),wo.STRTDATE,101) 'Start_Date'
    ,convert(char(10),wo.ENDDATE,101) 'End_Date'
    ,wo.STARTQTY_I 'Start_Qty'
    ,wo.ENDQTY_I 'End_Qty'
    ,wo.DRAWFROMSITE_I 'From_Site'
    ,wo.POSTTOSITE_I 'To_Site'
    ,wo.PICKNUMBER 'Pick_Ticket'
    ,RCPTS.QTYRECVD Quantity_Received
    --,wo.BOMNAME_I 'BOM_Name'
    --,wo.BOM_REVISION_LEVEL 'BOM_Revision'
    from WO010032 as WO
    left join MOP1100 RCPTS
    on WO.MANUFACTUREORDER_I = RCPTS.MANUFACTUREORDER_I

    Here is a link to a blog post I wrote on creating a SmartList using SmartList Builder from this query:

    http://redbeardblogging.blogspot.com/2014/10/how-to-create-smartlist-using-smartlist_6.html

  • Alvaro Rodríguez Ochoa Profile Picture
    2,395 on at
    RE: Tables to use for manufacturing report

    Thanks Redbeard, this is a great starting point for me, thanks a lot!

  • Redbeard Profile Picture
    12,931 on at
    RE: Tables to use for manufacturing report

    You are welcome sir!

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans