diff --git a/migration/353a-trunk/oracle/535_FR2841841_RequisitionImprovements.sql b/migration/353a-trunk/oracle/535_FR2841841_RequisitionImprovements.sql index d58dcf2e3b..3f859b787c 100644 --- a/migration/353a-trunk/oracle/535_FR2841841_RequisitionImprovements.sql +++ b/migration/353a-trunk/oracle/535_FR2841841_RequisitionImprovements.sql @@ -132,7 +132,7 @@ update M_RequisitionLine rl set C_UOM_ID=(select p.C_UOM_ID from M_Product p where p.M_Product_ID=rl.M_Product_ID) where M_Product_ID is not null and C_UOM_ID is null; -/* Update M_Product.IsPurchased: +-- Update M_Product.IsPurchased: update M_Product p set IsPurchased='Y' where p.IsPurchased='N' and p.IsActive='Y' and p.IsSummary='N' and ( @@ -145,4 +145,4 @@ and ( where il.M_Product_ID=p.M_Product_ID and i.IsSOTrx='N') ) ; -*/ + diff --git a/migration/353a-trunk/postgresql/535_FR2841841_RequisitionImprovements.sql b/migration/353a-trunk/postgresql/535_FR2841841_RequisitionImprovements.sql index 1215f13ce1..8d5045f62e 100644 --- a/migration/353a-trunk/postgresql/535_FR2841841_RequisitionImprovements.sql +++ b/migration/353a-trunk/postgresql/535_FR2841841_RequisitionImprovements.sql @@ -132,7 +132,7 @@ update M_RequisitionLine rl set C_UOM_ID=(select p.C_UOM_ID from M_Product p where p.M_Product_ID=rl.M_Product_ID) where M_Product_ID is not null and C_UOM_ID is null; -/* Update M_Product.IsPurchased: +-- Update M_Product.IsPurchased: update M_Product p set IsPurchased='Y' where p.IsPurchased='N' and p.IsActive='Y' and p.IsSummary='N' and ( @@ -145,4 +145,4 @@ and ( where il.M_Product_ID=p.M_Product_ID and i.IsSOTrx='N') ) ; -*/ +