handle penalties/fees separately for savings and add ability to map penalties/fees to separate income accounts

This commit is contained in:
Vishwas Babu A J
2013-09-25 02:51:25 +05:30
parent 72b0889bbf
commit 5776ee3b53
16 changed files with 306 additions and 21 deletions
@@ -0,0 +1,5 @@
/***Set defaults for income from Penalties for existing Saving Products**/
INSERT INTO `acc_product_mapping` (`gl_account_id`,`product_id`,`product_type`,`payment_type`,`charge_id`,`financial_account_type`)
select mapping.gl_account_id,mapping.product_id,mapping.product_type,mapping.payment_type,mapping.charge_id, 5
from acc_product_mapping mapping
where mapping.financial_account_type = 4 and mapping.product_type=2;