Вы находитесь на странице: 1из 2

Creating an Order

Major Tables Impacted:


oe_order_headers_all
oe_order_lines_all

Queries:
SELECT * FROM oe_order_headers_all WHERE order_number = 57803
SELECT * FROM oe_order_lines_all WHERE header_id = (SELECT header_id FROM oe_order_headers_all
WHERE order_number = 57803)

Booking an Order
Major Tables Impacted:
wsh_delivery_details
Queries:
SELECT * FROM wsh_delivery_details WHERE source_header_id = (SELECT header_id FROM
oe_order_headers_all WHERE order_number = 57803)

Pick Release a Sales Order


Major Tables Impacted:
wsh_delivery_assignments
wsh_new_deliveries
(More tables continued for Pick Release in the following pages)

Queries:
SELECT delivery_id FROM wsh_delivery_assignments WHERE delivery_detail_id =
(SELECT delivery_detail_id FROM wsh_delivery_details WHERE source_header_id = (SELECT header_id
FROM oe_order_headers_all WHERE order_number = 57803))
SELECT * FROM wsh_new_deliveries WHERE delivery_id = 211904

4.0 Pick Confirm a Sales Order


Tables Impacted:
mtl_material_transactions_temp
mtl_material_transactions
Queries:
SELECT * FROM mtl_material_transactions WHERE transaction_id IN (11262482, 11262483)

Ship Confirm a Sales Order


Major Tables Impacted:
wsh_delivery_legs
(More tables to be continued for Ship Confirm)
Queries:
SELECT * FROM wsh_delivery_legs WHERE delivery_id = 211904
(More queries to be continued for Ship Confirm)

Major Tables Impacted:


wsh_trips
(More tables to be continued for Ship Confirm)
Queries:
SELECT * FROM wsh_trips WHERE trip_id = 179789
(More queries to be continued for Ship Confirm)
Inventory Interface- SRS updates inventory with the ship confirmation information. Inventory balances are
decremented and reservations relieved. This program always spawns the Order Management Interface - SRS
program. It is very important in the process flow that the Inventory Interface complete before the Order
Management Interface to ensure the integrity of the reservation information.
Inventory Interface picks records from MTI (MTL_TRANSACTIONS_INTERFACE) and inserts them into
MMTT (MTL_MATERIAL_TRANSACTIONS_TEMP). The Inventory Manager then processes rows and
inserts them in to MTL_MATERIAL_TRANSACTIONS.
Order Management Interface runs to update Order Management with the ship confirmation information. Order
line shipped quantities will be updated.
At the end of ship confirm, invoice lines are created in Ra_interface_lines_all table.

Tables Impacted:
Ra_interface_lines_all
Queries:
SELECT * FROM ra_interface_lines_all where interface_line_attribute1 = <order_number>

Running Workflow Background Process

Tables Impacted:
Ra_customer_trx_lines_all
Ra_customer_trx_all

Queries:
SELECT * FROM Ra_customer_trx_lines_all where interface_line_attribute1 = <order_number>
SELECT * FROM Ra_customer_trx_all where trx_header_id = <trx_header_id> (trx_header_id fetched from
Ra_customer_trx_lines_all)

7.0 Entering Receipts against Invoice


Major Tables Impacted:
ar_cash_receipts_all
ar_receivable_applications

Оценить