Sales, Marketing, and Territories Apps - EBS (MOSC)

MOSC Banner

Returning errors from Order capture user hooks

edited Jun 23, 2011 7:59PM in Sales, Marketing, and Territories Apps - EBS (MOSC) 1 commentAnswered
Hi,

I am using order capture user hooks (ASO_QUOTE_CUHK) to return an error back to iStore UI during checkout as detailed in note:373923.1
I am using the submit_quote_pre procedure in ASO_QUOTE_CUHK to check for a condition before order is placed from istore. The problem is that instead of shown an error, the system returns a framework exception (Application error) instead of showing the message from FND Message stack. The code that I am using to return error is

                    IF  V_ERROR_COUNT>0 THEN
                   
FND_MESSAGE.SET_NAME('IBE', 'CAP_IBE_PRODUCT_ERROR') ;
                    FND_MESSAGE.SET_TOKEN('ERROR1',V_RESTRICT_ERROR,FALSE);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

EBS Sales Tags

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center