select
Distinct
pha.segment1,
pla.line_num,OOHA.Order_Number,OOHL.Line_Number
from
OE_DROP_SHIP_SOURCES ODSS,
OE_ORDER_HEADERS_ALL OOHA,
OE_ORDER_LINES_ALL OOHL,
PO_HEADERS_ALL PHA,
PO_LINES_ALL PLA
where
OOHA.HEADER_ID =
OOHL.HEADER_ID AND
ODSS.LINE_ID = OOHL.LINE_ID
AND
ODSS.HEADER_ID =
OOHL.HEADER_ID AND
PHA.PO_HEADER_ID =
PLA.PO_HEADER_ID AND
ODSS.PO_HEADER_ID =
PHA.PO_HEADER_ID AND
ODSS.PO_LINE_ID = PLA.PO_LINE_ID
AND
ODSS.PO_HEADER_ID = 96770 AND
ODSS.PO_LINE_ID =211834;
No comments:
Post a Comment