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.

Featured Replies

I'm trying to build my FM solution. I need to make it so when a new record is created I need to auto enter the next workday automaticly. If there is no previous work day, I need it to fall within a defined date range. I have a timesheet layout and a days layout and the days are viewed within a portal on the timesheet layout.

Thanks.

You must make a script to create a new record. In the script you can include also a statement to fill a field with your specified data.

This script can be triggered by the user by creating a button. This button can be setup by selecting your button area > Format > Button setup > Perform script (your created script name)

Example script ???

New Record/Request

Set Field [your file name::your date field name; Get ( CurrentDate)+1]

This script makes a new record and fill a date field with the date of tomorrow.

You haven't indicated the 'defined date range.' But adding one day to the current date won't ignore weekends. Are work days Monday-Friday? I would also let Auto-Enter ( Do Not Replace ) take care of this. Auto-Enter by calculation on that date of:

Get ( CurrentDate ) + 1 + Position ( "17" ; DayOfWeek (Get ( CurrentDate ) + 1 ) ; 1 ; 1 )

or for easier readability:

Let ( nextDay = Get ( CurrentDate ) + 1 ;

nextDay + Position ( "17" ; DayOfWeek ( nextDay ) ; 1 ; 1 )

)

If there is more to your need, you'll need to fill us in on the rules. :wink2:

LaRetta

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.