Class RecordID2Test


  • public class RecordID2Test
    extends OBBaseTest
    Tests cases to check RecordID2-DateBalanced functionality (Open balances Project)
    • Constructor Detail

      • RecordID2Test

        public RecordID2Test()
    • Method Detail

      • testRecordID2_case1

        public void testRecordID2_case1()
        Verifies documents can be posted and unposted and that affects fact_acct (RecordID2 and DateBalanced) Case 1: Invoice posted and just reconciliation posted. After both are posted receivables entry should be balanced Invoice: I/1 Reconciliation: 1000032
      • testRecordID2_case2

        public void testRecordID2_case2()
        Verifies documents can be posted and unposted and that affects fact_acct (RecordID2 and DateBalanced) Case 2: Invoice posted and transaction posted. After both are posted receivables entry should be balanced Invoice: I/10 Transaction: line 50 - 400012 - 02-04-2011 - Customer A - 146.00
      • testRecordID2_case3

        public void testRecordID2_case3()
        Verifies documents can be posted and unposted and that affects fact_acct (RecordID2 and DateBalanced) Case 3: Invoice posted and payment posted. After both are posted receivables entry should be balanced Invoice: I/11 Payment: 400013 - 02-04-2011 - Customer A - 30.00 Then transaction is posted and in transit balance is checked
      • testRecordID2_case4

        public void testRecordID2_case4()
        Verifies documents can be posted and unposted and that affects fact_acct (RecordID2 and DateBalanced) Case 4: Invoice posted , transaction posted and reconciliation posted. After both are posted receivables entry should be balanced Invoice: I/14 Transaction: Accounting Documents EURO - EUR - 400016 - 02-04-2011 - Customer A - 40.00 - 0 Reconciliation: 1000042 . When Transaction and reconciliation are posted in transit account balance should be 0
      • testRecordID2_case5

        public void testRecordID2_case5()
        Verifies documents can be posted and unposted and that affects fact_acct (RecordID2 and DateBalanced) Case 4: Invoice posted , payment posted and reconciliation posted. After both are posted receivables entry should be balanced. Invoice: I/3 Payment: 400002 Reconciliation: 1000034. When Payment and reconciliation are posted in transit account balance should be 0