IDEMPIERE-344 Improve usability for GL Journal / Migration script didn't cover account

This commit is contained in:
Carlos Ruiz 2012-08-01 15:48:35 -05:00
parent a3e4c6cf08
commit ec0af3b0fb
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
UPDATE GL_JournalLine SET Account_ID = (SELECT Account_ID FROM C_ValidCombination vc WHERE vc.C_ValidCombination_ID = GL_JournalLine.C_ValidCombination_ID);
;
UPDATE AD_System
SET LastMigrationScriptApplied='858_IDEMPIERE-344_GLJournalImprovement.sql'
WHERE LastMigrationScriptApplied<'858_IDEMPIERE-344_GLJournalImprovement.sql'
OR LastMigrationScriptApplied IS NULL
;

View File

@ -0,0 +1,8 @@
UPDATE GL_JournalLine SET Account_ID = (SELECT Account_ID FROM C_ValidCombination vc WHERE vc.C_ValidCombination_ID = GL_JournalLine.C_ValidCombination_ID);
;
UPDATE AD_System
SET LastMigrationScriptApplied='858_IDEMPIERE-344_GLJournalImprovement.sql'
WHERE LastMigrationScriptApplied<'858_IDEMPIERE-344_GLJournalImprovement.sql'
OR LastMigrationScriptApplied IS NULL
;