Skip 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.

Account -> Order -> Product portal help

Featured Replies

  • Newbies

Hi

I have a problem getting a portal to filter properly.

I have, for purpose of this discussion, 3 tables

Account <- Order -> Product

Accounts have Orders

Orders are for Products

Products have Product Types

Product has globals for each Type

for example "TYPE_SUBSCRIPTION = 'Newsletter'"

Accounts have Account IDs and calculation fields that represent each Product Type.

For example there is a field "Account::TYPE_SUBSCRIPTION" set to "Product::TYPE_SUBSCRIPTION"

This is done via a "1" = "1" relationship to Product

Orders have account IDs and Product IDs

Products have Product IDs and Product Types

I wish to add a portal to Account that shows all Orders for that account for a given Product Type.

I set the portal to view records from the relationship "Subscriptions"

1) I defined relationship Subscriptions as "Account:account_id = Order:account_id" and it shows the orders and the correct product types in the portal

2) If I then add "Account::TYPE_SUBSCRIPTION = Order::Product_Type" nothing is shown in the portal.

3) If I reduce the relationship to just the Type field constraint ("Account::TYPE_SUBSCRIPTION = Order::Product_Type") without the account_id, still nothing is shown.

So close... but I cannot figure out what is wrong.

All help greatly appreciated.

If rather than debug this, someone has an example or explanation on how to have a view that shows the Orders of a given type when the order's type is itself a reference to a related table on Order that would be just as welcome.

Thanks

This is rather difficult to explain, so see if the attached helps.

FilterByUnstored4.fp7.zip

  • Author
  • Newbies

MegaThanks }:(, a picture is worth a kiloword!

(it does)

LOL, I recall a while back someone made a calculation like:

One picture (at VGA resolution of 640x480 pixels, 256 colors)}:(

640 * 480

= 307,200 pixels

307,200 * 8 bits

= 2,457,600 bits

Average word (in English, including a trailing space or other punctuation):)

5.5 characters * 6 bits

= 33 bits

2,457,600 / 33

= 74,473

Therefore, one picture is actually worth 74,473 words.

Of course, today's pictures are much more richer in resolution and color, so the equivalent of a 1024×768 full color picture would be close to half a million words.

  • Author
  • Newbies

Priceless!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.