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.

Featured Replies

I know this is very simple but I can't seem to figure it out today.

A system that I'm working on has an orders table and a commissions table. Commisions are related to orders by an order ID and a single order can have multiple commissions attached. Each commisions record also shows a SalesRepID.

From the orders table I need to show the SalesRepID from the Sales rep that has the highest commission on that order.

Any suggestions would be apprecaited.

If you only want to display only the one record with the highest commission and name, then when defining the relationship between the orders and commission table, you can have the commission table be sorted Descending based off the commission number. Then assuming that you have a relationship from your commission table and the salesperson table, you can just just put the two fields on your layout.

Commission::CommissionAmt

Salesperson::Name

However, are there cases where the sales commission can be the same for more than one person? What about then? You may just be better off using a portal to display the info.

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.