This analysis pattern is required in order to be able to model and implement the subject of bookkeeping (double entry bookkeeping) using software.
The Accounting Transaction analysis pattern belongs to the Accounting pattern group, which also includes the following patterns: Event, Accounting, Posting Rule, Account, Reversal Adjustment, Difference Adjustment, and Replacement Adjustment.
The analysis pattern consists of three classes : Account, Entry and the Accounting Transaction.
According to the UML notation, exactly one object of the account class (account class) can be assigned to several objects of the entry class (booking class). From these, exactly two entry objects must be assigned to exactly one object of the Accounting Transaction class.
The amounts of the two entry objects must contain the same amount (an amount must have a negative sign ) so that the sum of the two results in 0 (zero).
Analysis patterns help to reuse empirical knowledge and can be used flexibly to solve software problems. They are mainly defined in UML notation.
- Martin Fowler: Analysis Patterns: Reusable Object Models . Addison-Wesley, Menlo Park, CA et al. 1997ff.