adding setup xml files to project
[Spittoon.git] / xml / setup.groups.xml
blob20b6c9be0c3c3020f6c970e335f341ae436b484d
1 <?xml version='1.0' encoding='UTF-8'?>
2 <system xmlns='com/interrupt/bookkeeping' 
3                 xmlns:users='com/interrupt/bookkeeping/users' 
4                 xmlns:bkell='com/interrupt/bookkeeping/cc/bkell' 
5                 xmlns:command='com/interrupt/bookkeeping/cc/bkell/command' 
6                 xmlns:interpret='com/interrupt/bookkeeping/interpret' 
7                 xmlns:aauth='com/interrupt/bookkeeping/cc/bkell/aauth' 
8                 id='main.system' > 
9         
10         <users:groups id="main.groups" >
11                 <users:group id="webkell" name="Webkell" owner="root" >
12                         
13                         <users:profileDetails id='group.details' >
14                                 <users:profileDetail name='defaultCurrency' value='USD' />
15                         </users:profileDetails>
16                         
17                         <bookkeeping 
18                                 xmlns='com/interrupt/bookkeeping'
19                                 xmlns:account='com/interrupt/bookkeeping/account' 
20                                 xmlns:journal='com/interrupt/bookkeeping/journal' 
21                                 xmlns:currency='com/interrupt/bookkeeping/currency' 
22                                 id='main.bookkeeping' > 
23                                 
24                                 
25                                 <!--
26                                         1. no 2 currencies can have the same 'id' 
27                                         2. An account MUST specify in which currency it is denominated 
28                                         3. Entry(s) should balance in the default currency unless otherwise specified 
29                                         4. DebitPointer(s) / Debit(s) must be put in Account(s) of the same currency 
30                                 --> 
31                                 <currency:currencies id='main.currencies' default='CDN' > 
32                                         <currency:currency id='CDN' name='Canadian Dollar' /> 
33                                         <currency:currency id='USD' name='US Dollar' /> 
34                                         <currency:currency id='BP' name='British Pound' /> 
35                                         <currency:currency id='EUR' name='Euoropean Euro' /> 
36                                         <currency:currency id='JPN' name='Japanese Yen' /> 
37                                 </currency:currencies>
38                                 
39                                 
40                                 <!-- 1. account types are: asset, liability, expense, revenue
41                                      2. each account has a given counter weight
42                                         
43                                         <account:account type="asset"           id="" name="" counterWeight="debit" />
44                                         <account:account type="expense"         id="" name="" counterWeight="debit" />
45                                         <account:account type="liability"       id="" name="" counterWeight="credit"/>
46                                         <account:account type="revenue"         id="" name="" counterWeight="credit" />
47                                 -->
48                             <account:accounts id='main.accounts' > 
49                                 <account:account type="asset" id="" name="" counterWeight="debit" />
50                                 </account:accounts>  
51                                 
52                                 <journal:journals id='main.journals' >
53                                     <journal:journal id='generalledger' name='generalledger' type='' balance=''>  
54                                                 <journal:entries id='main.entries'  > 
55                                                 
56                                                 </journal:entries> 
57                                     </journal:journal>  
58                                 </journal:journals>
59                         </bookkeeping>
60                         
61                 </users:group>
62         </users:groups>
63         
64         
65         <users:groups id="group.attic" >
66         </users:groups>
67         
68         
69 </system>