Skip to content

Instantly share code, notes, and snippets.

@estebanroblesluna
Created July 13, 2011 14:30
Show Gist options
  • Save estebanroblesluna/1080396 to your computer and use it in GitHub Desktop.
Save estebanroblesluna/1080396 to your computer and use it in GitHub Desktop.
Context: Transaction
Validation Rule "r1"
If the type is one of 'STANDINGORDER', 'BANKFEE' then the amount is less than 0
Context: Transactions
Validation Rule "r2"
startBalance + the sum of transaction.amount = endBalance
Context: Transactions
Validation Rule "r3"
Each of the transaction elements has a date less than or equal to Transactions.statementDate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment