Anda di halaman 1dari 68

2009 Oracle Corporation Proprietary and Confidential

AGENDA
Presentation approximately 45 minutes
Q&A Session approximately 15 minutes
Web attendees can ask questions via Q&A panel
Phone attendees can ask questions via Q&A panel or
phone (operator assisted)

Send your question

Who to ask?
Q&A panel

type your question here

your question pop-up here

ATTENTION AUDIO INFORMATION


Voice streaming/Audio broadcast is available.
For full audio access join teleconference.
Teleconference Connect details:

1.Conference ID: < 52243722 >


2.International dial in: < +44 (0) 1452 564 540 >
3.List with national toll free numbers is available in
note < 1304210.1 >
Note:
You can view this info anytime using WebEx menu:
Communicate > Join Teleconference
from your WebEx session
5

<Insert Picture Here>

Approval Notifications:
Using Master Notes and Prior to Logging Service Requests
Junko Konishi
Senior Support Engineer, EBS CoE Procurement
6

AGENDA
Presentation approximately 45 minutes
Q&A Session approximately 15 minutes
Web attendees can ask questions via Q&A panel
Phone attendees can ask questions via Q&A panel or
phone (operator assisted)

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.

2010 Oracle Corporation Proprietary and Confidential

<Insert Picture Here>

Approval Notifications:
Using Master Notes and Prior to Logging Service Requests
Junko Konishi
Senior Support Engineer, EBS CoE Procurement
9

Objective
Understanding functionality of Approval Notification
Familiarize with common errors and issues including Master
Notes for Approval Notification
How to diagnose issues in Approval Notification

Minimize the time and decrease the new SR loggings !


** In this session, we will specifically discuss Approval Notifications, not
the Approval Workflow issues. This will be covered in Approval
Workflow session coming up later.

10

Agenda
1.
2.
3.
4.
5.
6.

Overview of Approval Notifications


Frequent Issues and Topics
Frequent Errors
Master Notes
Diagnostics & Trouble shooting Tips
Documentation

11

Agenda
1.
2.
3.
4.
5.
6.

Overview of Approval Notifications


Frequent Issues and Topics
Frequent Errors
Master Notes
Diagnostics & Trouble shooting Tips
Documentation

12

Purchasing Notifications
Purchasing documents Notifications
Purchase orders and requisitions that require approval action
Requisitions or purchase orders that are incomplete
Purchase orders and releases that require acceptance
RFQs and quotations with a Status of In Process
RFQs for which the Status is Active and the current date is between the
Due Date and the Close Date on the RFQ
Quotations for which the Status is Active

Blanket purchase agreements or catalog quotations sent by your


supplier through the Purchasing Documents Open Interface when price
increases on those documents exceed a price update tolerance that you
define

* And other module related notifications .


Debit memo failure , Service Procurement , MRP schedule related etc.

13

Approval Notifications

Approval Action:

- Submit the Approval action to workflow through:


* Approval Document Window
* Notification / Email
Approval Notification / Email :
- Manage pending approval queue and take approval actions
by viewing and responding to Approval Notifications from
- Notifications Summary Web page including the Worklist
- Notifications pages accessible in the Workflow menu in Purchasing.
- e-mail.

14

Notification Summary
[N] Purchasing

- Notifications Summary

Advanced Workflow Worklist (AdvancWorklistPG)

15

Oracle Workflow - Worklist


Purchasing
[N] Workflow User - Advanced Worklist
Advanced Wokflow Worklist
(AdvancWorklistPG)

[N] Workflow User:Self Service Workflow


- Notifications
NotificationsPG

16

Notification Details
When move the cursor to the Subject the URL link is
shown:
Notification Details Pagehttp://celalnx40.us.oracle.com:10307/OA_HTML/OA.jsp?
(NotificationsPG)
OAFunc=FND_WFNTF_DETAILS&NtfId=4896818&addBrea
Document approval
dCrumb=Y&retainAM=Y&_ti=1069547353&oapc=6
actions in the
notification:

Notification ID:
ID 4896818

Approve,
Approve and Forward,

Links in Notification:

Forward

Reject

Reassign

Request Information

Edit Document

View Document Details

Open Document

PDF Document

17

Agenda
1.
2.
3.
4.
5.
6.

Overview of Approval Notifications


