Postgres error in revision 8719

ERROR: cannot change number of columns in view
This commit is contained in:
Carlos Ruiz 2009-03-13 20:59:14 +00:00
parent 318ef4fe8c
commit 8138d6bf24
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ INSERT INTO AD_Column (Created,CreatedBy,Updated,Version,IsActive,AD_Reference_I
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56915 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
DROP VIEW RV_COST;
CREATE OR REPLACE VIEW RV_COST
(AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
UPDATED, UPDATEDBY, M_PRODUCT_ID, VALUE, NAME,