Sander van der Heyden and Binny Gopinath Sreevas
We were planning to have a relook at - MIFOSX-695Getting issue details... STATUS and try to clean up the same. However, we are now a bit confused on the functional requirements
Intra-Branch Transfers
Earlier, I was assuming that the fund sources for all products would be the same, so consolidated transactions like
- Scenario 1) Disburse loan to a savings
Loan should: Debit Loan Portfolio
Savings should: Credit Savings Control
- Scenario 2) Transfer from savings to Loan
Savings should: Debit Savings Control
Loan Should: Credit Income from interest, income from fees, loan portfolio, income from penalty
- Scenario 3) Transfer from savings(a) to savings(b) where A is a withdrawal and B is a deposit
savings (a) : Debit a' Savings Control
savings (b) : Credit b's Savings Control
would make sense (as long as all of them are within the same branch)
Questions (Blocker):
What happens if the fund source for two products are different?
Ex: For scenario 1)
Loan is mapped to a Bank Account and Savings is mapped to Cash. If I disburse a loan to savings, I should Ideally show my Bank account being decreased (which the shown transactions would not do)
Also, such concerns may be purely developer issues and not a valid use case? Can somebody please have a look at the suggested consolidated postings and comment?
Inter-Branch Transfers
- Scenario 1) Disburse loan to a savings from Branch A to Branch B
Loan should: Debit Loan Portfolio
Savings should: Credit Savings Control
- Scenario 2) Transfer from savings to Loan from Branch A to Branch B
Savings should: Debit Savings Control
Loan Should: Credit Income from interest, income from fees, loan portfolio, income from penalty
- Scenario 3) Transfer from savings(A) to savings(B) where A is a withdrawal and B is a deposit from Branch A to Branch B
savings (a) : Debit a' Savings Control
savings (b) : Credit b's Savings Control
Technical Implementation
Approach 1] Created Unbalanced Journal entries for the actual Loan and savings Transaction
Ex, for Scenario 1, create a debit for the Loan Transaction and a debit for the savings transaction?
Approach 2 ] Link journal entries to the account Transaction (in m_account_transfer_transaction)
entity_type_enum = 3 (Account Transfer)
what would the entity Id be? = Need to have a re-look
transaction_id = link to m_account_transfer_transaction ( Here add a new convenience label a "m_account_transfer_transaction tables id" )
account_transfer_transaction_id foreign key
( Is Payment details to account transfer (needs to be passed from the account on which the transaction was made) = Need to have a re-look