Frequent Issues and Topics
Frequent Errors
Master Notes
Diagnostics & Trouble shooting Tips
Documentation

18

Frequent Topics for Rediscovery


2.1 Open Document Link
2.2 View / Edit Requisition Link

-- Insufficient Privilege
2.3 Attachment Link
2.4 Reassign / Delegate / Vacation Rule
2.5 Others :

Currency Rounding/ Document Amount/ Supplier Notification /


Blackberry
2.6 Profile Options
2.7 Resend Failed Workflow Notification
2.8 Reset script
2.9 Reload Wft
2.10 Purge

19

2.1 Open Document Link


When clicking on the open document link of an approval
notification

(1) Open Document Link opens


blank screen (11i)
* Extremely frequently
rediscovered Issue!
Doc ID 1071664.1 - The Open
Document Link in the Purchasing
Notification Opens to a Blank
Screen (11i Patch:9281489.
poxwfrqa.wft POXWPA1B.pls )

Open Document link

20

2.1 Open Document Link

(2) Encounter ORA errors or "Not setup as a Buyer" message(11i)


-- "You are not setup as a buyer.
To access this form you need to be a buyer
or
ORA-00911 , FRM-40505. FRM- 40723 error
in Requisition/ Purchase Order/ Blanket Release notification
Doc ID1062062.1 Encountering ORA-00911 And Possibly FRM40723 FRM-40505 , "You Are Not Setup as a Buyer" Errors When Using
Open Document Link from Notifications
(11i Patch.9094950
AFICXFMB.pls FormsLauncher.java
FNDSCSGN.fmb + etc )

21

2.1 Open Document Link


3) Opening Release from Open Document Link shows no details(R12+) :
Doc ID 951967.1 When Opening The Release Using The Open Document
Link No Details Are Displayed (Patch R12 Patch 9593873:R12.PO.A. 12.1
Patch 9301926:R12.PO.B. POXWPA1B.pls and others)

4) Open Requisition has Error: Some Exception Was Raised-1722 (R12+)


Doc ID 837231.1 REQAPPRV: Open Document Link Does not Open
Requisition Form - Error: Some Exception Was Raised-1722 (R12 Patch
9558689:R12.PO.A 12.1 Patch 7590750:R12.PO.B poxwfrqa.wft )

22

2.2 Edit / View Requisition Link

Links in Notification:

Edit Document
View Document Details

23

2.2 Edit / View Requisition Link


Insufficient Privileges message..
When clicking on the Edit/View Requisition or document link of an
approval notification Get Error You have insufficient privileges for the current operation.
Please contact your system administrator
1) "Internet Procurement responsibility":
Web enabled Self service web responsibility
is needed.
ICX_POR_HOMEPAGE_MENU
which is Internet Procurement responsibility.

(iProcurement Super User 'is a forms based responsibility.)


Assign correct Responsibility from System Administrator:
[N] Security>User>Define. Bounce the apache and retest.

Doc ID 363788.1. Notifications: From View Requisition Details or Edit


Requisition 'You Have Insufficient Privileges' is Returned
Add the Internet Procurement responsibility to the approver user. (11i, R12 )
24

2.2 Edit / View Requisition Link

2) "Approver Can Modify" checkbox :


Steps:

Purchasing responsibility
[N] Setup >> Purchasing
>> Document Types

Approver Can Modify

Check "Approver Can Modify


Doc ID 808964.1: Insufficient Privileges Error When Try To Open, Edit or View
Requisitions In Any Status.
Doc ID 437142.1 Email Notification Errors When Clicking On Edit Requisition Link
(iProcurement)
25

2.2 Edit / View Requisition Link

3) Submenu "Purchasing Buyer Work Center" (R12+):


Some users who has only PO Buyer responsibility assigned encounter error
The approver responsibility PO Buyer not having submenu

"Purchasing Buyer Work Center" that enables access to Buyer Work Center.
View document details/Edit document link opens the PO in "buyer work center" so it is
necessary that the responsibility has access to the buyer work center.
Doc ID 803188.1 Insufficient Privileges Exception When Using the View Document
Details/Edit Document Links in the PO Approval Notification (R12 and later)

Further Trouble shooting tips:

Doc ID 402870.1 How To Diagnose Issues With The Edit


Requisition Link and View Requisition Details Link In Notifications

