0% found this document useful (0 votes)
33 views

Following Is An Important Query Which Gives The Joining Between OM, WSH, AR Tables

This query joins several Oracle Application tables to retrieve order, delivery, and transaction data. It links the order management (OM), warehouse shipments (WSH), and accounts receivable (AR) tables using primary and foreign keys to return order numbers, line details, quantities, delivery IDs, and transaction attributes from the joined tables.

Uploaded by

Nageswara Reddy
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Following Is An Important Query Which Gives The Joining Between OM, WSH, AR Tables

This query joins several Oracle Application tables to retrieve order, delivery, and transaction data. It links the order management (OM), warehouse shipments (WSH), and accounts receivable (AR) tables using primary and foreign keys to return order numbers, line details, quantities, delivery IDs, and transaction attributes from the joined tables.

Uploaded by

Nageswara Reddy
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Following is an important Query which gives the joining between OM, WSH, AR Tables SELECT ooh.order_number ,ool.line_id ,ool.

ordered_quantity ,ool.shipped_quantity ,ool.invoiced_quantity ,wdd.delivery_detail_id ,wnd.delivery_id ,rctl.interface_line_attribute1 ,rctl.interface_line_attribute3 ,rctl.interface_line_attribute6 ,rct.org_id ,rct.creation_date ,trx_number ,rctl.quantity_ordered ,rct.interface_header_context FROM oe_order_headers_all ooh ,oe_order_lines_all ool ,wsh_delivery_details wdd ,wsh_new_deliveries wnd ,wsh_delivery_assignments wda ,ra_customer_trx_all rct ,ra_customer_trx_lines_all rctl WHERE ooh.header_Id=ool.header_id AND wdd.source_header_id=ooh.header_id AND wdd.delivery_detail_Id=wda.delivery_detail_id AND wda.delivery_id=wnd.delivery_id AND rctl.interface_line_attribute1=to_char(ooh.order_number) AND rctl.interface_line_attribute6=to_char(ool.line_id) AND rctl.interface_line_attribute3=to_char(wnd.delivery_id) AND rctl.customer_trx_id=rct.customer_trx_id AND rct.interface_header_context='ORDER ENTRY'

You might also like