Help

Re: Multi Level Bill of Materials

6434 3
cancel
Showing results for 
Search instead for 
Did you mean: 
Btbml
7 - App Architect
7 - App Architect

Is it possible to build a multi level bill of materials? Similar to this

13 Replies 13

Not exactly as that diagram shows. Airtable’s records can’t be organized into a collapsible hierarchy. The closest you could get would be to add a field that specifies the “parent” record of a given item. For example, referring to your list, the “parent” for 8110-010 (Paint, Red) is the topmost BOM, 1080-000 (Red Wagon).

Collapsible isn’t important to me, but the tiered or indented functionality would be important.

Will this work? It plays off of the “parent” concept I mentioned previously, which will mean an extra step as you’re setting up your hierarchy because you have to choose the parent by its ID. I didn’t put in every row from your example, but enough to ensure that the hierarchy symbols build correctly.

Screen Shot 2019-05-03 at 3.08.49 PM.png

I wish it were possible to do all of this inside the primary field, but unfortunately that’s something that can’t be worked around due to all the field and table referencing going on (i.e. problems with circular references). However, if it’ll work, I’ll break down the steps for you.

Those seems Groups to me :man_shrugging:

The grouping UI wrappers take up a lot more screen space. If you’ve got groups within groups within groups, all that extra space adds up.

On top of that, groups work on individual fields. To nest groups, each grouping level has to operate on its own field, which means adding more fields to the table and trying to figure out the grouping order to make it all work.

And to cap it all off, groups don’t work on mobile (yet).

This structure gives you something that kinda-sorta behaves like groups, but without the UI-real-estate or field-count overhead, and it will still work on mobile devices.

Btbml
7 - App Architect
7 - App Architect

I guess I probably wasn’t the clearest. Building the table itself shouldn’t be a problem, I’m more curious if its possible to generate a report that digs down and gets the children as a new row below. @Justin_Barrett - in your screenshot example, how would your table work if a component had 2 parents?
Screen Shot 2019-05-06 at 11.56.26.png

To directly answer your final question, a component wouldn’t have two direct parents because it mimics the standard tree structure of the sample you posted originally, where any given item only has a single parent. However, to use the “Axel cap, red” item in that original diagram as an example, an item might be listed under more than one BOM (or assembly, to use the terminology of your second screenshot). That doesn’t mean it’s got two parents. It just means that some quantity of that item is needed in more than one assembly.

Your second diagram makes it a little more clear what you’re trying to accomplish, and also makes me think that the setup I proposed isn’t what you really want. However, there are still some fuzzy areas for me, the main one being why you’re tracking assemblies and parts in the same table. Again, I don’t have a complete grasp of what you’re aiming for, but based on what I understand now, my gut tells me that parts should live in one table, and assemblies in another. On top of that, I wouldn’t directly link to parts in the assemblies table. I would make a third table to do the connection, which would allow you to specify the quantity for each part tied to each assembly.

Here’s how these three tables might look. First the [Parts] table:

52%20PM

Then the [Assemblies] table, with the link field to the [Final Assembly] table visible. (This field was hidden in the [Parts] table, bit it’s also there.

48%20PM

And finally the [Final Assembly] table, where you link to both of the other tables to indicate how many of each part is needed for a given assembly. (The first field is an Autonumber field for simplicity.)

01%20PM

Back in the [Assemblies] table, the links from [Final Assembly] will let you look up all of the linked parts, collect their quantities, etc. for reporting.

Screen Shot 2019-05-06 at 4.44.18 PM.png

Will this work for what you need?

What you said makes sense. I need to think and plan this out further.

I am looking to understand the formula you have under the hood here in that Hierarchy field… i am assuming there is one (or multiple) hidden fields? been struggling to do something very similar to this this, but only really care what tier (how many indents in) a given record would be. Can’t figure out how to do this with a single formula.