Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


GB – ElecBandppuThreshold

...

Validator Set Up


Variables

VariableDescription
Band number (e.g. A=1, B=2 etc)The line on the bill, ie an Electricity bill will have Bands A, B etc (different ppu rates).  If you want Band A, enter 1, if you want Band B, enter 2 etc
Unit rate threshold (p)The value that the field should not exceed.
  If it is exceeded, the validator will fail
, ie  enter 10.5 for 10.5p

Bill Entry screen

Image Added


Failure Prompt

Image RemovedImage Added


Unit rate exceeds threshold: FAILED  - The name of the validator 

'threshold=10.50' - The value that you do not want to exceed for the ppu, ie 10.5p

'band=1.00' - The line on the bill you are checking against.  1 = Band A (the first first line)

present=10.65 -  The value of the ppu on the Band in the current bill ie Band A, (line 1) is 10.65 ppu

...