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.

Dynamic Inventory Pricing

Featured Replies

Was trying to find the right place to put this, hopefully I will get some answers here.

 

So basically I am trying to create a matrix style inventory database. The basic idea is that we have about 200 products and 700 or so customers. For the 200 products, each customer may pay a slightly different price. For invoicing purposes, I would like for FileMaker to know what the price of a product is once a customer is selected.

 

Now I am looking at this in two ways, there could be more, which is why I am here!

 

 

I figure that one approach is to have a table for each customer, with two columns: product # and price.

 

Second approach is to have a table for each product, with two columns: customer id and price.

 

 

 

Ideally, I would want a table with the far left column as the customer ids, and the column headers be the part numbers, thus creating a sort of price matrix. This would require a ton of column headers, which I am fine with if this is the best solution, but I figured I would see if anyone else has suggestions.

 

Thanks.

I figure that one approach is to have a table for each customer, with two columns: product # and price.

 

Second approach is to have a table for each product, with two columns: customer id and price.

 

Now combine those two approaches, and instead of many tables, use one table with many records: each one a combination of customer, product and price.

 

Displaying those data in a matrix is an altogether different matter. I think that using a looping script to produce an HTML table is the most flexible approach: the only fixed element is the Web Viewer (its dimensions, to be precise) in which you display this table; everything else comes dynamically from your data – the number of columns and rows and the contents of the cells.

  • Author

Ahh thank you for your reply. That makes total sense, I think I was over thinking the problem! I guess I was stuck in an Excel world.

 

I don't necessarily ever have to view it in matrix form, it was just my term to help describe the kind of design I wanted, but now that you mention the HTML table, perhaps I could think of some uses. Very helpful thank you!

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.