26

2.3 Attachment link


Purchase Order Approval Notification Shows No Link for Attached Files
But for Purchase Requisition notifications there is a field "Attachment" that
has a link to any corresponding attachment files

The purchase order approval workflow ,does not support this functionality.
Doc ID 280231.1 "Purchase Order Notification Shows No Link for Attached Files
ER Bug:3813426 - ENHANCE PURCHASE ORDER APPROVAL REQUEST
NOTIFICATIONS

27

2.4 Reassign / Delegate / Vacation Rule

Reassign (as common Notification)

- " Delegate authority for responding to this notification"


Give the new user authority to respond to the notification
-- " Transfer ownership of this notification"
Give the new user complete ownership of and responsibility for the notification.

Reassign in Purchasing
Transferring the ownership is not allowed
Use "Delegate Your Response to reassign Notification.
Doc ID 273907.1 - Unable To Reassign A Notification Using The Transfer Option

Doc ID 221915.1 - How to Reassign Purchase Order Approval Notification


* ER Bug 4408090 REMOVE TRANSFER OWNERSHIP FOR IPROCUREMENT
Also Doc ID 376973.1 - Vacation Rule 'Transfer Notification Ownership' Allows Approval Without
Authority

28

2.4 Reassign / Delegate / Vacation Rule


Create routing rule from Vacation Rules link in Worklist Page.
Create Rule button Select Reassign > Delegate your response

29

2.5 Currency Rounding

Unit Price on Purchase order Line is rounded off in approval notification.


Decimal is not matching as entered in the form ...

Doc 817719.1 - Purchase Order


Notification Unit Price Gets
Rounded Incorrectly

Set up the currency precision


1) Navigation: Setup : Financials : Currency
2) Query the currency in question
3) Set precision = to be desired number of decimals for notification
30

2.5 Notification Header Amount

Notification Header amount not changed:


If a PO Approval Notification is reopened after an approver
modified, the notification header shows originally received
amount and not the updated information.
The PO line amount is updated but the PO header amount is not
updated to reflect the changes made.
The PO/Requisition line details are dynamically populated, the other part is not
Doc ID171447.1 The PO Header Amount in a Notification Is Not Updated
When The Line Amount Is Changed
Doc ID 1064940.1 Requisition Total Does Not Change On A Notification
When The Requisition Lines Are Amended

31

2.5 Supplier Notification


Failed to generate the PDF document:
The PDF document attached to PO acceptance notification
shows the Error when opened by the supplier:

Error: "System failed to generate the PDF document.


Please contact your system administrator "
Doc ID1078546.1 System Fails To Generate PDF Document After Clicking
"PDF Document" On Supplier Notification When Different Languages Are
Used (R12)
Patch 9142828:R12.PO.A POXVCOMB.pls

Language issue:
PO Approval notification to supplier shows Subject and Body in
wrong language. It should be using the supplier's language.
Doc ID 1098523.1 - PO Approval Notification Shows Subject and Body In Wrong
Language To Supplier
(11iPatch 9724747 / R12 Patch 9283386 POXWPA1B.pls / reload poxwfpoa.wft)
32

2.5 Blackberry

Approving Purchase Orders and Requisitions Via Mobile


Technology devices such as Blackberry
Unable to approve a Purchase Order notification via blackberry.
The various options of Approve, Reject, etc are not highlighted in
the Blackberry email and not able to click on these options.
This problem happens with some blackberry models only
Email client html compatibility problem
Try to use the notification preference set to "Plain text mail" or "plain text
with HTML attachments"

Doc ID 444122.1 Unable to Approve Purchase Orders via Blackberry


Doc ID 338874.1 - Is It Possible To Approve Purchase Orders ,
Requisitions Via Blackberry, Smart Phone, or PDA?
33

2.6 Profile Options


MO: Operating Unit
Distinguish which Operating Unit will be
used by the users
Set "MO: Operating Unit" profile option at
both Site and Responsibility levels.

Doc ID 602141.1 "R12 - Error ORA-20001, APP-FND-02902


Accessing Profile Classes Form With Multi-Org Access Control
(MOAC) Enabled".

MO: Security Profile


Specify the Operating Units User has access to
If both 'MO: Security Profile' and 'MO: Operating Unit' are defined at a
Responsibility level then 'MO: Operating Unit' will be ignored and 'MO:
Security Profile' will be effective.

