Vous êtes sur la page 1sur 25

2009 Oracle Corporation Proprietary and Confidential

Order Management
Live Advisor Webcast
Day, Date, 2004
August
21, 2012
time
p.m.
ET am
11:00 am
ET
/ 9:00
MT / 8:00 am PT
Teleconference Access:

VOICE
STREAMING
North
America:
xxxx
ENABLED

International: xxxx

Upcoming Community Webcasts:


September 12, 2012: Coming Soon (Doc Id 1288737.1)
October 16, 2012: New Features in Order Management R12
(Doc Id 1288737.1)

Password: Advisor

November 20, 2012: Shipsets, Arrival sets and fulfillment sets


in Order management (Doc Id 1288737.1)

International:
+1-706-758-7972
Doc Id: 1148600.1

For complete details on Order Management Advisor Webcasts


see Doc ID 1167439.1.

North America:
(866) 627-3315

Conf Id:
Oracle OM

2012 Oracle Corporation Proprietary and Confidential

For complete details on All Other upcoming Oracle Advisor


Webcast Events, please Note 740966.1.
Do you have any topic requests for future Advisor Webcast
Events? Please email your suggestions to
bonnie.barstad@oracle.com, subject: Topics of Interest.
2

<Insert Picture Here>

Interface Trip Stop


Best Practices and Debugging
Alice Thurmond
Principal Technical Support Engineer

Safe Harbor Statement


The following is intended to outline our general
product direction. It is intended for information
purposes only, and may not be incorporated into
any contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied upon in making purchasing decision. The
development, release, and timing of any features
or functionality described for Oracles products
remains at the sole discretion of Oracle.

2012 Oracle Corporation Proprietary and Confidential

<Insert Picture Here>

Interface Trip Stop (ITS)


Best Practices and Debugging
Alice Thurmond
Principal Technical Support Engineer

AGENDA

What is Interface Trip Stop


How to Run
Considerations
Generate debugging information
Analyzing the debugging information
Helpful resources

2012 Oracle Corporation Proprietary and Confidential

What is Interface Trip Stop


Method to pass shipped quantities to other
applications
Runs both Inventory Interface and Order
Management (OM) Interface.
DSNO also executed as part of OM Interface

2010 Oracle Corporation Proprietary and Confidential

How to Run
At Ship Confirm
Defer Interface unchecked
Automatic
Immediate

Defer Interface checked


Delayed to either:

Closing of Trip Stop


Close Trip unchecked
Concurrent process

2012 Oracle Corporation Proprietary and Confidential

How to Run
Closing the Trip Stop
During Ship Confirm
Close Trip unchecked
Defer Interface checked

Defer Interface unchecked


Automatic
Immediate

Defer Interface checked


Delay to Concurrent process

2012 Oracle Corporation Proprietary and Confidential

How to Run
Interface Trip Stop - SRS
Batch process
Defer Interface checked at Ship
Confirm or Close Trip Stop
Re-submission
Generate log file with debugging
information
Shipping > Interfaces > Single
Request >
All executes both OM &
Inventory interfaces
Set to 1 to include
debugging statements in log file

2012 Oracle Corporation Proprietary and Confidential

10

Considerations
Automatic vs Manual

Control when interface runs


Resources
Number of lines to process
Requirements to continue processing
Update inventory
Generate invoice

2010 Oracle Corporation Proprietary and Confidential

11

Generate debugging information


Why
Includes necessary information such as parameters, steps taken, line ids,
etc.

When
Delivery line is stuck at Shipping Transactions Next Step equal to Run
Interfaces and will not progress or log file indicates an error (View >
Requests)

How
How to Create a Debug File in Shipping Execution (Doc ID 290432.1) for
instructions on generating the log file
HTMOMSE Sales Order Diagnostic Script (Doc ID 133464.1) for instructions
on generating the sales order output (always download the latest version).
For R12.x only: There is a new version of HTMomse that can be run by any
user right from the application. The new version is called ONTomse12.sql
and the instructions for installing are in note:
Diagnostic script HTMomse to be installed as a Concurrent Process (Doc ID
1401831.1).

2010 Oracle Corporation Proprietary and Confidential

12

Analyzing the debugging information


Where to start

Start with either the log file or the Sales Order output
Look for errors
Verify the data (Sales Order output)
Identify the Delivery Detail Line ID or Order Line ID
If Delivery Detail interface flags equals N or P, check Inventory

What to do
Try to resolve error(s)
Create SR with Support providing log file, Sales Order output and any steps
used to identify or resolve issue. Generate fresh debugging information if any
changes were done.
Note occasionally issues are resolved by running ITS again.

2010 Oracle Corporation Proprietary and Confidential

13

Log file
Parameters

At the beginning of the log file


P_STOP_ID or P_DELIVERY_ID to identify log file matches sales order output.
P_MODE, was the appropriate interface selected?
P_LOG_LEVEL must be set to 1. This indicates debugging was turned on.
What is logged depends on Profile Options settings.

At the end of the log file look for:


Stops processed for ORDER MANAGEMENT with status NORMAL: 0 ==>
Stops processed for ORDER MANAGEMENT with status WARNING: 1 ==>
Stops interfaced for ORDER MANAGEMENT: 0 ==>
errbuf ==> Interface trip stop is completed with warning
retcode ==> 1
l_completion_status ==> WARNING

