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

Case function or script?

Featured Replies

Once again, I am leaning on the forum to help me with a problem. I need to add a new field to my inventory database, that describes a costing category for each record. The categories are Raw1, Raw2, WIP1, WIP2, and FP. The categories are dependant on 3 other fields, Format, Status, and Supplier. For example, if a record denotes a product as being from Supplier "X", and it's Format is "Liquid", and it's Status is "Evaluated" then it is in Raw2. If it's Status was "To Be Evaluated", it would be in Raw2. There are 5 Costing Categories, each with a set of critera based on the three fields above. There is no overlap, meaning that none of the product could exist in two categories.

Is this operation best done via a script or the Case function as a calculation? What would these scenarios look like? I am so lost !

Thanks in advance to all who reply, and sorry for the long post.

The most straight forward way would be to use a case statement. Since I don't know all of your possible scenarios, I'll demonstrate the case statement with the following:

Case(

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.