support repayment strategy approach for deciding how loan transactions should be processed against the loan schedule.

This commit is contained in:
Keith Woodlock
2012-07-30 16:59:55 +01:00
parent 4dc10ae648
commit 68ea71a68f
8 changed files with 89 additions and 33 deletions
@@ -18,6 +18,11 @@ ADD COLUMN `loan_transaction_strategy_id` bigint(20) DEFAULT NULL,
ADD KEY `FK_ltp_strategy` (`loan_transaction_strategy_id`),
ADD CONSTRAINT `FK_ltp_strategy` FOREIGN KEY (`loan_transaction_strategy_id`) REFERENCES `ref_loan_transaction_processing_strategy` (`id`);
ALTER TABLE `portfolio_loan`
ADD COLUMN `loan_transaction_strategy_id` bigint(20) DEFAULT NULL,
ADD KEY `FK_loan_ltp_strategy` (`loan_transaction_strategy_id`),
ADD CONSTRAINT `FK_loan_ltp_strategy` FOREIGN KEY (`loan_transaction_strategy_id`) REFERENCES `ref_loan_transaction_processing_strategy` (`id`);
-- update ref table with out-of-the-box strategies
INSERT INTO `ref_loan_transaction_processing_strategy`