387_FR2493137_NewCostElementToGarden.sql :

* delete M_Cost with AD_org_ID > 0, BUT! which are managed by Adempiere (AD_Client_ID<1000000)
This commit is contained in:
teo_sarca 2009-01-09 09:04:54 +00:00
parent 30b34b6495
commit 98f87b90aa
2 changed files with 4 additions and 3 deletions

View File

@ -3655,4 +3655,5 @@ UPDATE A_Asset a SET (Name, Description)=(SELECT SUBSTR((SELECT bp.Name FROM C_B
UPDATE PP_Product_BOM SET Name='Assembly Front Leg', Value='PFrontLeg',Updated=TO_DATE('2009-01-07 12:27:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PP_Product_BOM_ID=50003
;
DELETE FROM M_Cost WHERE AD_Org_ID >0 ;
DELETE FROM M_Cost WHERE AD_Org_ID >0 AND AD_Client_ID < 1000000
;

View File

@ -3654,5 +3654,5 @@ UPDATE A_Asset SET Name=SUBSTR((SELECT bp.Name FROM C_BPartner bp WHERE bp.C_BPa
UPDATE PP_Product_BOM SET Name='Assembly Front Leg', Value='PFrontLeg',Updated=TO_TIMESTAMP('2009-01-07 12:27:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PP_Product_BOM_ID=50003
;
DELETE FROM M_Cost WHERE AD_Org_ID >0 ;
DELETE FROM M_Cost WHERE AD_Org_ID >0 AND AD_Client_ID < 1000000
;