You can achieve this using below steps:
1) Create a sales order.
2) Click on Add Lines button.
3) Click on Filter > Advanced Filter or sort
4) You need to add joins below InventTable (items) > BOM > BOMTable > BOMVersion
5) Some ideas on how to add the table
a) Select Items , Click on Add table Join
b) Click on Show details, Filter with word "BOM" in last column, Select the BOM Lines, and click on button "Select".
c) This will add BOM table below the InventTable,
d) Similarly add more tables ...
6) Then give the filter for Main Item for which you want to see the components:
7) Save this query at the top: For the next time
8) Click Ok button. You will get list of those items which are part of BOM lines along with the inventory dimensions let say Site 1, Site 2. Here you can use display dimensions option to validate at site/warehouse/batch/size/color .. and filter for particular site as well.
Next time, you need not to add these joins again, just go to filter, select your query "BOM_Lines_Details_OnHand". Then give the item id for which you want to see the BOM Line items On-hand.
You can validate from the BOM versions: Only these items are used above.. also you can play around the filter option for more accurate filteration.
Hope this answers your question. In case of any further queries, please let me know.
If this helped, please mark it as "Verified" for others facing the same issue Keep in mind that it is possible to mark more than one answer as verified
Regards,
Neeraj Kumar