(Corresponding lines for Inventory and DSNO)


2010 Oracle Corporation Proprietary and Confidential

14

Log file
Search for Error such as:
Error msg: ORA-20002: 3133: Activity instance 'SHIP_LINE' is not a notified acti
Error msg: Cannot perform scheduling operation because line is fulfilled.
error in Handle_Bulk_Mode ORA-20002: 3133: Activity instance
'WAIT_FOR_CTO' is not a notified activity for item
'OEOL/1738419'.P_LOG_LEVEL must be set to 1
ERROR : A reservation record with the same item, organization, demand souce,
and supply source already exists. Please use transfer reservation if you still want
to make the changes.
03-MAY-12 01:28:28] INV_TXN_MANAGER_PUB: *** SQL error ORA-01403:
no data found

2010 Oracle Corporation Proprietary and Confidential

15

Sales Order output


Samples are from HTMomse (script) which is similar to
Diagnostic: Order Information (online).
Parameters
Order Number must match log file
Validation equal to Y (script performance is slow, set to N)
Sections being printed
WorkFlow and Inventory must be equal to Y. Recommend select Y for all

Warning
Check each table for any lines containing a number in this
column
Compare number to Warning List following the table for a brief
description of the error code
2010 Oracle Corporation Proprietary and Confidential

16

Sales Order output


Check
WSH_DELIVERY_DETAILS (DET)
INI (Inventory Interface) and OMI (Order Management Interface)

Y - interfaced
N not interfaced
P failed during interface
X not eligible to interface

Compare
Depends on failing interface
OMI

WSH_DELIVERY_DETAILS to OE_ORDER_LINES (LIN)

INI

WSH_DELIVERY_DETAILS to
MTL_TRANSACTIONS_INTERFACE (MTI)
MTL_MATERIAL_TRANSACTIONS_TEMP (TMP) - UNPICKED LINES,
MTL_MATERIAL_TRANSACTIONS (TRN) - PICKED LINES
MTL_TXN_REQUEST_LINES_V (MOV) - MOVE TRANSACTIONS

2010 Oracle Corporation Proprietary and Confidential

17

Example 1: Find the line using ID in the


error message
Log
ORA-20002: 3133: Activity instance 'SHIP_LINE' is not a notified activity for item 'OEOL/13674422'. in Package
OE_Delayed_Requests_PVT Procedure Process_Request_Pvt
Error msg: ORA-20002: 3133: Activity instance 'SHIP_LINE' is not a notified acti
vity for item 'OEOL/13674422'. in Package OE_Delayed_Requests_PVT Procedure Proc
ess_Request_Pvt

Sales order output

Next step
In MOS search Knowledge using ORA-20002: 3133
Log Service Request for data fix
2010 Oracle Corporation Proprietary and Confidential

18

Example 2: Matching IDs


Log
line_id ==> 50219
header_id ==> 54526
top_model_line_id ==> 49226
ato_line_id ==> 49242
ship_set_id ==> is NULL
arrival_set_id ==> is NULL
inventory_item_id ==> 310501

Sales order output

Next step
Check log file for error messages
2010 Oracle Corporation Proprietary and Confidential

19

Example 3: Inventory Issues


Log
******** New Session:35503684****01-MAY-12:10.57.14 **********
[01-MAY-12 10:57:14] INV_TXN_MANAGER_PUB: -----Inside process_Transactions-------.trxhdr=3878667
[01-MAY-12 10:57:14] INV_TXN_MANAGER_PUB: Inv Batch size:0
[01-MAY-12 10:57:14] INV_TXN_MANAGER_PUB: MTI Rows cnt before Validation=0
[01-MAY-12 10:57:14] INV_TXN_MANAGER_PUB: *** SQL error ORA-01403: no data found

Sales order output

Next step
All errors found in lines beginning with [date time] INV_TXN_MANAGER_PUB
belong to Inventory

2010 Oracle Corporation Proprietary and Confidential

20

Helpful resources
EBS : Shipping Search Helper (Guided Resolution)
(Doc ID 1458463.1)
Information Center: Oracle Shipping Execution (Doc
ID 1397976.2)
Information Center: Oracle Order Management (Doc
ID 1395754.2)

2010 Oracle Corporation Proprietary and Confidential

21

2012 Oracle Corporation Proprietary and Confidential

To ask a question on the


phone line, select *1 on
your phone.

To ask a question online,


use the Q&A area.

Your question will be read


aloud in the order received.

Question can also be asked


on the My Oracle Support
Communities
22

Visit My Oracle Communities


Collaborate with a large network of your industry peers, support professionals, and Oracle
experts to exchange information, ask questions & get answers. Find out how your peers are
using Oracle technologies and services to better meet their support and business needs.

Exchange Knowledge

Resolve Issues

Gain Expertise

Visit the My Oracle Support


Community now!!
1.

Log into My Oracle Support.

2.

Select the Community tab.

3.

Select the Enter Here button.

4.

Select the Community Name


link under the E-Business
Suite section of the My
Communities Menu on the left
side of the window.

2012 Oracle Corporation Proprietary and Confidential

23

Order Management Advisor Webcast


Calendar (Doc ID 1288737.1)

2012 Oracle Corporation Proprietary and Confidential

24

THANK YOU

2012 Oracle Corporation Proprietary and Confidential

25

Vous aimerez peut-être aussi