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

Featured Replies

I have a file that I use to manage purchase orders. I want to have a field that calculates the total quantity of a certain product. ie on an order that has 3 different items I need a total quantity count on only the items that have the item# 13063. I'm sure this is easily done, but I am not very conversant with calculations unless they are very simple. Any help I could get would be greatly appreciated.

Is it always going to be that specific item number? If so, you can create a second line item relationship (call it "LineItem13063") with the same criteria as your existing relationship, plus the added condition that item# = 13063, and then use the count function.

Count(LineItem13063::AnyField)

  • Author

No there are about 5 different item numbers that this will apply to

That's a small enough number that you could build a relationship for each one.

  • Newbies

Similar to the previous solution.

Define a global field on the main table, this field will have a value list with the 5 different item numbers.

Then define a relationship from the main table to the line items

using gItemNumber = lineitem_itemNumber

And then the calc could be:

Count ( g_ItemNumber::item_number )

Hope it helps!

Everytime you select a different item number from the list you will get the count of how many orders have that particular item.

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.