Skip to Content
author's profile photo Former Member
Former Member

BOM Report without drill down

Hello,

I am trying to create a BOM report where the user inputs the father item and all the other child items are displayed below it, Including the childs of other father items inside the BOM.

Has anyone done this before ?

Some BOMs items are made of other BOMs.

Kind Regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Oct 16, 2019 at 07:54 AM

    Dear,

    Do you want this kind of report


    3.png (101.4 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 18, 2009 at 11:38 AM

    Hello Martin,

    You can create such a report by using recursive query. But such a report is already available in B1, wouldn't that suffice.

    Rahul

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 11, 2019 at 11:01 AM

    WITH DirectReports (code, Father, grandfather,pqty,cqty) AS ( select t0.code, t0.code as Father, t0.code as grandfather,t0.Qauntity [pqty],t1.Quantity [cqty] from OITT t0 LEFT join ITT1 t1 on t0.Code=t1.Code where t0.Code in ('[%0]') UNION ALL -- Recursive member definition select t0.code, t0.Father, d.Father as grandfather,t0.Quantity,t0.Quantity from ITT1 t0 INNER join DirectReports as d on d.code =t0.Father ) -- Statement that executes the CTE SELECT d.Father [Parent Item],i1.ItemName [Parent Name],d.pqty [Planned Quantity],d.code [Child Items],i2.ItemName [Child Name], d.cqty [Child Qty] FROM DirectReports d , oitm i1 , oitm i2 where d.father = i1.itemcode and d.code = i2.itemcode

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.