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.

I must be losing it.

Featured Replies

Invoices come in three flavors: "Sale", "Order", and "Staged". These are mutually exclusive, and the flavor is stored in Invoices::Flavor.

I want a layout that shows only Staged. So I create a self-relationship from Invoices to Invoices_Staged where Invoices::uc_Staged = Invoices_Staged::Flavor. uc_Staged is an unstored calc "Staged". Then I create a layout based on Invoices_Staged.

It's showing me all three flavors! Is my approach wrong?

Thanks very much.

Chap

Creating a layout attached to the Invoices_Staged table occurrence (TO) is not going to restrict what records appear. A layout always shows the found set of the base table. The records are not "automatically filtered" by the TO. They would be filtered if you used Go To Related Record ( Invoices_Staged relationship; show only related, Invoices_Staged layout ) to get there.

I would think you would want a more flexible method however, as the above is going to show ALL Invoice_Staged records, whereas I'd think you'd want at the least a date range filter, or Find.

  • Author

I see my mistake -- I think. I should base the layout on Invoices, and use a portal to show Invoices_Staged.

That way it stays dynamic, updating itself as new records are flagged "Staged". Fortunately, I have no need for more flexibility in filtering at this point.

Thanks for clarifying the issue of layouts and base tables for me!

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.