Introduction to Custom Currency Scripting
ZuluLog allows you to create your own custom currency definitions, to supplement the built-in definitions already provided for you (such as passenger-carrying currency and instrument currency). You might do this because you are subject to additional government or corporate regulations not built into ZuluLog, or because you wish to impose more stringent minimums on yourself than required by regulations. You can create currency definitions for both pilot currency (based on flight records) and aircraft currency (based on aircraft expense, inspection, and maintenance records).
To create your own currency definitions, you'll need to supply:
- A name for the currency; for example, "Night Vision Goggles Currency" or "Multi-Engine Currency". You can name the currency anything you'd like; it does not affect any calculations.
- The time period for the currency, specified in either days, calendar months, or calendar years; for example, "90 Days" or "6 Calendar Months".
- If you wish to receive an email alert for this currency expiration, you'll need to specify how many days in advance you wish to be alerted.
- An initialization script, which is run once at the beginning of the currency check. This script sets up variables for the loop script. For very simple scripts, an initialization script may not be required.
- A loop script, which is run for each flight within the specified time period (starting with your most recent flight). The loop script does the work of determining whether your currency is valid or expired, based on specific aspects of your flights, such as landings, instrument approaches, etc.
- A description for the currency definition. You can use this for free-form text or notes about the currency definition. This description is also emailed to you as part of the currency alert notification, when this currency is due to expire. No calculations are affected by this field.