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 am having a script that searches through records of vehicles to find vehicles currently running today, when found, loops on this records, runs a subscript on another file/database table to create an invoice for each vehicle and within this subscript another subscript executes to create a payment record on the invoice in another file/database.......

 

Is this all exercise possible through running a server schedule, am having hard time getting it through, the script i have runs fine through the debugger but when i schedule it, it will execute on all the existing records and ignores found set, even with no found set, it will still go on to execute on all records in the file - could i be attempting an impossible case maybe???

A server-side scheduled scripts can certainly call other scripts in other files (on the same server), without problems.

 

Keep in mind that:

- you have to limit the scripts to use only server-compatible script steps

- the OnOpen script in each file will run as the file is opened, if that OnOpen script has unsupported script steps then it will cause problems

  • Author

I verified server script steps in all scripts and the only incompatible step was "Save as PDF" which i changed to "save records as snapshot link" - not sure weather this will do the do, so i will let it go on after midnight again.

 

I think somehow, by going through the scripts within,  the main script loosing track of the found set it is suppose to loop on, thereby working up on all records, i can not figure where or how,

 

Please help......

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.