Query to get Return Sales Order(RMA: Return Material Authorization) in Oracle APPS R12
SELECT ooha.order_number "
ac.customer_name,
ooha.order_category_
oola.ordered_item,
oola.ordered_quantity,
rsl.quantity_shipped,
rsl. quantity_received,
oola.subinventory,
shipment_num,
rsh.receipt_num,
rsh.attribute_category,
rsl.unit_of_measure,
rsl.item_description,
rsl.shipment_line_
rsl.source_document_
RCT.trx_number trx_
FROM apps.oe_order_headers_
apps.oe_order_lines_all
ra_customer_trx_all RCT
apps.rcv_shipment_
apps.ar_customers ac,
apps.rcv_shipment_lines
apps.hz_cust_accounts h
WHERE 1 = 1
AND ooha.header_id = oo
AND RCT.interface_
AND RCT.interface_
AND ooha.header_id = rs
AND rsh.shipment_
AND rsl.oe_order_line_
AND ooha.order_number =
AND ooha.sold_to_org_id
AND rsl.source_
AND hca.cust_account_id
ac.customer_name,
ooha.order_category_
oola.ordered_item,
oola.ordered_quantity,
rsl.quantity_shipped,
rsl. quantity_received,
oola.subinventory,
shipment_num,
rsh.receipt_num,
rsh.attribute_category,
rsl.unit_of_measure,
rsl.item_description,
rsl.shipment_line_
rsl.source_document_
RCT.trx_number trx_
FROM apps.oe_order_headers_
apps.oe_order_lines_all
ra_customer_trx_all RCT
apps.rcv_shipment_
apps.ar_customers ac,
apps.rcv_shipment_lines
apps.hz_cust_accounts h
WHERE 1 = 1
AND ooha.header_id = oo
AND RCT.interface_
AND RCT.interface_
AND ooha.header_id = rs
AND rsh.shipment_
AND rsl.oe_order_line_
AND ooha.order_number =
AND ooha.sold_to_org_id
AND rsl.source_
AND hca.cust_account_id
 
No comments:
Post a Comment