FR [ 2841841 ] Requisition Improvements

https://sourceforge.net/tracker/?func=detail&aid=2841841&group_id=176962&atid=879335

Uncomment M_Product.IsPurchased migration query
This commit is contained in:
teo_sarca 2009-08-24 09:04:18 +00:00
parent 39db7a0384
commit 6b3a28d46c
2 changed files with 4 additions and 4 deletions

View File

@ -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) 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; 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' update M_Product p set IsPurchased='Y'
where p.IsPurchased='N' and p.IsActive='Y' and p.IsSummary='N' where p.IsPurchased='N' and p.IsActive='Y' and p.IsSummary='N'
and ( and (
@ -145,4 +145,4 @@ and (
where il.M_Product_ID=p.M_Product_ID and i.IsSOTrx='N') where il.M_Product_ID=p.M_Product_ID and i.IsSOTrx='N')
) )
; ;
*/

View File

@ -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) 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; 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' update M_Product p set IsPurchased='Y'
where p.IsPurchased='N' and p.IsActive='Y' and p.IsSummary='N' where p.IsPurchased='N' and p.IsActive='Y' and p.IsSummary='N'
and ( and (
@ -145,4 +145,4 @@ and (
where il.M_Product_ID=p.M_Product_ID and i.IsSOTrx='N') where il.M_Product_ID=p.M_Product_ID and i.IsSOTrx='N')
) )
; ;
*/