Advanced Pricing - EBS (MOSC)

MOSC Banner

Issues in using wrapper for QP_PREQ_PUB.PRICE_REQUEST API in a select statement

edited Jan 27, 2018 3:08PM in Advanced Pricing - EBS (MOSC) 5 commentsAnswered

Hi,

I am referring to PRICE_REQUEST_API_EXAMPLE.sql file and created a wrapper function on top of it to fetch the unit price for the passed parameters.

I need to call this wrapper function in select statement but it is not worked.

Call to wrapper function works in begin end block.

What should be the return type of variable for the function to return unit price.

Here is the script : It looks like the assignment to x_price variable does not work. Please help.

FUNCTION f_get_price(

      p_pricelist_id              IN  NUMBER,

      p_inventory_item_id    IN  NUMBER,

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