CRM On Demand - Web Services Integration (MOSC)

MOSC Banner

Returning error from Order capture user hooks for iStore orders

 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

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center