Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Bills of material with sub-bom Report

(0) ShareShare
ReportReport
Posted on by 131

I have requirement to create a new report of Bills of material which will show boms and sub boms in same report. Following is the current report with current data 

Bills_of_material

and client requirement is to get those blue color item also show in same report but now it will show when we click on LINE on menu

Bills_of_material

I have created a query to confirm its relation between tables which given below:-

select bt.BOMID,t.NAMEALIAS,b.ITEMID,b.UNITID,b.BOMQTY,b.BOMQTYSERIE,t.COSTGROUPID
from BOMTABLE as bt left join bom as b on bt.BOMID = b.BOMID
left join INVENTTABLE as t on b.ITEMID = t.ITEMID
where bt.BOMID IN(select b.ITEMID
from bom as b inner join BOMTABLE as bt on b.BOMID = bt.BOMID
inner join INVENTTABLE as i on b.ITEMID = i.ITEMID
where b.BOMID=' 051170500007' and i.COSTGROUPID = 'SFG')
union all
select bt.BOMID,i.NAMEALIAS,b.ITEMID,b.UNITID,b.BOMQTY,b.BOMQTYSERIE,i.COSTGROUPID
from bom as b inner join BOMTABLE as bt on b.BOMID = bt.BOMID
inner join INVENTTABLE as i on b.ITEMID = i.ITEMID
where b.BOMID=' 051170500007' and i.COSTGROUPID != 'SFG'

what will be the best way to create this report on dynamics ax 2012

  • Laraib Profile Picture
    131 on at
    RE: Bills of material with sub-bom Report

    Hi,

    Yes it is related to old one

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Bills of material with sub-bom Report

    Hi,

    Is this thread related to your other one here?

    community.dynamics.com/.../bills-of-material-report

    Best regards,

    Ludwig

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans