Object Event scripts allow you to perform tasks when something happens to a member of that Object.
Each script has Template script code that details the Events that will activate the script. Entering code in the Case for an event will make the script do what you require when that Event occurs. Load the Template script code by clicking the icon from the button strip at the bottom of the form.
The following example uses a sample script supplied with finPOWER Connect that will amend the file created when exporting to the General Ledger.
To follow the example, select Scripts from the Admin menu, then click Import from the Utilities section of the task pane. Navigate to the "~\finPOWERConnect\Templates\Sample Scripts\" folder and select the "Script_GLExport.xml" file.
This will import a pre-configured Object Event Script using the Object GLExport. The script code includes code to modify the Export File when any of the Events occur. The easiest event to see is the first one, Export Open. The highlighted code in the image below has been added to write "Custom Header" at the top of the file when the Export is being Opened.