It is not rolling up correctly the lower level costs

http://sourceforge.net/tracker2/index.php?func=detail&aid=2530003&group_id=176962&atid=879332
This commit is contained in:
vpj-cd 2009-01-27 20:22:49 +00:00
parent 5fdb307116
commit 9f6c9094c2
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,16 @@
-- Jan 27, 2009 3:08:36 PM ECT
-- BF2530003
UPDATE AD_Column SET DefaultValue='100',Updated=TO_DATE('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
ALTER TABLE PP_Product_Planning MODIFY Yield NUMBER(10) DEFAULT 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;

View File

@ -0,0 +1,17 @@
-- 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;