Hi
I am trying to get the receipt num and the quantity_received value to appear once and not to multiply all the way down when it is connected to the other table. Is my order by statement correct or should i be doing something else?
thanks very much in advance for the help
kindest regards
lasd
select distinct(rsh.RECEIPT_NUM),
rsl.QUANTITY_RECEIVED,
rsl.PO_LINE_ID
from rcv_transactions rtxn,
rcv_shipment_headers rsh,
rcv_shipment_lines rsl,
where rtxn.SHIPMENT_LINE_ID=rsl.SHIPMENT_LINE_ID
and rtxn.TRANSACTION_TYPE='DELIVER'
order by rsh.RECEIPT_NUM, rsl.QUANTITY_RECEIVED
I am trying to get the receipt num and the quantity_received value to appear once and not to multiply all the way down when it is connected to the other table. Is my order by statement correct or should i be doing something else?
thanks very much in advance for the help
kindest regards
lasd
select distinct(rsh.RECEIPT_NUM),
rsl.QUANTITY_RECEIVED,
rsl.PO_LINE_ID
from rcv_transactions rtxn,
rcv_shipment_headers rsh,
rcv_shipment_lines rsl,
where rtxn.SHIPMENT_LINE_ID=rsl.SHIPMENT_LINE_ID
and rtxn.TRANSACTION_TYPE='DELIVER'
order by rsh.RECEIPT_NUM, rsl.QUANTITY_RECEIVED