Jump to content
Server Maintenance This Week. ×

server scheduled script perform find error


This topic is 2164 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Solved: I had a script step go to original layout. This went to the blank (opening) layout when run on the server.🙄

 

I have a script that is not performing as expected when I run it as a server scheduled script.

The script needs to run every 1st of the month; find and copies invoices that are marked as subscription and mail the new invoice to the customers.

The script runs as expected in FM client. However, when I run it as a scheduled script it only copies the first invoice it finds and it gives a perform find error in the serverlog.

Any ideas why this is happening?

The collection of the invoiceUUID's in the first loop works properly, also when the script runs on the server.

I also tried a global variable and a global field as storage for the invoiceUUID's, but that does not make a difference.

 

image.png.1fe74d18a1c251863aa3abcc45ec51de.png

Edited by dataclip
problem solved
Link to comment
Share on other sites

This topic is 2164 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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