Tuesday, January 11, 2011

Contractor Reset Button

Unlike the permit databases in ZP the Contractor database does not retain one record per transaction. Instead, when a new year rolls around (and a new round of license fee collections), the Contractor Screen uses the Reset button to copy the existing fee information into the Notes field to make way for the new information. I fixed a bug in the Reset button today and while I was at it added the option to substitute a customized script in place of our code when the Reset option executes. In other words, if you aren't satisfied with the fields that are copied into the Notes field by the default Reset option, you can add a script to your system that will copy information exactly the way you want it done. The button now looks for the existence of a script file called "script_contractor_reset.txt" before it runs the default code. You'll need our help to get started with a script option but then you'll be able to refine it in the User Script screen in Maintenance like you can with other ZP scripts.

No comments:

Post a Comment