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.

total of paid invoices only

Featured Replies

Hi,

I am quite new to the script writing, I struggle trying to do the following:

In a table, Invoices, I have for each record a field with the Payment date (Pay_Date). On a different layout, I am trying to get the total value of the unpaid invoices only.

I guess I have to create a script that get this value into a variable that I can then use in my new layout. Has anyone an idea of how I can do that?

Thanks,

Z.

I think we need more info here such as what you mean by "On a different layout". What TO this layouts based off of?

For example, you can create a stored calculation of IsEmpty (Pay_Date) to flag which ones have not been paid, let's call it Status, if you are using the Pay_Date field as your paid indicator.

You can create a relationship keyed from a constant calculation field that just returns 1 to this new Status field. You can then either create another calc to sum it up using the Sum() function, or create a summary field in your Payment table that totals the amount and put the field on the parent layout.

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.