IDEMPIERE-1715 Implement Document Action for Production / fix oracle migration script

This commit is contained in:
Carlos Ruiz 2014-04-16 21:56:25 -05:00
parent 1dd6fecce4
commit 5de8f0f2e7
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMand
;
-- Mar 18, 2014 2:46:24 PM MYT
ALTER TABLE M_Production ADD DocAction CHAR(2) NOT NULL DEFAULT 'CO'
ALTER TABLE M_Production ADD (DocAction CHAR(2) DEFAULT 'CO' NOT NULL)
;
-- Mar 18, 2014 2:46:29 PM MYT
@ -51,7 +51,7 @@ INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMand
;
-- Mar 18, 2014 2:46:29 PM MYT
ALTER TABLE M_Production ADD DocStatus VARCHAR2(2) NOT NULL DEFAULT 'DR'
ALTER TABLE M_Production ADD (DocStatus VARCHAR2(2) DEFAULT 'DR' NOT NULL)
;
UPDATE M_Production set DocAction='CL', DocStatus='CO' WHERE IsCreated='Y' AND Processed='Y'