Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BOM - Is this structure "correct"?

Featured Replies

Hey there. I'm trying to build a BOM management system, which is proving to be difficult. Honestly, I'm not a Filemaker expert and I've never attempted something like this before.

I was thinking of having a report-style layout with sub-headers dividing layers... but I have no idea how to do something like that (if it is possible) recursive-style where "infinite" layers are possible.

Another issue was that I have nothing to determine the correct sort order with if I were to display the records by some means.

I found the following:

http://www.spf-15.com/fmExamples/

Which contained a basic BOM example where I pulled the recursive text List generator with indentation from.

This allowed me to see that the database "knows" where the parts are and on what level, but has issues using my methods to display the records in the proper hierarchy. Unfortunately, a pure text list is useless for me to generate reports with, manipulate data, or display appropriately.

Also, asking a part on an individual basis what level it is on can have issues using my poor method if it's part of a sub-assembly that is repeated else-ware in the same main assembly.

DYC8k.png

This is of because the child sums the level of the parent and then adds 1 to it, if there is more than 1 parent in the current assembly the levels are added to each other, which is wrong. However I couldn't think of another method of getting the parent(s) level dynamically. This is a calculation issue.

Do I need to know what level an object is on in order to display the full tree correctly in a report-style layout (if possible)?

Also, is it best to continue moving forward using the structure I have built and take up the other issues with the calculation and layout sections, or do I need to rethink the data structure?

I can't attach the database since it's a fmp12 file.

8CJw4.png

The layout is based off of Parts.

"I can't attach the database since it's a fmp12 file."

You CAN atttach the database; but it needs to be zipped first.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.