Reallocation Tests
The Test Idea
The idea of the test is of getting test data by some test accountings in petra.
Let us assume the following situation as the sum of the accountings of a year. Here we only have the following account codes
- The account code for the bank = 6200
- The account code for the gift = 0200
- The account code for the expense 4100
And the following cost centres:
- 4300 (=Standard CC for ledger 43)
- 4301
- 4302
- 4303
Then we account some gifts: (Notatation is Cost centre code: account code and the direction is credit account to debit account.
- 4301:0200 -> 4301:6200 - 100 Euro
- 4302:0200 -> 4302:6200 - 200 Euro
- 4303:0200 -> 4303:6200 - 300 Euro
and some expenses:
- 4301:6200 -> 4301:4100 - 150 Euro
- 4302:6200 -> 4302:4100 - 150 Euro
- 4303:6200 -> 4303:4100 - 200 Euro
Reference data from Petra
File:Reallocation-petra-0900-after.JPG
File:Reallocation-petra-4100-after.JPG
File:Reallocation-petra-6200-after.JPG
File:Reallocation-petra-9700-after.JPG
GLM-Screenshoots before the Reallocation is done
In petra I've the ledger 37 "UK National Office" and in open Petra I've 47 - "German". So I've to chose an other account numer for 0200 and the best choice is 0900. Furthermore in petra the glm-table hold more data than in open petra. So in petra we have three filtered screenshoots.
And in Openpetra we have one screen shoot.
Test cases
- In the first test the reallocation shall be done aganinst 4300:9700 which is the standard value for cc and ac.
---
A wrong result is: