Inventory and Accounting

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(Event)
Line 2: Line 2:
  
 
[[Martin Fowler]] writes extensively about this analysis pattern in http://www.martinfowler.com/apsupp/accounting.pdf, which is an updated version of Chapter 6 of [[Martin Fowler 1997]]. This page should be considered a summary of his work.
 
[[Martin Fowler]] writes extensively about this analysis pattern in http://www.martinfowler.com/apsupp/accounting.pdf, which is an updated version of Chapter 6 of [[Martin Fowler 1997]]. This page should be considered a summary of his work.
 +
 +
==Fundamentals==
 +
A high level picture of the main components involved has been shown in the figure below. A processor class simply  reads events and creates accounting entries for the same.
 +
 +
[[Image:AnalysisAccounting01.png]]
  
 
== Event ==
 
== Event ==

Revision as of 07:02, 20 October 2010

This page describes a set of analysis patterns which are useful for modelling any situation in which accounting or money/time/resources is required. The basic principle is that events in the real world have to logged and accounted for in some way. However, this gets tricky when you consider that some events can be revoked / amended at a later date.

Martin Fowler writes extensively about this analysis pattern in http://www.martinfowler.com/apsupp/accounting.pdf, which is an updated version of Chapter 6 of Martin Fowler 1997. This page should be considered a summary of his work.

Contents

Fundamentals

A high level picture of the main components involved has been shown in the figure below. A processor class simply reads events and creates accounting entries for the same.

AnalysisAccounting01.png

Event

According to MartinFowler, "an event caputers the memory of something interesting which affects the domain" MF-Analysis Patterns.

File:MF:Event.jpg

The section introduces

Accounting Entry

Posting Rule

Secondary Posting Rule

Account

Accounting Transaction

Adjustments

Reversal Adjustment

Difference Adjustment

Replacement Adjustment

Personal tools