Query to get extended price for a order in R12

Hi All,
How do i get extended price for a order in R12(version 12.1.3)
Thanks

Hi,
you can get ext.price using following SQL.
SELECT (ORDERED_QUANTITY * UNIT_SELLING_PRICE) EXTENDED_PRICE
from oe_order_lines_all WHERE line_id = :P_LINE_ID
HTH
Sanjay

Similar Messages

  • Qry:How to get different price for each price list (variable area) in order

    1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
    2- I add a location store from a table in line item and I want to see this area in order,.
    I 'm created 2 field location(item line and order), 1 table location
    I tried this for exemple : select $ [userfieldlocation.OITW]

    Thanks Suda for your answer,
    the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,     
    I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
    read carefully and imagine how (Management warehouse locations)
    I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data  line and an ather user field 'U_Location' in sales order
    I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
    or
    create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
    I think we will use all these tables
    @LOCATION
    PDN1
    OITM
    OITW
    OWHS
    RDR1
    Juste a another question : where you found this and What is: ' 38.1.0 '
    Is it in document (System information):Item=38 Pane=1 ??
    Thanks,
    Ouchen

  • Unable to get tha data for Residual Order Plan query-0PS_C04_Q0008

    Hi Xperts,
    i have activated  standard query-0PS_C04_Q0008.
    But when i am executing the query i am unable to get the data for "Residual order plan" in the report output..
    As i  checked the transformation and the queries for this, every thing seems ok.
    Could please suggest me the best way to check further or How can i get the data for this field?
    Regards,
    SAP

    Check whether you have data for "Residual order plan" in 0PS_C04.

  • How can I get extended warranty for my nokia 5800 ...

    How can I get extended warranty for my nokia 5800 express music  

    Nokia does not give extended warranty except perhaps in some promo. The dealer you bought it from may offer you extended warranty with them. Apart from that, none.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • How to mark up the price for sales order entry?

    Hi Gurus,
    How to Mark up the price for sales order entry?
    Example: Item Price: $10, Adding 20% Margin
    Selliing price of the item is $12
    we are giving many typs discounts like festival Discount, customerwise, Order value wise etc..
    After giving above discounts, if discount falls below $10 system should not allow to book the order, Trigger should go to respective person or sales person saying that item price falling below cost, system should not allow to book the sales order.
    How to configure this scenarios in Order management Module, appreciate your inputs, advise.
    Regards
    AK

    Thanks for your response,
    can you please guide me step to achieve this requirement.
    Regards
    AK

  • How will get stoppage hours for PM02 orders

    Hello Guru,
    I want to find out stoppage hours for PM02 orders according to PM Act Type (eg. PM, predictive maint., TPM, etc). Background is that, our PM02 process schedules maint order as per maint plan & it wont triggers Notification in background so users are unable to enter work details ie. work start date/time & End date/time.
    In this situation, how will get stoppage hours for PM02 orders?
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    Regards,
    Amol
    Edited by: Rob Burbank on Jan 17, 2011 4:25 PM

    Hi PMAmol,
    As Babu suggest,  You can use Act Start and Act End date and time  from Order Header for your requirement , Now how to use those ?
    Once you do Order Confirmation via IW41 , for first operation mention date and time in  Work Starts on date and time when you start your work,
    Then this date and time will reflect in Act Start in Order Header, after that when you finish your work , then in IW41 along with final Confirmtn tick mention the date and time in Work Start on and Ends on field , when CNF status set on order you can check in order header , this date and time will reflect in Actual End date and time.
    For report you can use Iw39.
    Riyaj

  • Terms user query Changes in unit price in purchase order and a/p invoice

    Dear sir
         please give me a term user query for , if any changes in unit price in purchase order and a/p invoice

    Hi,
    Try this:
    SELECT  Distinct ' true'
    FROM adoc T2
    JOIN ado1 T0 ON T2.docentry = T0.docentry AND T2.Objtype = '22'
    JOIN por1 T1 ON T1.docentry = T0.docentry AND T1.Linenum=T0.Linenum
    WHERE  $[$38.14.number] != T0.Price
    Thanks & Regards,
    Nagarajan

  • How to get Actual Price in Purchase Order

    Hello experts,
    Could you suggest me what FM (or table) can be used to get value for Actual Price in Purchase Order (tcode ME23N) on tab Conditions?
    I not found it in KONV table because this record does not has Condition Type.
    Thanks in advance.

    Hi,
    You can check in material master. For Table Reference, use MBEW Table. For history Table : MBEWH
    Here Valuation Area is used for Plant.
    Regds,
    Anil

  • Get condition prices before sales order creation

    Hi Experts,
    I have a non-SAP system which needs price information from SAP.
    As we know, in SAP after Sales order creation, the prices can be found in item condition tabs. All condition records and prices can be found.
    Now, before the non-SAP system sends data to SAP for sales order creation, non-SAP needs the condition record and prices same as after sales order creation.
    seems i have to write code in SAP for the logic of price determination. i assume that will be a big work.
    so i'm supposing whether we can get the condition from the bapi for sales order creation. i can mask testrun = 'X', then get the conditions. but i tried creating sales order in code and found the condition - ORDER_CONDITIONS_IN is not populated.
    anyone got a idea to solve this?
    Thanks a lot.
    Legend Lee.

    Hi,
    If you run the BAPI under the same conditions but without the text flag checked do you get anything returned? Are there any messages in the RETURN table?
    There are a number of OSS notes on this BAPI e.g. 93091 if you search on service.sap.com. The answer may lie in the pricing configuration; that the BAPI is not designed to work how you want it to work or a parameter has not been specified correctly.  You could look at FM SD_SALESDOCUMENT_CREATE and try and use that however it is not released. Unfortunately I canu2019t give you a definitive answer or solution.
    Regards, David

  • Feature code price for a Order in the creation mode

    Hi All,
    Is there anyway or function module using which i can retrieve feature code price of an order in the creation mode.

    Does anybdy has any idea regarding the above query ??

  • Query to get possible values for each segment

    Hi Gurus,
    Give the flex value set id, what is the query to get all possible values for each segment (just like what is shown in the accounting flex window)?
    Thank you,
    Beibei

    Hi Beibei,
    The table FND_FLEX_VALUES_VL can give you details of values available in the Value set i.e. 1 segment at a time.
    If you are looking for a concatenated view of Accounting Flexfield values, that would be available in GL_CODE_COMBINATIONS table.
    Regards,
    Ivruksha

  • How to get Extended Warranty for iPhone 5 in india

    How to get Extended Online Warranty for iPhone 5 in india

    You need to take the iPhone into the Apple store for a visual inspection.

  • Sql query to get Thursday (Date) for the year 2014

    Hello All,
    I want to get the date for all the Thursdays in the year 2014. How can I achieve this using SQL query? Can anybody give me a hand with this? Thanks.
    Amol

    Hi,
    Check if this can help you
    DECLARE @counter INT
    DECLARE @Date Date
    SELECT @counter = 0
    Select @Date = '20131226'
    WHILE @counter <= 52
    BEGIN
    select Thursday = convert(varchar(10),DATEADD(WEEK,1, @Date),120)
    SELECT @counter = @counter + 1
    Select @Date = DATEADD(WEEK,1, @Date)
    END
    Regards
    Prasad Tandel
    Please dont forget to mark as answer if this helps you :)

  • Query to get primary contact for a bank account

    Hi guys,
    I'm new to R12 and have a requirement to build a report sending a letter to the primary contact of a bank account.
    I narrowed it down to this:
    -- get relationship_id for the given bank account
    SELECT relationship_id FROM CE_CONTACT_ASSIGNMENTS
    WHERE BANK_PARTY_ID = 26433
    AND BRANCH_PARTY_ID = 26439
    AND BANK_ACCOUNT_ID = 17002
    and assignment_type = 'ACCOUNT';
    -- get party_id of contact
    SELECT subject_id FROM HZ_RELATIONSHIPS WHERE RELATIONSHIP_ID in (16091)
    and subject_type = 'PERSON';
    -- get contact details
    SELECT * FROM HZ_PARTIES WHERE PARTY_ID IN (36458)
    and status = 'A';
    This is all well and good. The problem came when I added another contact to the account so both queries we're returning 2 results. I also found that both of them had the primary flag checked (from the web view) which I find odd. Worse in none of the tables above am I able to find a primary flag column. How do I find this column and is it possible to restrict the primary flag to only one contact as it seems to be appearing for two contacts.
    Thanks

    Hi,
    you can get ext.price using following SQL.
    SELECT (ORDERED_QUANTITY * UNIT_SELLING_PRICE) EXTENDED_PRICE
    from oe_order_lines_all WHERE line_id = :P_LINE_ID
    HTH
    Sanjay

  • What could be the query to get Spend Amount for a Product name in EBS?

    Hi Experts,
    I need a help to write a query in EBS to get Spend Amount for any given Product Name and Top Level Category (Segment1).
    It can be two different query or a single one. Please reply if anyone knows how to do it. I need it for testing purpose.
    Thanks in advance.

    All good here Sudipta.
    You can try the below SQL.
    SELECT msib.description,mcb.segment1,SUM(pla.quantity*pla.unit_price) total_spend
    FROM
    po_lines_all pla,
    mtl_categories_b mcb,
    mtl_system_items_b msib
    WHERE pla.category_id = mcb.category_id
    AND pla.item_id = msib.inventory_item_id
    AND msib.organization_id = <enter your item master organization id>
    GROUP BY msib.description,mcb.segment1
    If you don't want to use the PO_LINES_ALL, is there any other sourced you are planning to use for spend.
    SELECT mcb.segment1,SUM(pla.quantity*pla.unit_price) total_spend
    FROM
    po_lines_all pla,
    mtl_categories_b mcb
    WHERE pla.category_id = mcb.category_id
    GROUP BY mcb.segment1
    and do not need the po_lines_all table. I'm doing a data validation between OBIEE reports and EBS test data. In report i'm keeping only Product Name and Spend Amount to make it simple. Now I need to check the values are same in report and EBS. Thats the criteria.
    Thanks
    Sudipta

Maybe you are looking for

  • Resetting the limit on result section in Hyperion IR 9.3.1

    Hi All, I am having a limit of computed item on result section which is reset with code to make this limit Ignore = "True" or "False". Report is saved as no data for result section. Now whenever i open up the report i am getting an internal error for

  • 9.2.0.6 Install on Client?

    Do I need to install the 9.2.0.6 patch on the client or is this a server side only patch?

  • Deep linking integrating with Cairngorm 3 Navigation Library

    Hi there, I wonder if the Cairngorm 3 Navigation Library will integrate deep linking in future? Furthermore, it would be great to know how deep linking could be used in coexistence with the Cairngorm 3 Navigation Library! Any thoughts about it? Thank

  • No products installed while adding a Technical ABAP System in the SLD.

    Hello, I am trying to add Technical Systems in SLD. when I was at the point to select the software components, I am not seeing any installed products on the left side. I already gave the ABAP system details in the previous screens, in this wizard. Wh

  • Masterdata Duplicate Entries Check

    Hi All, I would like to search for duplicate entries for field WBS_ELM_EX in the table /BI0/MWBS_ELEMT. This table has 612,976 records. Is there any program / functional mode available which lists out duplicate entries. Can anyone help me in this.