src-db/database/model/functions/MA_WORKEFFORT_VALIDATE.xml
changeset 7675 1cd1fa208bcc
parent 6775 24b5a4a1accd
child 9072 79e55dfc8af0
--- a/src-db/database/model/functions/MA_WORKEFFORT_VALIDATE.xml	Wed Jun 16 16:26:13 2010 +0530
+++ b/src-db/database/model/functions/MA_WORKEFFORT_VALIDATE.xml	Wed Jun 16 16:59:31 2010 +0530
@@ -263,6 +263,7 @@
           AND pp.M_ProductionPlan_ID=pl.M_ProductionPlan_ID
           AND pp.M_Production_ID=v_Record_ID
           AND pl.M_PRODUCT_ID=pr.M_PRODUCT_ID
+          AND pr.ISSTOCKED='Y'
         ORDER BY pp.Line, pl.Line)
       LOOP
         -- M_ProductionLine_ID, AD_Client_ID, AD_Org_ID, MovementDate, M_Product_ID, MovementQty, M_Locator_ID