For creating documents as for example invoices I use the function execute script on server.
The problem is that the server does not close the script after it has done its job. So after about 50 times the server doesn't exept more new script, because it is still executing the 50 before.
Can anyone tell me how i van shut down the script on the server when it is finished?
The scriptlines van you find in the attachment.
I hope someone can give me the golden tip.