fixed views

This commit is contained in:
vpj-cd 2008-08-08 03:28:21 +00:00
parent 3b4bf9c894
commit ab37a3eeac
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ SELECT
FROM DD_Order o
INNER JOIN DD_OrderLine l ON (o.DD_Order_ID=l.DD_Order_ID)
--INNER JOIN M_Locator loc ON (loc.M_Locator_ID=l.M_Locator_ID)
WHERE (o.DocStatus = 'DR' AND o.IsDelivered='N') -- Status must be CO - not CL/RE
WHERE (o.DocStatus = 'CO' AND o.IsDelivered='N') -- Status must be CO - not CL/RE
-- not Offers and open Walkin-Receipts
AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType
WHERE DocBaseType='DOO')

View File

@ -41,7 +41,7 @@ SELECT
FROM DD_Order o
INNER JOIN DD_OrderLine l ON (o.DD_Order_ID=l.DD_Order_ID)
--INNER JOIN M_Locator loc ON (loc.M_Locator_ID=l.M_Locator_ID)
WHERE (o.DocStatus = 'DR' AND o.IsDelivered='N') -- Status must be CO - not CL/RE
WHERE (o.DocStatus = 'CO' AND o.IsDelivered='N') -- Status must be CO - not CL/RE
-- not Offers and open Walkin-Receipts
AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType
WHERE DocBaseType='DOO')