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.

Writing an Availability System

Featured Replies

Now, I have a different problem. I want to script an availability system

 

First, if a person has been selected for an event, they are marked unavailable for events in the same time slot, with an estimated time

Then when a person schedules in advance they are out, the system will date compare against their out and return dates.

 

so far, I know that They need references to their status, The system already has a filter for Active status users

I want to add the ability After being assigned to a project, They are marked unavailable for anything in the same time slot

I also want to make it so that each staff member schedule in advance when they are out, and when they come back, ie,if person X has said he will be out at 2 pm x y z Day,

I also want to be able to enter whole days, ie, person x said he will be out on the 4th through 8th, so when ever the scheduled date or current time is within the range, they are marked out..

as I understand it, this could be a test with either 2 or 3 results. I understand that if I choose 2 results, I will never know if someone is just inactive cause they were fired, or from a show, does it make it much more difficult to have a 3 result check?

 

  • Author

I saw the nightwing demo, it pointed me in the right direction, but the script seemed confusing.

 

post-113190-0-01373300-1427227504_thumb.

 

these are the fields I have to work with, and still at a stage where i can add more

 

I saw that i have to create a seperate table or layout to enter the outs and ins

and that's about where i could no longer follow.

 

Don’t be so sure, every other post of his has been about Starting Point.

Yibber,

 

You are talking about a Scheduling and availability system, which is not a function of FMSP.    It certainly can be added... but its not a base part of FMSP.

 

You will need to sit down and structure out what you want done.  If it was me, I would have all the checks done via script triggers, so I could explicitly control the action of the checking and reservations and availability's.

 

- Richard

  • Author

I have somewhat accomplished this by manipulating the active/inactive field, but I think I need a 3rd status for already Assigned, is that going to cause problems? I don't think it will since almost no script uses "get boolean" and I can always get a 3rd Option scripted.

Yah... I don't think much of anything ties to Status...except maybe the Icon for the Maps.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.