34

2.6 Profile Options


Sign-On:Notification

User having notifications will be notified upon login


when it is set to Yes .

PO: Notification Lines


Display Limit

Number of purchase order or release lines to be displayed in


approval notifications.

Oracle recommends a maximum of 30 lines.


35

2.7 Resend Failed Workflow Notification

Resend Failed/Error Workflow Notification with status 'Failed'


One or more workflow notifications
are marked with status "failed"
and are not sent out.
How to tell the Workflow
Notification mailer to retry these
notifications?

Run the concurrent request:


'Resend Failed/Error Workflow Notifications

Doc ID 387988.1 - How to resend/retry Workflow e-mail


Notifications Marked With Status ''Failed''?
36

2.8 Reset script


PO is stuck in 'In-Process' status

PO is stuck in 'In-Process' status and there is no pending notification


and the workflow cannot be progressed using wfretry,

Reset Script:
Scripts allow the user to resubmit the document for approval when documents are
stuck in 'In-Process' or 'Pre-Approved' statuses by resetting the authorization
status to Incomplete or Requires Re-approval status.

** This is frequently used, helpful note!


Doc ID 390023.1 - How To Reset a Document From In Process or PreApproved To Incomplete/Requires Re-approval For Isolated Cases
Patch:5549427 for release 11.5.9 and 11.5.10. Patch:9707155:R12.PO.A for R12.
Patch:9707155:R12.PO.B for 12.1 The scripts are:
poxrespo.sql - to reset Standard, Blanket, Planned and Contract purchase orders
poresrel.sql - to reset Blanket and scheduled releases

poresreq.sql - to reset Internal and purchase requisitions

37

2.9 Reload Wft (Workflow Definition file)


Workflow file corrupted or incorrectly loaded into database
In PO Approval Notifications, the "Purchase Order Lines" section shows
corrupted characters: 0;0;0;0;0.500000;-752,48:-848,48:-896,48:
Reload the workflow file resolve the issue.
Wft file (Workflow Process Definition)
Load into the database with the following command :
WFLOAD <username/passwd@instance_SID> 0 Y FORCE xxxxxx.wft

For example:
WFLOAD apps/apps 0 Y FORCE $PO_TOP/patch/115/import/US/poxwfrqa.wft
Doc ID 413798.1 - PO Approval Notifications Do Not Have the Purchase
Order Lines Section (11i after upgrade from 11.5.9 to 11.5.10)
Also other case, Doc ID 1098523.1 - PO Approval Notification Shows
Subject and Body In Wrong Language To Supplier

38

2.10 Purge

Remove error notifications


Some of the notification in Notification Summary are invalid and
user don't want to see these in their worklist.
Abort workflow scripts
Concurrent Purge Obsolete Workflow Runtime Data
Doc ID 458886.1 How To Diagnose Issues Related To Purge Of
Purchasing Workflow Data That Remain Even After Running The 'Purge
Obsolete Workflow Runtime Data' Concurrent Program?
Doc ID 357904.1 - Remove error notifications from worklist
Further Trouble shooting tips::
Doc ID 165316.1 - bde_wf_data.sql - Query Workflow Runtime Data That
Is Eligible For Purging

39

Other Additions:
Customizations & Frequent FAQs
How to customize button or remove the link from notifications? .

Doc ID 550761.1 How To Disable "Approve" Button On Requisition Notifications Page?

Doc ID 312456.1 How to Remove Approve, Reject, Forward Links on Notification Email for
Requisitions?

Doc ID 957733.1 How Can Open Document Link From An Email Notification Can Be Hidden?
** NOTE: These are considered as customization, if any patch overwrite the
REQAPPRV workflow the customization above will be lost.

Reference for links and buttons:


Doc ID 202283.1 Facts about Buttons and Links within PO/iProcurement Approval Notifications
Doc ID 402870.1 How To Diagnose Issues With The Edit Requisition Link and View Requisition Details
Link In Notifications

Frequent FAQ:
Doc ID 210628.1 FAQ: Purchasing Reminder Notifications
Doc ID 339198.1 How To Setup the Timeout Feature For 11.5.10 Requisition Reminder Notifications1)
Doc ID 307577.1 FAQ: E-Mail PO Functionality
Doc ID 299554.1 Cancelling a PO or PO Line Does Not Send a Notification to the Supplier.

