minor update to journal entries

This commit is contained in:
Vishwas Babu AJ
2013-02-20 20:25:02 +05:30
parent bb7662b995
commit 22e1bef324
9 changed files with 63 additions and 47 deletions
+11
View File
@@ -0,0 +1,11 @@
ALTER TABLE `acc_gl_journal_entry`
CHANGE COLUMN `portfolio_generated` `manual_entry` TINYINT(1) NOT NULL DEFAULT '0' AFTER `reversed`;
update acc_gl_journal_entry
set acc_gl_journal_entry.manual_entry=1
where acc_gl_journal_entry.entity_type is null;
update acc_gl_journal_entry
set acc_gl_journal_entry.manual_entry=0
where acc_gl_journal_entry.entity_type is not null;