Looking for an API to get calculate the price

Hi ,
I am trying to find an API to calculate the Price of an item (Quote)
This need to find the price considering the Modifier , and qualifiers.
I have setup up qualifiers on Customer,Price List , Order levels.
I have tried the below given script , but it is not considering modifiers
DECLARE
l_listprice     NUMBER;
l_bestprice     NUMBER;
l_status_code     VARCHAR2(2000);
l_status_text     VARCHAR2(2000);
l_user_id     NUMBER;
l_responsibility_id NUMBER;
l_application_id NUMBER;
BEGIN
fnd_client_info.set_org_context ('81');
SELECT user_id
INTO l_user_id
FROM fnd_user
WHERE user_name = 'USER';
SELECT responsibility_id
,application_id
INTO l_responsibility_id
,l_application_id
FROM fnd_responsibility_tl
WHERE responsibility_name = 'IBE_CUSTOMER';
fnd_global.apps_initialize (l_user_id
,l_responsibility_id
,l_application_id);
IBE_PRICE_PVT.GetPrice(
     p_price_list_id     =>          7007
     ,p_party_id => 222
     ,p_cust_account_id => 111
     ,p_model_id          => NULL
     ,p_organization_id     => 123
     ,p_currency_code     => 'USD'
,p_inventory_item_id     =>     1222321
,p_uom_code          => 'CS'
     --,p_calculate_flag     => 'Y'
     ,p_model_bundle_flag     => NULL
     ,p_request_type_code     => 'ASO'
     ,p_pricing_event     => 'LINE'
,x_listprice          => l_listprice
     ,x_bestprice          => l_bestprice
     ,x_status_code     => l_status_code
     ,x_status_text     => l_status_text
DBMS_OUTPUT.PUT_LINE ( 'l_listprice = '|| l_listprice );
DBMS_OUTPUT.PUT_LINE ( 'l_bestprice = '|| l_bestprice );
DBMS_OUTPUT.PUT_LINE ( 'l_status_code = '|| l_status_code );
DBMS_OUTPUT.PUT_LINE ( 'l_status_text = '|| l_status_text );
END;
Edited by: 797959 on 22-Feb-2011 10:08

I'm not sure I completely follow you with the "privilege".
To answer your question, yes, you may enhance behaviour of standard services such as CHECKIN_UNIVERSAL via so called "filters". Filters are Java pieces of code, that might be hooked to "filter events" such as validateCheckinData. When a service is being processed, the filter code is triggered on that event automatically.
However, the checkin services already contain a security check (it calls a Java method from the standard code), and it will do checks like "can this user check in a document with such a security group?" or "does this folder exist?", no extra code needed. So, I'm not sure what your enhancement would do additional.

Similar Messages

  • Iphoto will not print since I've upgraded to Lion. It is looking for themes. It would appear the themes are now missing how do I get them back?

    Iphoto will not print since I've upgraded to Lion. It is looking for themes. It would appear the themes are now missing how do I get them back?

    Thank you, yes this solved my problem...

  • Looking for a way to find out the x,y coordinates of a string inside a PDF

    Hi!
    I'm looking for a way to find out the x,y coordinates of a string inside a PDF (with free java api's only)
    I got a pdf, and a string to find inside it, what i need to do is to get this string x,y position inside that pdf....
    If any one knows of such, plz let me know...
    Thanx ahead
    Daniel.

    vedmack wrote:
    Hi!
    I'm looking for a way to find out the x,y coordinates of a string inside a PDF (with free java api's only)
    I got a pdf, and a string to find inside it, what i need to do is to get this string x,y position inside that pdf....
    If any one knows of such, plz let me know...
    Thanx ahead
    Daniel.AFAIK, a string of text does not have an (x,y) location inside a PDF file. The location is exists on your screen, and will differ whenever you adjust the resolution of it. Text can have a location when it's stored as an image though, but than it's really the location of a certain number of pixels (not necessarily a string!).

  • I just bought iphone 5 and my itunes says I need itunes 10.7 But when I look for upgrades it says I have the current version of itunes. HELP!

    I just bought iphone 5 and my itunes says I need itunes 10.7 But when I look for upgrades it says I have the current version of itunes. HELP!

    I am so sorry I am frustrating you. This is the first time I have used this community and am leanring as I go. I am not able to see the entire post that you leave, unless I look at it on my phone (email)--I am so sorry. You have no idea how much i appreciate your help. Yes, I see that I can get the later version of OS software, but its not availabe for immediate download. My only options appear to be having it shipped, or going to the store to purchase. And if you know of another way that I can access all of my itunes library music on my new phone withouth using itunes, I would love to hear about it.--thanks and again i am so sorry for frustrating you.

  • Looking for a way to get built in audio to be heard out of AirTunes

    Looking for a way to get built in audio to be heard out of AirTunes, not just iTunes.

    thanks for the post, i downloaded that app but like i read, its really a worthless piece of junk, the 2 second delay yet alone i did not succeed to send my iChat audio to my airTunes speakers.

  • Looking for a specific data in all the cubes and ods

    Hi Gurus
    "i am looking for all the cubes/ods that contain a specific Controlling area(lets say 0123) and a specific 0plant (lets say plant 4567), now i can go down to every cube and ods and search for it in its contents but i have like hundereds of cubes it will take days, is there a simple way to look for some particular data in all the cubes/ods, and it tells me which cube/ods contains these plants and controlling area."
    <b>now based on this above post i got a reply that abaping can help.</b>
    "you could write an ABAP where you call for every InfoProvider function RSDRI_INFOPROV_READ_RFC like
    loop at <infoprov-table> assigning <wa>.
    call function 'RSDRI_INFOPROV_READ_RFC'
    exporting
    i_infoprov = <wa>
    tables
    i_t_sfc = i_t_rsdri_t_sfc
    i_t_range = l_t_rsdri_t_range
    e_t_rfcdata = l_t_rsdri_t_rfcdata
    exceptions
    illegal_input = 1
    illegal_input_sfc = 2
    illegal_input_sfk = 3
    illegal_input_range = 4
    illegal_input_tablesel = 5
    no_authorization = 6
    generation_error = 7
    illegal_download = 8
    illegal_tablename = 9
    illegal_resulttype = 10
    x_message = 11
    data_overflow = 12
    others = 13.
    endloop.
    i_t_sfc should contain 0PLANT and i_t_range the restriction on you plant value.
    with a describe table statement on l_t_rsdri_t_rfcdata you can get the hits.
    check test program RSDRI_INFOPROV_READ_DEMO for details
    best regards clemens "
    <b>now my question is how do  i use this code to check each and every cube in bw, it seems like it is meant to be for only one cube at a time. and what does he  mean by  "for every infoprovider function"</b>
    thanks

    THANKS

  • Looking for a report to get all managed system components

    Hi,
    We are looking for a report to get the support pack level of managed system.
    We can get that by going individually on each system entry in SMSY. Is there a standard report or a transaction in solution managed that can list the support pack level of all managed systems ?
    Thansk you for your help.
    Chak

    Hi,
    Another option you have -- provided that you are running EarlyWatch Reports on all of your systems -- would be to create a single Service Level Report.
    You would create a variant that includes all of your systems under the Select for Reporting column. Then under the Content from Solution Manager tab select the System Configuration -->  Select for Reporting box.
    This System Configuration report will provide you will the hardware info (OS version, CPU, memory), database version, SAP software components/version, and the SAP kernel.
    The SLR allows you to extract and aggregate segments of your EWAs into a single report.
    Good luck.
    Bill

  • Looking for a way to programmatically set the visible portion of the front panel when a subVI opens

    I am looking for a way to programmatically set the visible portion of the front panel when a subVI opens.  Haven't found any posts that relate, but I'm not sure how to ask the right question.  To be clear, I want to write a helper VI to go through a list of subVIs to make sure the background images are all in the same place when their respective subVIs open.  I hate manually playing with scroll bars before I save each of the VIs...  I'm figuring I need to find the top/left location of the background image (know how to do this already) and then set a VI FP property to  these values or some offset, but I can't find the relevant property. FP:run-timeposition:custom looked promissing, but only affects the location of the window, not the area of the front panel the window is displaying.
    Solved!
    Go to Solution.

    Cool.  Getting closer.  The way I implemented your suggestion affects the subVI only if it is open.  I can use this to do what I'm after, perhaps putting the code into each subVI.  Maybe open all subs, run the helper, and save.    Seems like I'm missing the elegant version...
    My proof of concept code:

  • Im looking for a MacBook that is worth the money and decent for gaming and editing, any suggestions?

    Im looking for a MacBook that is worth the money and decent for gaming and editing, any suggestions?
    There all so AWESOME!

    Then you are best to get a Macbook Pro. Your real aim should be the graphics card.
    You won't be doing really good gaming on a discrete graphics card sharing RAM.
    Depending of coarse what games you play.
    eg. card games / COD games.

  • We are looking for VPN API for iOS, any help

    we are looking for VPN API for iOS, any help

    Greetings from another victim!  We are all suffered from HP's poor support of HD 7690M XT... I guess you are talking about Diablo3, right?  With original HP driver, my switchable card can't even function well, so I followed the suggestions from another thred on this forum, update the driver to CCC 12.2 preview.   I ran Diablo3beta on my laptop with CCC 12.2 preview; I could only reach FPS of around 30 on maximum display quality ( my scrren resolution is Full HD).   ( I believe this card is capable of hitting much better FPS if it got a decent driver.)
    Also because my FPS would drop to less than 10 suddenly in games for no reason, I decided  to switch to unofficial driver, Leshcat, together with MSI Afterburner.  Doing this improve the performance significantly, FPS hits around 45.   Nevertheless my graphic card still freezes out sometimes, and I would blame this problem to the driver.   If HP could come up with a new, working driver, I think all the mysterious problems will disappear.
    Unfortunately HP is just deaf to all the complaints from the owners of this graphic card.   
    We are now orphans forgotten by HP...
    PLEASE UPDATE THE DRIVER FOR HD 7690M XT GRAPHIC CARD !!!!!

  • HT201401 I have my a song purchased from Itunes and would like to use part of it for a ringtone and get all the way thur the process of getting it to my phone but it goes to sync to my phone it doesn't show up in my phone like it says it is suppose to und

    I have my a song purchased from Itunes and would like to use part of it for a ringtone and get all the way thur the process of getting it to my phone but it goes to sync to my phone it doesn't show up in my phone like it says it is suppose to under ringtones. Does anyone have any tips on how to do this.

    http://osxdaily.com/2010/09/04/make-free-iphone-ringtones-in-itunes-10/
    https://discussions.apple.com/message/17777381 - making a ringtone
    Getting ringtones folder to show in iTunes - https://discussions.apple.com/thread/2629494 - iTunes > Preferences. Under the General tab below Show, confirm Ringtones is selected

  • I just updated my phone to iOS7 and me and my mom have the same apple ID, so now for some reason I get all the text messages that are sent to her iPhone on mine..? Help please!!

    I just updated my phone to iOS7 and me and my mom have the same apple ID, so now for some reason I get all the text messages that are sent to her iPhone on mine..? Help please!!

    Stop sharing an Apple ID. That is the cause.
    Settings > Messages > Send & Receive > You can be reached for messages at...

  • Looking for a distributor to get AIR-LMC352 cards

    Hi
    I'm looking for a distributor to get this end of sale card of Cisco
    thanks

    Hi Manel,
    Here are a few distributors who seem to have this card in stock-Price range $159 - $225 US
    http://www.teksavers.com/store/product.php?productid=580249&gclid=CLb6os_qj4oCFQgTWAodkTi2nA
    http://www.nextag.com/air-lmc352/search-html
    http://www.hulanetworks.com/usedCisco/AIR-LMC352.html
    http://www.bizrate.com/nic/cisco-airlmc352--pid11490014/
    http://www.mysimon.com/Wireless-Adapters/9000-11609_8-0.html?mlpid=20636477
    Hope this helps!
    Rob

  • I need to download a eariler version of firefox because the latest version is not supported by my financial institutions or colleges im attending, every time i look for 3.6 im redircted to the 4.0 download

    I need to download a eariler version of firefox because the latest version is not supported by my financial institutions or colleges im attending, every time i look for 3.6 im redircted to the 4.0 download

    http://www.mozilla.com/en-US/firefox/all-older.html

  • Please Help - I am looking for an mp3 player that has the following features

    Hi, I am looking for an mp3 player that has the following features:
    1) Either a 30GB or more HDD, OR a sd OR a micro SD card slot for a 2GB card. (Note, I can buy an adapter so my sd cards fit into a compact flash slot. However, I did look at the Zen Vision M but I didn't see how to delete tracks from?my playlists.)
    2) I need to be able to delete tracks in my playlists that I create in Windows Media Player (.wpl or .m3u format).
    3) I need to be able to copy these updated playlists back to my pc, either with the usb cable or SD / microSD card.
    Which products meet my needs? I li've in California, USA.
    Thanks,
    Rick

    Thanks! I did not know that. I have been looking for an mp3 player for a long time & did not realize the one I wanted was right in front of my nose! [ at Walmart]

Maybe you are looking for