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

My driver's get bonus income when they reach a certain plateau during a trip. These bonus levels change with increased mileage. Because of this, the bonus levels are entered manually by the driver.

 

On my Driver Pay layout I have a calculation field (TotalMileage) that states the number of total miles on that trip. Basically "EndingMileage" - "StartingMileage" = "TotalMileage"

 

I want to trigger a script upon exiting the TotalMileage field that will look at the data and popup up a reminder for the driver to enter a bonus level IF the total mileage is above the first bonus level.

 

My question is; what function step will handle this for me.

 

IE; your total mileage is over 450 miles for this trip. Don't forget to add your bonus level.

 

Thanks...

My driver's get bonus income when they reach a certain plateau during a trip. These bonus levels change with increased mileage. Because of this, the bonus levels are entered manually by the driver.

 

Putting your question aside for the moment: if the driver can figure out the bonus levels, why can't a computer?

  • Author

Putting your question aside for the moment: if the driver can figure out the bonus levels, why can't a computer?

It can. This is a temporary fix until I can delve further into this.

 

But since you asked, I have up to 10 bonus levels with a Low mileage number and a High mileage number for each level. The computer will be able to compare the final mileage to the bonus low and high levels and auto enter the appropriate bonus level.

 

I have the fields in place but honestly haven't had time to look into that function. Please, please feel free to do that if you'd like.

It's only a matter of lookup (and it needs to be a lookup, since bonus levels can change).

 

 

---

BTW, you don't need a "High mileage number" for each level, only a low limit, e.g.

 

after 450 miles: 10 points;

after 900 miles: 22 points;

after 1300 miles: 35 points;

etc.

 

then just select 'copy next lower...' in the lookup setup.

Edited by comment

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.