Reallocation Tests: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
Line 1: Line 1:
=== Test Data ===
=== Test Idea ===


File:Reallocation-petra-0900-before.JPG
The idea of the test is of getting test data by some test accountings in petra.  


File:Reallocation-petra-4100-before.JPG
Let us assume the following situation as the sum of the accountings of a year. Here we only have the following account codes
 
File:Reallocation-petra-6200-before.JPG
 
 
In Order to run a reallocation test properly, I use:


# The account code for the bank = 6200
# The account code for the bank = 6200
Line 14: Line 9:
# The account code for the expense 4100
# The account code for the expense 4100


And the cost centres:
And the following cost centres:


# 4300 (=Standard CC for ledger 43)
# 4300 (=Standard CC for ledger 43)
Line 21: Line 16:
# 4303
# 4303


Then I account some gifts: (Notatation is Cost centre code: account code)
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
# 4301:0200 -> 4301:6200 - 100 Euro
Line 32: Line 27:
# 4302:6200 -> 4302:4100 - 150 Euro
# 4302:6200 -> 4302:4100 - 150 Euro
# 4303:6200 -> 4303:4100 - 200 Euro
# 4303:6200 -> 4303:4100 - 200 Euro




[[File:Reallocation-before.JPG]]
[[File:Reallocation-before.JPG]]
File:Reallocation-petra-0900-before.JPG
File:Reallocation-petra-4100-before.JPG
File:Reallocation-petra-6200-before.JPG


=== Test cases ===
=== Test cases ===

Revision as of 14:31, 19 April 2011

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

  1. The account code for the bank = 6200
  2. The account code for the gift = 0200
  3. The account code for the expense 4100

And the following cost centres:

  1. 4300 (=Standard CC for ledger 43)
  2. 4301
  3. 4302
  4. 4303

Then we account some gifts: (Notatation is Cost centre code: account code and the direction is credit account to debit account.

  1. 4301:0200 -> 4301:6200 - 100 Euro
  2. 4302:0200 -> 4302:6200 - 200 Euro
  3. 4303:0200 -> 4303:6200 - 300 Euro

and some expenses:

  1. 4301:6200 -> 4301:4100 - 150 Euro
  2. 4302:6200 -> 4302:4100 - 150 Euro
  3. 4303:6200 -> 4303:4100 - 200 Euro



Reallocation-before.JPG



File:Reallocation-petra-0900-before.JPG

File:Reallocation-petra-4100-before.JPG

File:Reallocation-petra-6200-before.JPG

Test cases

  1. 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:

Reallocation-after.JPG