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.

In Need Of A Script

Featured Replies

I have a timesheet in an external table that is accessed in a portal in a jobs table. The times come in 3 flavors.

I need a script that will show a total for each flavor for each job. It needs to appear in the jobs portal as well as in another spot on the jobs layout.

Please contact me if interested.

Thanks

[email protected]

Sounds more like a calculation need, rather than a script solution.

Given a field in your Timesheets (Expenses?) table for type (flavor), just create a filtered relationship from Job to Timesheet for each of the types. Then, a calc that sums the expense for each type, using the appropriate filtered relationship from Job to TS.

Or, create a sub-summary report based on Timesheets, by Job, by type.

  • Author

I'm pretty sure I'm not trained enough to do it. I've tried filtered portals, calculations, scripts, custom functions, bought a $300 training series, have posted for help on the forums...

and I haven't gotten close.

You want the job? I'll pay.

Or, create 3 calculated fields in your timesheet, one for each flavor, e.g.:

Case( flavor = "vanilla" ; time )

Then in the jobs table make your total calcs based on these fields, e.g.:

Sum( related::vanillaTime )

That'll be $1000 please. B)

  • Author

Whoowee!

I knew it had to be something simple. I was hunting for an elephant and found a flea. I had tried using case but just didn't have the related part right.

Thank You!

Do you accept gold?

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.