accounting posting wip (only loan product mapping)

This commit is contained in:
Vishwas Babu AJ
2013-01-10 01:04:12 +05:30
parent 29af2d5999
commit 4d81b78d5d
24 changed files with 1096 additions and 33 deletions
@@ -0,0 +1,21 @@
ALTER TABLE `m_product_loan`
ADD COLUMN `accounting_type` SMALLINT(5) NOT NULL AFTER `amortization_method_enum`;
update m_product_loan set accounting_type=1;
DROP TABLE if exists `acc_product_mapping`;
CREATE TABLE `acc_product_mapping` (
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
`gl_account_id` BIGINT(20) NULL DEFAULT NULL,
`product_id` BIGINT(20) NULL DEFAULT NULL,
`product_type` SMALLINT(5) NULL DEFAULT NULL,
`financial_account_type` SMALLINT(5) NULL DEFAULT NULL,
PRIMARY KEY (`id`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB DEFAULT CHARSET=utf8;