Need help for code change
Hi!
I have a requirement to suppress insertion of records into fee_trxn_detail table and I am trying to make code changes in order to effect this. I have explained below the steps followed by me. As I am new to working with the mifos source code, I request one of the core developers to evaluate the changes made by me.
Objective –
I have a onetime fee applicable to loans to be paid at the time of disbursement. When this fee is paid, entries must be inserted in account_payment, account_trxn and loan_trxn_detail tables but not in fee_trxn_detail.
Analysis –
· As the fee is paid at the time of disbursement, I started with the disburseLoan function in LoanBO.java.
· The function processFeesAtDisbursement is called from within this function.
· Within the function processFeesAtDisbursement, I commented the line accountPayment.addAccountTrxn(loanTrxnDetailEntity).
Observation –
When the fees is paid, no entry is made in the account_payment, account_trxn, loan_trxn_detail and fee_trxn_detail tables.
Understanding –
Insertion of records into the 4 tables – account_payment, account_trxn, loan_trxn_detail and fee_trxn_detail is coupled. It is not possible to suppress insertion into one of these tables alone.
Could you please confirm if my understanding is correct or am I missing out on something here?
Thanks and regards,
Seetha Rajagopalan • Engineer - Product Development • Mifos • SunGard • Global Services
Embassy Icon, 3 Infantry Road, Bangalore 560 001, India
Main +91 (80) 3091 3000 X3234
P
Think before you print
CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use
is prohibited. If you receive this e-mail in error, please notify the sender and delete this e-mail from your system.
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
Mifos-developer mailing list mifos-developer@... Unsubscribe or change settings at: https://lists.sourceforge.net/lists/listinfo/mifos-developer
RSS Feed