What event marks the end of the day?
The file is closed by the last user?
A specific time of day arrives?
Do you have the file hosted by Filemaker Server?
We use both server scheduled scripts and a robot file to perform certain scripts every evening after close of business. The robot file method works even if you do not use FileMaker Server.
It is hosted on Filemaker server.
Ill ask the host about the servier activating my script.
The search records if they matched the bill to id worked well.