40

Agenda
1.
2.
3.
4.
5.
6.

Overview of Approval Notifications


Frequent Issues and Topics
Frequent Errors
Master Notes
Diagnostics & Trouble shooting Tips
Documentation

41

Frequent Errors
3.1 ORA-06502: numeric value error: invalid LOB locator
specified:
3.2 Some exception was raised-1722
3.3 ORA-20002: 2018: Unable to generate the notification XML
- ORA-06502: PL/SQL: numeric or value error
- ORA-01403: no data found / PO_EMAIL_BODY
- ORA-01403: no data found / PO_EMAIL_HEADER
- ORA-01403: no data found / ACTION_HISTORY
3.4 failed to lock document after 1000 tries

42

3.1 ORA-06502: numeric value error:


invalid LOB locator specified: ORA-22275 ORA06512 at "APPS_WF_NOTIFICATION

Open Approval Notification :


ERROR :
ORA-06502: numeric value error: invalid LOB locator specified:
ORA-22275 ORA-06512 at "APPS_WF_NOTIFICATION

Doc ID 743148.1- Message Invalid LOB Locator Specified ORA-22275 ORA06512 In Approval Notification
11i Patch 6234198 R12/12.1 : Patch: 7291462
correction scripts - POXINVLOBC.sql./ POXINVLOBF.sql

43

3.2 Error 'Some exception was raised-1722'

Open Requisition from Open Document Link.


Requisition form opens but no details but Error:
ERROR :
'Some exception was raised-1722'

Doc ID 837231.1 R12 , R12.1 REQAPPRV: Open Document Link Does not
Open Requisition Form - Error: Some Exception Was Raised-1722
( Patch 9558689:R12.PO.A Patch 7590750:R12.PO.B )

44

3.3 ORA-20002: 2018:


Unable to generate the notification XML.
1) Caused by: ORA-06502: PL/SQL: numeric or value error
No notifications are received / PO Approval workflow complete with error
ERROR: In wfstat.sql uploaded , Error Activity: PO Approved
[WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: 2018: Unable to
generate the notification XML. Caused by: 2020: Error when getting notification content.
Caused by: ORA-06502: PL/SQL: numeric or value error
WF_NOTIFICATION.WriteToClob() Wf_Notification.GetAttrClob(620966,
PO_LINES_DETAILS, text/plain)
* An additional call to the WriteToClob() function results in an ORA-6502
PLSQL numeric value error.

Most frequent!
Doc ID 754600.1: Purchase Order Workflow Fails with
ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: 2018: Unable To
Generate The Notification XML and ORA-6502:
Patch for 11i Patch 7370646, R12 Patch 7614278:R12.PO.A , 12.1 Patch
7614278:R12.PO.B POXWPA7B.pls
45

3.3 ORA-20002: 2018:


Unable to generate the notification XML.
2) Caused by: ORA-01403: no data found
Approving BPA, no notifications are sent to Supplier and error
ERROR: In wfstat.sql uploaded , Error
Activity:EMAIL_PO_NOTIFICATION
[WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: 2018: Unable to
generate the notification XML.Caused by: 2020: Error when getting notification content.
Caused by: ORA-01403: no data found ORA-01403: no data found
Wf_Notification.GetAttrClob(4493149, PO_EMAIL_BODY, text/html)
Wf_Notification.oldGetAttrClob(4493149, PO_EMAIL_BODY, text/html)
* No error handling ORA-01403 "no data found in procedure generate_html In the
PO_EMAIL_GENERATE package,

Doc ID 1273159.1 Blanket Agreement Error ORA-20002: 2018:


Unable To Generate The Notification Xml Caused By: ORA-01403
11i Patch 10222358 POXWPAMB.pls

46

3.3 ORA-20002: 2018:


Unable to generate the notification XML.
3) Caused by: ORA-01403: no data found
Send PO to supplier by email, error occurs
ERROR in wfstatus.ist
[WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002:
2018: Unable to generate the notification XML.
Caused by: 2020: Error when getting notification content.
Caused by: ORA-01403: no data found
ORA-01403: no data found
wf_notification.GetAttrDoc2(3172191, PO_EMAIL_HEADER, text/html)
Wf_Notification.GetAttrDoc(3172191, PO_EMAIL_HEADER, text/html)
** no data found error when generating the body of the email calling building header

Doc ID 986151.1: Supplier Notifications Not Sent Due to


'ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: 2018: Unable
to generate the notification XML' and ORA-1403 (Patch:7336070 11i
POXWPA1B.pls POXWPAMB.pls)

