I have a question based on the behavior Chandi and I encounter with the
Chart of Accounts customization.  It appears that the default values for
GL account codes still get loaded in the database whether or not they
are listed in the custom configuration file.  Is the custom file meant
to update the default settings or modify and supplement the default CoA
settings?

For example, in the attached modifications, the 11101 and 11102 values
from the default configuration
(http://fisheye4.cenqua.com/browse/~raw,r=HEAD/mifos/trunk/mifos/src/org
/mifos/config/resources/mifosChartOfAccounts.xml) have been removed.
However, when a clean db build is created as Chandi notes below, the
default properties are already loaded in the DB.  When the custom file
is used, it appears a merge of the two files takes place to result as
shown in the file coaList.html.  So for the 11000 section:

Default config:
- <GLAssetsAccount code="10000" name="ASSETS">
- <GLAccount code="11000" name="Cash and bank balances">
- <GLAccount code="11100" name="Petty Cash Accounts">
  <GLAccount code="11101" name="Cash 1" /> 
  <GLAccount code="11102" name="Cash 2" />

Custom config:
- <ChartOfAccounts>
- <GLAssetsAccount code="10000" name="ASSETS">
- <GLAccount code="11000" name="Cash and bank balances">
- <GLAccount code="11100" name="Petty Cash Accounts">
  <GLAccount code="11103" name="cash in hand" /> 
  <GLAccount code="11104" name="cash not in hand" />

Database:
GLCODE_ID GLCODE_VALUE COA_ID COA_Name GLCODE_ID
1 10000 1 ASSETS 1 ASSET 
2 11000 2 Cash and bank balances 2  
3 11100 3 Petty Cash Accounts 3  
4 11101 4 Cash 1 4  
5 11102 5 Cash 2 5  
58 11103 58 cash in hand 58  
59 11104 59 cash not in hand 59

Or maybe there is an operational step that we are not following
properly?

Thanks,
Jeff



-----Original Message-----
From: Chandi Datta [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 18, 2008 12:07 AM
To: Jeff Brewster
Subject: steps for coa



Hi Jeff,
        Please find below the details step I did:

1. Clean the mifos db..(command : ant build_db) [note:I found all GL
code already there in the db after this command also] 2. Created two
custom XML file..
and place it in the application server class path.

OR:
Created one folder and place both custom xml file there.
Add that path to the catalina.properties file under TOMCAT conf folder.
Following I added:

shared.loader=${catalina.home}/shared/classes,${catalina.home}/shared/li
b/*.jar,C:/ant/mifosconfig

Here "mifosconfig" folder I created to place custom xml file.
3. Deploy the new war file.
4. Restart the server.


(See attached file: mifosChartOfAccounts.custom.xml)(See attached file:
mifosBeanConfig.custom.xml)
Thanks and regards,
Chandi

Attachment: mifosChartOfAccounts.custom.xml
Description: mifosChartOfAccounts.custom.xml

Attachment: mifosBeanConfig.custom.xml
Description: mifosBeanConfig.custom.xml

Title: Query SELECT * FROM GL_CODE G,COA M WHERE G.GLCODE_ID=M.GLCODE_ID, Fri Apr 18 10:12:05 2008

Query SELECT * FROM GL_CODE G,COA M WHERE G.GLCODE_ID=M.GLCODE_ID, Fri Apr 18 10:12:05 2008

GLCODE_IDGLCODE_VALUECOA_IDCOA_NameGLCODE_IDCATEGORY_TYPE
1100001ASSETS1ASSET
2110002Cash and bank balances2
3111003Petty Cash Accounts3
4111014Cash 14
5111025Cash 25
581110358cash in hand58
591110459cash not in hand59
6112006Bank Balances6
7112017Indian bank7
8112028International bank8
601120360others bank60
9130009Loan Portfolio9
101310010Loans and Advances10
111310111Loans to clients11
641310464Loans to INTERNAL CLIENTS64
651310565Loans to big clients65
121320012Loan Loss Provisions12
131320113Write-offs13
661320966test Write-offs66
32150132IGLoan32
33150233ManagedICICI-IGLoan33
34150334SPLoan34
35150435ManagedICICI-SPLoan35
36150536ManagedICICI-IGLoan36
37150637SPLoan37
38150738ManagedICICI-SPLoan38
39150839WFLoan39
40150940Managed WFLoan40
61151061Emergency Loans61
62151162Special Loans62
63151263Micro Enterprises Loans63
142000014LIABILITIES14LIABILITY
152200015Interest Payable15
162210016Interest payable on clients savings16
172210117Interest on mandatory savings17
262300026Clients Deposits26
272310027Clients Deposits27
282310128Savings accounts 28
672310467Savings accounts67
682310568New Savings accounts for test68
292400029Mandatory Savings29
302410030Mandatory Savings30
312410131Mandatory Savings Accounts31
692420069Mandatory Savings69
702420370Mandatory Savings Accounts70
712420471test Mandatory Savings Accounts71
183000018INCOME18INCOME
193100019Direct Income19
203110020Interest income from loans20
213110121Interest on loans21
223110222Penalty22
723110672Interest on loans72
733110773Penalty73
233130023Income from micro credit & lending activities23
243130124Fees24
743130274News Fees74
253140125Income from 999 Account25
534000053EXPENDITURE53EXPENDITURE
544100054Direct Expenditure54
554110055Cost of Funds55
564110156Interest on clients voluntary savings56
574110257Interest on clients mandatory savings57
754120075Cost of Funds75
764120576Interest on clients voluntary savings76
774120677Interest on clients mandatory savings77
41460141Emergency Fund41
42460242Margin Money-142
43460343Margin Money-243
44460644Village Development Fund44
45500145Interest45
46520146Processing Fees46
47520247Annual Subscription Fee47
48520348Emergency Loan Documentation Fee48
49520449Sale of Publication49
50520550Fines & Penalties50
51620151Miscelleneous Income51
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mifos-functional mailing list
Mifos-functional@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-functional

Reply via email to