core-jgi/migration/353a-354a/postgresql/406_BF2530003_DefaultToYiel...

17 lines
715 B
MySQL
Raw Normal View History

-- Jan 27, 2009 3:08:36 PM ECT
-- BF2530003
UPDATE AD_Column SET DefaultValue='100',Updated=TO_TIMESTAMP('2009-01-27 15:08:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53406
;
-- Jan 27, 2009 3:15:38 PM ECT
-- BF2530003
insert into t_alter_column values('pp_product_planning','Yield','NUMERIC(10)',null,'100')
;
UPDATE PP_Product_Planning SET Yield = 100 WHERE AD_Client_ID = 11;
UPDATE M_Product SET AD_Org_ID =0 WHERE AD_Client_ID = 11;
UPDATE PP_Product_BOM SET AD_Org_ID =0 WHERE AD_Client_ID = 11;
UPDATE PP_Product_BOMLine SET AD_Org_ID =0 WHERE AD_Client_ID = 11;
UPDATE AD_Workflow SET AD_Org_ID =0 WHERE AD_Client_ID = 11;
UPDATE S_Resource SET AD_Org_ID =0 WHERE AD_Client_ID = 11;