...
Excerpt |
---|
Calculates |
...
the daily amount for fixed charges based on |
...
the number of days in the billing period and checks this against the value in the Property Key. |
...
Validator Set Up
Variables
...
The Validator fails if the value from the bill exceeds the figure set in the Property Key. |
Requirements:
- Needs a Property Key setting up on each Account
- The Validator needs to be set up on the Accounts rather than the Organisation
See below for more details
Validators
There are two Validators to check the Fixed Charges, one for Electricity and one for Gas.
- GB - ElecFixedCharges
- GB - GasFixedCharges
The Property Keys needs a unique name (ie FixedElecCharges or FixedGasCharges) and need to include the figure you want to validate against.
For example, if you enter 25, the Validator will take that as a daily figure. It will then look at the figure in the Fixed Charges field in the bill and divide it by the number of days and match one against the other.
Example:
- Property Key has a value of 30
- Validator allows for a 10% difference
- 30 + 25% higher = 37.5
- The bill is for a period of 31 days
- The Fixed Charges field in the bill has a value of 2000
2000 (the Fixed Charge) / 31 (number of days) = 64.52
The Validator would fail as 64.52 is over 37.5 (30 + 25%)
Requirements
- A Property Key needs to be attached to the Account, with the exact wording in the Variables (ie FixedElecCharges or FixedGasCharges)
- Click here for more details on how to add the Property Key(s)
- The Validator needs to be set up on the Accounts rather than the Organisation
Validator Set Up
GB - ElecFixedCharges GB - GasFixedCharges
Variables
Variable | Description |
---|---|
Name of the Property Key defining Tolerance value (attached to Account) | Enter the exact name of the Property Key that is attached to the Account (see above, for example FixedElecCharges) |
Tolerance Percentage for difference | Enter the percentage above the Property Key value that is acceptable, ie enter 25 for 25% |
Bill Entry screen
Electricity
Gas
Failure Prompts
Electricity and Gas
Electric Fixed Charges Validator: FAILED or Gas Fixed Charges Validator: FAILED The name of the Validator
'TolerancePercentage=25.00' - The percentage tolerance set in the Validator, ie 25 for 25%
'DailyFixedCharge=64.516129' - The Fixed Charges figure (2000) divided by the number of days (31) = 64.516129
'upperLimit=37.50' - The figure in the Property Key (30) + 25% (the tolerance in the Validator, 25) = 37.5
'ToleranceValue=30.00' - The figure in the Property Key - 30