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

Hi

I need to be able to run a script once a week that

performs a search for all outstanding work still out on approval that's more than 60 days old.

I then need it to sort by customer and then email that customer just his work in a pdf file.

The problem I have is being able to email the individual customers just there work unless I have 60+ scripts running one per customer.

We do not always have oustanding work on approval for all customers.

Is there a way that the script could seperate the found jobs into customers and then email that customer a pdf show just his work.

Peter

I'd do it from the Customers file: run through each customer record, and use a relationship to "find" the outstanding work records and then do the pdf thing.

  • Author

Hi

Thanks for replying

I created a script that finds the outstanding work in the customers database as you suggested.

For example I have found 12 customers that have outstanding jobs. What I need it to do now is send each customer his layout showing all his work which is in a portal.

How can I script FM to send each record to a different email address. In customers I have a field that contains the required email address.

Any ideas?

Peter

Go to the related record of the portal, and make a subsummary report, save it as a .pdf ... Since you're on fm7 might this plugin be thriftiest way to accomplish what's posible with more present versions:

http://www.schubec.com/en_pdfplugin.php

Although a fair dose of shell scripting will make you do it as well, called from Perform Applescript.

--sd

  • Author

Thanks for the advice I now have it working just right.

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.