Professional Documents
Culture Documents
Receiving Transactions and Debugging Techniques - 20112012
Receiving Transactions and Debugging Techniques - 20112012
AGENDA
Receiving Introduction
Concepts Routing, Destination types, Receiving
tolerance, Receiving Options
Processing Modes
Transaction Types - Demo
Data flow for various document types (PO,ISO\IOT)
Troubleshooting commonly reported issues
Overview of Gathering Debug Logs
What is Receiving?
Supplier
Transfer
Shipment
Receive
Deliver
Inventory
Shop floor
Order Entry
Internal
Inventory shipment
Inspect
Expense
Internal Sales Order (ISO) - are sourced from your inventory rather than from
outside suppliers
Dropship Sales Order Receipt - for items that your supplier ships directly to
the customer either because you don't stock or currently don't have the items
in inventory, or because it's more cost effective for the supplier to ship the item
to the customer directly. Drop Shipment was introduced in R11.
Back to Back sales order Receipt Same as above, except the material
physically goes to inventory and the tracking is explicitly done on the SO.
AGENDA
Receiving Introduction
Concepts Routing, Destination types, Tolerance
and Receiving Options
Major Setups Processing Mode
Transaction Types - Demo
Data flow for various document types (PO,ISO\IOT)
Troubleshooting commonly reported issues
Overview of Gathering Debug Logs
10
11
AGENDA
Receiving Introduction
Concepts Routing, Destination types, Receiving
tolerance
Receiving Transaction Processor and Processing
Modes
Transaction Types - Demo
Data flow for various document types (PO,ISO\IOT)
Troubleshooting commonly reported issues
Overview of Gathering Debug Logs
12
13
AGENDA
Receiving Introduction
Concepts Routing, Destination types, Receiving
tolerance, Receiving Options
Major Setups Processing Mode
Transaction Types Demo (Receive, Inspect, Deliver, Correct,
Return)
14
Transaction Types
AGENDA
Receiving Introduction
Concepts Routing, Destination types, Receiving
tolerance, Receiving Options
Major Setups Processing Mode
Transaction Types - Demo
Data flow for various document types (PO,ISO\IOT)
Troubleshooting commonly reported issues
Overview of Gathering Debug Logs
16
RHI - Rcv_Headers_Interface
RTI Rcv_Transactions_Interface
RSH Rcv_Shipment_Headers
RSL Rcv_Shipment_Lines
RT Rcv_Transactions
RLT Rcv_Lot_Transactions
MS -- MTL_SUPPLY
RS -- RCV_SUPPLY
RLS Rcv_Lots_Supply
RSS Rcv_Serials_Supply
MTLI Mtl_Transactions_Lot_Interface
MSNI Mtl_Serial_Numbers_Interface
MTLT Mtl_Transaction_Lots_Temp
MSNT Mtl_Serial_Number_Temp
MTLN Mtl_Transaction_Lot_Numbers
MUT Mtl_Unit_Transactions
MSN Mtl_Serial_Numbers
MMT Mtl_Material_Transactions
MMTT Mtl_Material_Transactions_Temp
Dataflow charts:
Processes involved:
RTP Receiving Transaction Processor
Inventory Transaction Manager
17
RSH
RTI with
receive
RHI
RTP
MTL_SUPPLY
RSL
deletes
record
Modifyies
supply type
code to
RECEIVING
RECEIVE
RTP
deletes
record
DELIVER
RT with DELIVER
18
creates PO
Supply type
RTI
RHI
RTP
deletes
record
RSH
RSL
RT
MTL_SUPPLY
MMTT
Receive and
Deliver
records saved
at same time
INV worker
MMT
19
Create record
in case of ROI
Save receipts
&delivery
RHI
MTL_SUPPLY
RTI
RTP
Delete record
RSH
RSL
RT
RST
MMTT
MSNT
INV worker
MMT
MSN
MUT
20
Create record
Save receipts
in case of ROI
MTL_SUPPLY
&delivery
RHI
RTI
RTP
Delete record
RSH
RSL
RT
RLT
MMTT
MTLT
INV worker
MMT
MTLN
21
MTLI/MSNI
Populate Interface
table and call
Inventory
Transaction
Processor
MSN\MUT
INV worker
MTI
MLN\MTLN
Issue Txn in the
Source Inv Org
Populates Receiving
Interface and Calls
RTP
Receiving Manager
RTI
MSNI\MTLI
RSH
RSL
RTP
RLS\RLT
RSS\RST
MTL_SUPPLY
Create receipt
MMT
INV worker
MSN\MUT
MLN\MTLN
Delete mtl
supply
RT
MMTT
22
AGENDA
Receiving Introduction
Concepts Routing, Destination types, Receiving
tolerance, Receiving Options
Major Setups Processing Mode
Transaction Types - Demo
Data flow for various document types (PO,ISO\IOT)
Troubleshooting commonly reported issues
- Type of issues in receiving
- Gathering Debug Logs
- Types of Trace
23
24
25
1) This may occur because a previous attempt at the transaction has failed or is
incompelte and is stuck in Transaction Status Summary (rcv_transactions_interface) as
Pending. Delete the stuck record and redo the transaction.
26
27
28
If Reprocess fails,
Review the
Debug Files to
find the reason
for failure.
29
30
31
32
33
34
35
AGENDA
Receiving Introduction
Concepts Routing, Destination types, Receiving
tolerance
Major Setups Processing Mode, Receiving Options
Transaction Types - Demo
Data flow for various document types (PO,ISO\IOT)
Troubleshooting commonly reported issues
- Type of issues in receiving
- Gathering Debug Logs
- Types of Trace
36
Set the
Suggested
profiles
depending
on the
transaction
Perform the
Erroring
Transaction
Reset the
Profiles
Collect the
Debug
information
37
ENSURE :
a) Profile values should ONLY be set at User Level.
b) Transact minimum number of lines while gathering logs.
c) After replicating - Reset the Profiles immediately.
d) It is easier to gather logs in Immediate\Batch mode than on-line.
38
39
MODULE
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ROI_PREPROCESSOR.
MESSAGE_TEXT
Entering preprocessor. Request_id = 3388603,Group_id=514
RCV_FAIL_IF_LINE_FAILS profile option =N
Calling the Garbage collector
Calling explode_lpn
After explode_lpn
After update to order_transaction_id
Opening transactions cursor. x_request_id=3388603
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ROI_PREPROCESSOR.
po.plsql.RCV_ERROR_PKG.RCV_ERR
po.plsql.RCV_ERROR_PKG.RCV_ERR
po.plsql.RCV_ERROR_PKG.RCV_ERR
po.plsql.RCV_ERROR_PKG.RCV_ERR
po.plsql.RCV_ERROR_PKG.RCV_ERR
po.plsql.RCV_ERROR_PKG.RCV_ERR
40
Immediate
Batch
41
42
43
P.S: All the debug messages are pre-coded by development to capture possible errors, some errors might
evade this capturing and hence may not be reported on the log. In such cases, there is no way to know the
possible cause without going through the underlying code. In this case you may drill down further in the
package INV_LPN_TRX_PUB and investigate by creating new debug messages .
44
45
AGENDA
Receiving Introduction
Concepts Routing, Destination types, Receiving
tolerance
Major Setups Processing Mode, Receiving Options
Transaction Types - Demo
Data flow for various document types (PO,ISO\IOT)
Troubleshooting commonly reported issues
- Type of issues in receiving
- Gathering Debug Logs
- Types of Trace
46
References :
Steps To Take FRD Trace in 11.5.10 & R12 (Doc ID 867943.1)
How To Create Forms And Database Level Trace (Doc ID 564817.1)
47
48
49
50
51
Tuesday,
December 4,
2012 at 14:00
London
Thursday,
Document 1501063.1
December 6, 2012
at 14:00 London
Tuesday,
December 18,
2012 at 14:00
London
Document 1501064.1
Document 1504425.1
52
https://support.oracle.com/CSP/main/article?cmd=show
&type=ATT&id=1385165.1:DISCOVER
53
THANK YOU
54