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.

More than 1, one to many relationships help needed

Featured Replies

Hello All, great to be part of the Forums. I have just started working on a FM9 database and am trying to relate 1 customer to multiple inventory items which is also related to another point of sale table and delivery table. The layouts and relationships I've been trying to create ultimately turn into dead ends. I've attached a couple screenshots of what I have, one is the layout with one inventory item which I don't want new inventory items, just to relate multiple records from the inventory table. The other attachment is my relationship graph, any help would be much appreciated. Thank you.

layout.jpg

relationship.jpg

trying to relate 1 customer to multiple inventory items

I think that customers should not be related to inventory items.

Sounds like you are looking for and Invoice table where you choose the customer and then that customer can purchase any item that is in inventory table?

Something like:

Inventory

Line_Items

Customer

Invoice

Inventory (ItemID) = Line_Items (ItemID)

Line_Items (PO_Number) = Invoice (PO_Number)

Customer (CustomerID) = Invoice (CustomerID)

On Invoice Layout you put a portal that displays records from Line_Items. Line_Items pulls the data from Inventory when you enter ItemID into the portal and Invoice pulls data from Customer table when you choose CustomerID.

In order for it to work you need to enter a PO number in the Invoice table which will complete the relationship.

Hope this helps or I did not understand the question. :)

I have a similar post that I thought you might find useful

http://fmforums.com/forum/showtopic.php?tid/193872

Org.png

  • Author

This has fixed my problem, Thanks a bunch!

Glad to be of help. :

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.