fixed views
This commit is contained in:
parent
5d1a38bb16
commit
2e18141da5
|
@ -108,7 +108,7 @@ FROM PP_Order o
|
|||
INNER JOIN AD_OrgInfo oi ON (o.AD_Org_ID=oi.AD_Org_ID)
|
||||
LEFT OUTER JOIN AD_User u ON (o.Planner_ID=u.AD_User_ID);
|
||||
|
||||
|
||||
DROP VIEW PP_Order_Header_v;
|
||||
CREATE OR REPLACE VIEW PP_Order_Header_v
|
||||
AS
|
||||
SELECT o.AD_Client_ID, o.AD_Org_ID, o.IsActive, o.Created, o.CreatedBy, o.Updated, o.UpdatedBy,
|
||||
|
@ -213,7 +213,8 @@ FROM PP_Order o
|
|||
INNER JOIN M_Warehouse wh ON (o.M_Warehouse_ID=wh.M_Warehouse_ID)
|
||||
INNER JOIN AD_OrgInfo oi ON (o.AD_Org_ID=oi.AD_Org_ID)
|
||||
LEFT OUTER JOIN AD_User u ON (o.Planner_ID=u.AD_User_ID);
|
||||
|
||||
|
||||
DROP VIEW PP_Product_BOMLine_v;
|
||||
CREATE VIEW PP_Product_BOMLine_v AS
|
||||
SELECT
|
||||
feature ,
|
||||
|
@ -249,7 +250,8 @@ SELECT
|
|||
validto
|
||||
FROM PP_Product_BOMLine bl
|
||||
INNER JOIN PP_Product_BOMLine_Trl blt ON (blt.PP_Product_BOMLine_ID=bl.PP_Product_BOMLine_ID);
|
||||
|
||||
|
||||
DROP VIEW PP_Product_BOMLine_vt;
|
||||
CREATE VIEW PP_Product_BOMLine_vt AS
|
||||
SELECT
|
||||
feature ,
|
||||
|
|
|
@ -108,7 +108,7 @@ FROM PP_Order o
|
|||
INNER JOIN AD_OrgInfo oi ON (o.AD_Org_ID=oi.AD_Org_ID)
|
||||
LEFT OUTER JOIN AD_User u ON (o.Planner_ID=u.AD_User_ID);
|
||||
|
||||
|
||||
DROP VIEW PP_Order_Header_v;
|
||||
CREATE OR REPLACE VIEW PP_Order_Header_v
|
||||
AS
|
||||
SELECT o.AD_Client_ID, o.AD_Org_ID, o.IsActive, o.Created, o.CreatedBy, o.Updated, o.UpdatedBy,
|
||||
|
@ -213,7 +213,8 @@ FROM PP_Order o
|
|||
INNER JOIN M_Warehouse wh ON (o.M_Warehouse_ID=wh.M_Warehouse_ID)
|
||||
INNER JOIN AD_OrgInfo oi ON (o.AD_Org_ID=oi.AD_Org_ID)
|
||||
LEFT OUTER JOIN AD_User u ON (o.Planner_ID=u.AD_User_ID);
|
||||
|
||||
|
||||
DROP VIEW PP_Product_BOMLine_v;
|
||||
CREATE VIEW PP_Product_BOMLine_v AS
|
||||
SELECT
|
||||
feature ,
|
||||
|
@ -249,7 +250,8 @@ SELECT
|
|||
validto
|
||||
FROM PP_Product_BOMLine bl
|
||||
INNER JOIN PP_Product_BOMLine_Trl blt ON (blt.PP_Product_BOMLine_ID=bl.PP_Product_BOMLine_ID);
|
||||
|
||||
|
||||
DROP VIEW PP_Product_BOMLine_vt;
|
||||
CREATE VIEW PP_Product_BOMLine_vt AS
|
||||
SELECT
|
||||
feature ,
|
||||
|
|
Loading…
Reference in New Issue