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.

Omit certain values from sum calculation based on a checkbox?

Featured Replies

I have a portal that shows me the packing slips of a job and it includes the fields "billed checkbox" and "quantity shipped" fields. I frequently partial bill these jobs, so some of the packing slip records have the "billed checkbox" checked from previous partial bills.

I would like a "partial bill qty" field on my invoice to auto enter only the sum of "quantity shipped" if the "billed checkbox" is unchecked. So far, I've only managed to come up with calculations that keep summing up all the fields and I can't figure out a way to omit the values in the "quantity shipped" fields if the "billed checkbox" is checked. Any ideas?

Easiest solution would be to create a calculation field in the PackingSlips table that is defined as “quantity shipped if not billed" and sum up this field in Jobs.

You need another calc field in the invoice line items records that only shows the quantity shipped if the billed checkbox ic unchecked:

Quaitity_Unbilled = Case( isempty( billed ) ; Quantity )

In the invoice table, make a total field that Sums() the unbilled calculation.

  • Author

Wow, thank you as always for your help Vaughan. Once again, worked beautifully!

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.