Accounting Patterns Fowler


314 123 659KB

English Pages 72

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Accounting Patterns......Page 1
Posting Rules......Page 2
Procedural Decomposition and Object Structures......Page 5
Correcting mistakes......Page 6
Finding the Entries Affected by an Adjustment......Page 7
Ways of Adjusting the entries......Page 8
Making it work......Page 11
When to use it......Page 12
Making it work......Page 15
Linking to Events......Page 17
Making it work......Page 19
When to use it......Page 20
Setting up the structure......Page 21
How the classes behave......Page 24
A Second Event Type......Page 28
Handling a Rule Change......Page 29
A Second Agreement......Page 31
When to use it......Page 33
Maintaining the Event Trace......Page 36
Account......Page 39
When to use it......Page 41
Making it work......Page 44
Two Legged or Multi-Legged?......Page 47
Making it work......Page 53
When to use it......Page 55
Difference Adjustment......Page 59
Making it work......Page 60
When to use it......Page 65
When to use it......Page 69
Recommend Papers

Accounting Patterns Fowler

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Citation preview

              Г                       Г         Г                               !"Г#  $ Г#  $                %    &'      

 

      ( 

     )          

          



       *      

         *          

    

       #           

          

Accounting Entries

Events

System

 

Г  

      

     

 (  Г Г    #   

             ( Г  

         +,      Г       

 (   %     

      '   % Г       &    +,          Г              '    (         

  +,Г              

    

   

  Г     

                   (     

 

      (

            Г   

     

              Г                     $    Г  

& -   Г    Г  

        .                       /  0,1

reads

Processor

Event

creates Accounting Entry

process(Event)



 



*        Г      (       -     #          Г        (             Г

      Г   & Г &  & &

 &        . 

                  Г   

 &        Г              (             

           

     /   021                       .    

Event process() findAgreement(Event)



Agreement

creates Accounting Entry

find

process(Event)

 

&       (                            (      Г     &     Г         3           4                              Г           &    Г    %     Г         #       Г Г  Г   Г

  Г    5         .         Г               (                           (      Г           Г          



Posting Rule

creates

Event Type

Accounting Entry



1

process(Event)

1





1

Event process() findAgreement(Event)



Agreement find

getRule(EventType)

     

&                               Г    .                             &              Г                     6 3      

           Г   

                  (    Г '    

78          Г     '  9 6            :               .          #                  

           Г    

#    *             Г    



     .        



    (   

       

Posting Rule creates effectivity: Date Range

Event Type



1 1





1

Event process() findAgreement(Event)

 

Accounting Entry

process(Event)

Agreement find

getRule(EventType, Date)

    

  

    

                                %  .        6                         !" Г $   " 

% &&                   

(                    

  *   

     %           4 

              



   

                    &       

             %  Г 

                &  

 %  Г     

       (             

(                 

    4       Г   !        Г 

   Г    ;'           

    '    

  

                        

         

  (          4   &           

     (            (              

     (       Г   

                   

   

     (         

                 **      %