2006-12-17 22:41:06 +07:00
|
|
|
CREATE OR REPLACE VIEW C_RFQRESPONSELINEQTY_V
|
|
|
|
(C_RFQRESPONSELINE_ID, C_RFQRESPONSELINEQTY_ID, C_RFQLINEQTY_ID, AD_CLIENT_ID, AD_ORG_ID,
|
|
|
|
ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY,
|
|
|
|
AD_LANGUAGE, C_UOM_ID, UOMSYMBOL, QTY, PRICE,
|
|
|
|
DISCOUNT)
|
|
|
|
AS
|
|
|
|
SELECT rq.C_RfQResponseLine_ID, rq.C_RfQResponseLineQty_ID, rq.C_RfQLineQty_ID,
|
|
|
|
rq.AD_Client_ID, rq.AD_Org_ID, rq.IsActive, rq.Created, rq.CreatedBy, rq.Updated, rq.UpdatedBy,
|
2007-01-26 16:31:43 +07:00
|
|
|
cast('en_US' as varchar) AS AD_Language,
|
2006-12-17 22:41:06 +07:00
|
|
|
q.C_UOM_ID, uom.UOMSymbol,
|
|
|
|
q.Qty, rq.Price, rq.Discount
|
|
|
|
FROM C_RfQResponseLineQty rq
|
|
|
|
INNER JOIN C_RfQLineQty q ON (rq.C_RfQLineQty_ID=q.C_RfQLineQty_ID)
|
|
|
|
INNER JOIN C_UOM uom ON (q.C_UOM_ID=uom.C_UOM_ID)
|
|
|
|
WHERE rq.IsActive='Y' AND q.IsActive='Y';
|
|
|
|
|
|
|
|
|
|
|
|
|