diff --git a/mifosng-provider/src/main/resources/sql/migrations/core_db/V256__Update script for General_Ledger_report.sql b/mifosng-provider/src/main/resources/sql/migrations/core_db/V256__Update script for General_Ledger_report.sql new file mode 100644 index 000000000..f667e3d0c --- /dev/null +++ b/mifosng-provider/src/main/resources/sql/migrations/core_db/V256__Update script for General_Ledger_report.sql @@ -0,0 +1,20 @@ +update stretchy_report_parameter +set report_parameter_name='account' +where report_id = (select stretchy_report.id from stretchy_report where report_name='GeneralLedgerReport') +and parameter_id=(select p.id from stretchy_parameter p where parameter_name='SelectGLAccountNO'); + + +update stretchy_report_parameter +set report_parameter_name='fromDate' +where report_id =(select stretchy_report.id from stretchy_report where report_name='GeneralLedgerReport') +and parameter_id=(select p.id from stretchy_parameter p where parameter_name='startDateSelect'); + +update stretchy_report_parameter +set report_parameter_name='toDate' +where report_id=(select stretchy_report.id from stretchy_report where report_name='GeneralLedgerReport') +and parameter_id=(select p.id from stretchy_parameter p where parameter_name='endDateSelect'); + +update stretchy_report_parameter +set report_parameter_name='branch' +where report_id=(select stretchy_report.id from stretchy_report where report_name='GeneralLedgerReport') +and parameter_id=(select p.id from stretchy_parameter p where parameter_name='OfficeIdSelectOne'); \ No newline at end of file