Finance DB Clearing Code

TRUNCATE TABLE `erp_finance_allocation`;
TRUNCATE TABLE `erp_finance_allocation_items`;
TRUNCATE TABLE `erp_finance_emi`;
TRUNCATE TABLE `erp_finance_emi_installment`;
TRUNCATE TABLE `erp_finance_reconciliation`;
TRUNCATE TABLE `erp_finance_security_cheque`;
TRUNCATE TABLE `erp_finance_subledger`;
delete from `erp_finance_subledger_type` WHERE id>3;
TRUNCATE TABLE `erp_finance_voucher_head`;
TRUNCATE TABLE `erp_finance_voucher_items`;