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.

value list include related values

Featured Replies

Hi everybody,

I have the following situation:

I have a product table. This table is related to a supplier table and each product can have many suppliers.

Now I would like to crate an order based on a supplier. when chosing the dropdown list the products to be shown should only be the products related to this supplier.

So I have an order table which relates to to the product table by means of line table (the order might have more than one product)

In the the order form I have a portal with the line table. The line table has a pop-up menu with a value list showing the products form the products table. Now I would like to be able to include the values only related to the supplier selected in the order table. 

Could someone help me how to create this relation?

 

Thank you for your time.

 

Gilles

 

2 hours ago, Gillekes said:

I have a product table. This table is related to a supplier table

How exactly are these two tables related?

  • Author

I attached an immage of the relationship.

product is = Artigos and supplier = Fornecedor_artigos

relation2.tiff

I am afraid that does not answer my question. The relationship is many-to-many; is Fornecedor_artigos a join table?

  • Author

Ah ok,

no it isn't

Then I don't understand your setup. The way you show it, a product has many suppliers - but each supplier can have only one product.

  • Author

A product can have many suppliers and the supplier has many products. Fornecedores-artigos is a jointable afterall, i was wrong

 

Edited by Gillekes

Well then assuming you have the following chain of relationships:

Products -< ProductSuppliers >- Suppliers -< Orders -< LineItems

you can define the value list to use values from Products::ProductID, include only related values starting from Orders.

 

  • Author

Ok I build it the wrong way...

My order relation ships are in another way...

Thanks for the help, I'll give it a try!

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.