47

3.3 ORA-20002: 2018:


Unable to generate the notification XML.
4) Caused by: ORA-01403: no data found
Open PO notifications after upgrade to 12.0.6,error occurs:
ERROR in wfstatus.ist
[WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 ORA-20002: 2018: Unable to generate the notification XML.
Caused by: 2020: Error when getting notification content.
Caused by: ORA-01403: no data found
ORA-01403: no data found
wf_notification.GetAttrDoc2(486674, ACTION_HISTORY, text/html)
Wf_Notification.GetAttrDoc(486674, ACTION_HISTORY, text/html)
* no data found when building the action history portion of the notification

Doc ID 973355.1 Approval Notifications Errors with ERROR_MESSAGE=3835:


ORA-20002: 2018: Unable to generate the notification XML - ORA-01403 No
Data Found - ORA-06512: at APPS.WF_NOTIFICATION

48

3.4 attribute displays a lock exception:


po.plsql.PO_DOCUMENT_ACTION_PVT.do_action:16:
failed to lock document after 1000 tries
No approval notifications
ERROR: Workflow exception
Failed activity: FORWARD_PO/FORWARD_PO_INPROCESS
Error Stack:
Wf_Engine_Util.Function_Call(PO_REQAPPROVAL_ACTION.FORW
ARD_DOC_INPROCESS, POAPPRV, 98-11406, 229782, RUN)
* SYSADMIN_ERROR_MSG attribute displays a lock exception:
po.plsql.PO_DOCUMENT_ACTION_PVT.do_action:16:failed to lock
document after 1000 tries

Approving the Purchase


order without exiting PO
entry form, error occurs
Doc ID 1097585.1 - PO Approval Fails With Document Manager
error Number 3 And Errors
'po.plsql.PO_DOCUMENT_ACTION_PVT.do_action:16:failed to lock
document after 1000 tries

49

Agenda
1.
2.
3.
4.
5.
6.

Overview of Approval Notifications


Frequent Issues and Topics
Frequent Errors
Master Notes
Diagnostics & Trouble shooting Tips
Documentation

50

Master Note On Purchasing Document


Approval Notifications (Doc ID 1199603.1)

Support.oracle.com
= Doc ID 1199603.1

51

Agenda
1.
2.
3.
4.
5.
6.

Overview of Approval Notifications


Frequent Issues and Topics
Frequent Errors
Master Notes
Diagnostics & Trouble shooting Tips
Documentation

52

When error happened.

53

Diagnostics & Logs

5.1 Diagnostics: Apps Check


5.2 Debug Logs
- FND Debug log (FND_LOG_MESSAGES)
- PO WF Debug log (PO_WF_DEBUG.txt)
5.3 Wfstatus.sql & Wfstat.sql
5.4 wfmlrdbg.sql & bde_wf_notif.sql

Other possible logs :


Trace and tkprof (For ORA errors and performance issues)
sqlt for performance issues for bottle neck SQL

Other Workflow scripts :


*For generation and sending of PO documents using XML Gateway: bde_ecx_out.sql,

54

5.1 Apps Check

Diagnostics: Apps Check

[N] Reports > Run -> Submit a Single Request

(Doc ID 186123.1)

The main points in Output:


-- files versions,
package status ,
Triggers are enabled,
Profile values etc.

55

5.2 Debug Logs

Debug logs

FND Debug Log


SELECT MAX(LOG_SEQUENCE) FROM FND_LOG_MESSAGES;
SELECT MESSAGE_TEXT, MODULE FROM FND_LOG_MESSAGES
WHERE LOG_SEQUENCE > &max_log_before_reproduce;

PO WF Debug Log
PO: Debug Workflow On = Yes
SQL> SELECT execution_sequence,
execution_date, itemtype, itemkey,

Error would be shown here:


DEBUG_MESSAGE (PO_wf_debug)
MESSAGE_TEXT (FND Debug)

2 debug_message FROM po_wf_debug

56

5.3 Wfstat & Wfstatus


Notification ID

Notification ID:
ID 4896818

From SQL:
Database table WF_NOTIFICATIONS /
view WF_NOTIFICATIONS_VIEW

57

5.3 Wfstat.sql & Wfstatus.sql


Workflow Processing Scripts
FND_TOP/sql/
- wfstatus.sql
- wfstat.sql.

Wfstat
SQL> spool $HOME/wfstatus.txt

SQL> @$FND_TOP/sql/wfstatus.sql
Enter value for 1: <wf_item_type>
Enter value for 2: < wf_item_key>
SQL> spool off

Doc ID 134960.1
- Running WFSTATUS and WFRETRY For Oracle Purchasing Workflows
Doc ID 283995.1
- How To Get WFSTAT For Purchase Order Or Requisition Change Request:
58

5.3 Wfstat.sql & Wfstatus.sql


Error would be shown here:
ERROR
----------------------Activity
Result Error Name
--------------------------------------------- --------------- --------------------------Error Message
------------------------------------------------Error Stack
----------------------------------------------------------------------------------------PO Approved
#MAIL
WF_ERROR
[WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002:
2018: Unable to generate the notification XML. Caused by: 2020: Error when
getting notification content. Caused by: ORA-06502: PL/SQL: numeric or
value error
WF_MAIL.GetLOBMessage3(7429255, WFICPRD, 2020: Error when getting
notification content. Caused by: ORA-06502: PL/SQL: numeric or value
error

59

5.4 Workflow Notification Details Scripts


(wfmlrdbg.sql & bde_wf_notif.sql)
Wfmlrdbg.sql
(Doc ID 259370.1 )

all the relevant workflow information, including body text.


Parameter Notification ID
Output file named wfmlrdbg[NID].html

bde_wf_notif.sql
Shows related workflow details for a problem notification.
This is particularly helpful for problems in the message contents a
(Doc ID 239335.1 - Output Workflow Related Data For a Single
Notification).

60

Diagnostics & Trouble shooting Tips

Demonstration

61

Agenda
1.
2.
3.
4.
5.
6.

Overview of Approval Notifications


Frequent Issues and Topics
Frequent Errors
Master Notes
Diagnostics & Trouble shooting Tips
Documentation

62

Documentations
Master Note On Purchasing Document Approval Notifications (Doc ID 1199603.1)
General information on all Purchasing and iProcurement notifications can be found
in the following documents;
Oracle Purchasing Users Guide
- Viewing and Responding to Approval Notifications
Oracle iProcurement Implementation and Administration Guide
Additional information about Oracle Workflow and its processing and notification
system can be found in the following;
Oracle Workflow Developer's Guide
Oracle Workflow User's Guide
- To View Notifications from the Worklist / To Find Notifications.
/ Reviewing Notifications via ElectronicMail
Oracle Applications System Administrator's Guide
- Overview of Function Security / Function Security for Purchasing,
/ Send Notifications for Purchasing Documents,
63

Today we covered.

Overview of Approval Notification


Familiarize with Common Errors and Issues
Master Notes for Approval Notification
How to diagnose issues in Approval Notification

Minimize the issue resolving time


and decrease the new SR loggings !

64

65

Send your question

Who to ask?
Q&A panel

type your question here

66

Procurement Advisor Webcast Calendar [ID 1083713.1]


upcoming webcasts
Date

Topic

Details

Tuesday, May 24, 2011 at (2:00 PM


Western European Summer Time,
9:00 am Eastern Daylight Time, 7:00
am Mountain Daylight Time)

Internal Sales Order and


Internal Requisition Cycle

Document
1304153.1

Tuesday, June 21, 2011 at (2:00 PM


Western European Summer Time,
9:00 am Eastern Daylight Time, 7:00
am Mountain Daylight Time)

Using AME (Approvals


Management Engine)with PO
requisition workflow

Document
1304202.1

Tuesday, July 12, 2011, 2011 at at


(2:00 PM Western European Summer
Time, 9:00 am Eastern Daylight Time,
7:00 am Mountain Daylight Time)

Customizing the Workflows in


Oracle EBS(procurement)

67

THANK YOU

2010 Oracle Corporation Proprietary and Confidential

68

Anda mungkin juga menyukai