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.

Relationship based on Calculation Field

Featured Replies

Am I Missing something here?

Here is my issue,

I am showing a portal in my checks table. the portal is based on the invoice table and should show all the invoices that still have a balance. The only way to automatically do this is to have the relationship based on the calculation field of the invoice balance. If balance is zero or less the record should not show in the portal.

Once I make a relationship like this the portal shows no related records.

-Don

Yeh, if your calc field is unstored, (i forget the exact issue) but one direction of relationships will not work properly. I believe it is a parent record with any field linked to a child record with an unstored calc as the related field that causes the problem. This issue arises as far as i understand it because an unstored calc will only ever evaluate if it is present on screen, thus this won't work in the context of related records because the records can't become visible until they've evaluated but they can't evaluate until they become visible... My reasoning anyway

I'm sure someone more 'learn-ed' will be able to fill you in on this one. However seeing as this thing calculates balances, and for balances to change presumably another amount requires changing, you might be able to store the calc...

~Genx

  • Author

Okay, that makes sense... I think.

I cannot store this calculation because it is calculated based on a related field.

Let me know if there are any other workarounds.

It seems like it will work with a lookup, but then I need to refresh the lookup right.

Right, its a pain but.. i've tried to stop my reliance on this sort of thing i.e. for a balance to decrease a user must make a payment, when making a payment i run a script, the script checks if the sum of all the payments + the additional payment just made = the amount owed. If the amount is completely paid off, i will set an extra field "paid" = 1 so i can recognize paid accounts vs. unpaid accounts.

Its a bit of a work around but...

~Genx

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.