Query to find Blanket Agreement Number

Hi Gurus,
I have a requirement to create a PO report that displays all the PO details with Blanket Agreement Number. Please give the query or tips on how to find this Blanket Agreement Number.
nestor

Blanket POs have the following components
1)Blanket header (stored in po_headers_all)
2) Lines (stored in po_lines_all)
3) Releases (stored in po_releases_all)
4) Shipments (stored in po_line_locations_all)
1 and 2 are joined using po_header_id
1 and 3 are joined using po_header_id
3 and 4 are joined using po_release_id
Hope this helps,
Sandeep Gandhi

Similar Messages

  • Query to find the no of columns in a table

    Is there a query to find the total number of columns in a table?

    Dou you know read?
    -- the number of rows in a table named yourtable:
    select count(1) from yourtable;
    -- the number of columns in a table
    -- If is a user's table:
    select count(1)
    from user_tab_columns
    where table_name='YOURTABLE'
    --If it is´t
    select count(1)
    from DBA_tab_columns
    where owner = 'USEROWNER'
    and table_name='YOURTABLE'

  • Query to find out the sales order

    Hi All,
    I need a query to find sales order number against which a serial number is transacted.
    Can ny one help onthis.
    Thanks ,

    hi,
    thanks you for your reply.
    its working but i am not able to see the required item serail number.
    Bit confused its their in mtl_serial_number but its not their in sales order.
    How is it possible.
    In mtl_serial_number its current_status is '4'
    Can you please hlep me.
    Thanks

  • Where is the agreement number?

    Hi
    I have been looking every where to find this number to register the warranty but I couldn't find it
    I have Qosmio F30-140.

    Hi,
    if you dont find the agreement number which should usually be written down on a paper which was shipped with your machine you can also register your machine under the point "Standard Warranty Registration" (http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/jsp/vpoWarrantyRegHome.do?service=null&LNG=null)
    where you just have to type your serial number and your personal data (name, adress, etc.) which will also registrate your machine on your name.
    Good luck
    Cheers

  • Finding iPod serial number from AppleCare Agreement Number???

    My son's iPod was stolen. We bought applecare for it, and it shows up on the website, but we can't find the serial number.
    No box, another iPod (his nano) has more recently been connected to the computer...
    Can Apple get the serial number from the applecare agreement? We had to enter it when we registered...
    Can someone help us out?
    Thanks

    Call 1-800-MY-APPLE and give tell them the situation. Give them the name you registered the ipod under, they should be able to look it up and get you the information. per other posters (laundry bleach, Chris CA) You may be able to get a refund on the AppleCare protection plan. Contact AppleCare (800) 275-2273.

  • Query to find vendor number with whom a particular item was last purchased.

    Hi All,
    I want to frame a SQL query to find vendor number with whom a particular item was last purchased.
    I got to know that we can find this by looking at the open Purchase Order or the Material Transactions for the transaction type of ‘PO Receipt’ whichever is the latest.
    Can anyone please help me in framing such query.
    Regards,
    Shruti

    Here is a hint
    Use the mtl_system_items_b table to get the inventory_item_id.
    Use it in the po_lines_all table to get po_header_id
    Use it in po_headers_all table to get vendor_id
    Use it in po_vendors to get segment1 (i.e. vendor#)
    Hope this helps,
    Sandeep Gandhi

  • Query to find first and last call made by selected number for date range

    Hi,
    query to find first and last call made by selected number for date range
    according to filter:
    mobile_no : 989.....
    call_date_from : 25-april-2013
    call_date_to : 26-april-2013
    Please help

    Hi,
    It sounds like you want a Top-N Query , something like this:
    WITH    got_nums   AS
         SELECT     table_x.*     -- or list columns wanted
         ,     ROW_NUMBER () OVER (ORDER BY  call_date      ) AS a_num
         ,     ROW_NUMBER () OVER (ORDER BY  call_date  DESC) AS d_num
         FROM     table_x
         WHERE     mobile_no     = 989
         AND     call_date     >= DATE '2013-04-25'
         AND     call_date     <  DATE '2013-04-26' + 1
    SELECT  *     -- or list all columns except a_num and d_num
    FROM     got_nums
    WHERE     1     IN (a_num, d_num)
    ;This forum is devoted to the SQL*Plus and iSQL*Plus front ends. This question doesn't have anything to do with any front end, does it? In the future, you'll get better response if you post questions like this in the PL/SQL.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the SQL forum FAQ {message:id=9360002}

  • Query to find the class name that has the maximum number of students ?

    I need the query to find the [class Name] which has the most number of students. please look below at the tables
    Students Table                                                                     
    StudentId     StudentName  ClassID                                    
    1                  xxx                   1                                           
    2                  yyy                   1                                           
    3                  zzz                   1  
    4                  fff                    2
    5                   ttt                  2
     Classes Table
     ClassID          ClassNane
     1                    CSHARP
     2                    JSHARP
    The result should be : CSHARP
    since there are 3 students in CSHARP and 2 students in JSHARP class
    Appreciate your help
    Thanks

    Try:
    DECLARE @Classes TABLE (
    ClassID INT identity(1, 1) PRIMARY KEY
    ,ClassName VARCHAR(50)
    INSERT INTO @Classes (ClassName)
    VALUES ('CSharp')
    ,('JSharp')
    DECLARE @Students TABLE (
    StudentID INT identity(1, 1) PRIMARY KEY
    ,StudentName VARCHAR(10)
    ,ClassID INT
    INSERT INTO @Students (
    StudentName
    ,ClassID
    VALUES (
    'xxx'
    ,1
    'yyy'
    ,1
    'zzz'
    ,1
    'fff'
    ,2
    'ttt'
    ,2
    SELECT TOP (1)
    WITH TIES C.ClassName
    FROM @Classes C
    INNER JOIN @Students S ON C.ClassID = S.ClassID
    GROUP BY C.ClassID
    ,C.ClassName
    ORDER BY COUNT(S.StudentID) DESC
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Where do i find the warranty agreement number?

    Where do i find the warranty agreement number?

    If you purchase a notebook you have a simple 12 month warranty.
    But after notebook registration you will get additional 12 month extended warranty.
    Everything what you have to know you will find on this page under Service:
    http://eu.computers.toshiba-europe.com/

  • ABAP query to find delivery number of a sales document

    Hi Gurus,
    Can anyone help me how can i create an ABAP query to fetch the delivery number of a sales order. What are the tables to be joined.
    Through tables I got the solution. From VBAP table I fetched the sales order numbers. I copied the sales order numbers and opened VBFA table. In the preceding documents field I had pasted those sales orders numbers. Then I've selected subsequent document category 'J' to get the deliveries.
    But now how to write an ABAP query for this.
    regards
    rama krishna

    Hi,
    Try to use join query like:
    Select vbfa~VBTYP_N  INTO CORRESPONDING FIELDS OF TABLE itab from VBFA inner join VBAP
      where vbapvbeln = VBFAVBELN.
    Regards
    Mudit

  • Bex Query to find total number

    Dear Friends,
    I have data like below in my Infocube for different years. its flat file loading  DS->DSO->Infocube.
    EmpId
    Dept
    section
    Year
    Smoking
    101
    HR
    A
    Jan-10
    No
    102
    HR
    A
    Jan-10
    Yes
    103
    HR
    B
    Jan-10
    Yes
    104
    FI
    A
    Jan-10
    No
    105
    FI
    B
    Jan-10
    No
    102
    HR
    A
    Aug-10
    No
    My requirement is like below to find out total number of employees who are Smokers and non smokers.
    Dept
    Year
    Tot no of Emp
    Tot Emp Smoking
    Tot Emp non-smoking
    HR
    2010
    3
    2
    1
    FI
    2010
    2
    0
    2
    Result
    5
    2
                                        3
    Please give me your valuable input
    Thanks
    Vijay

    Hi,
    Do like Anshu said.
    Remember to set "Calculate result as" "summation"
    otherwise you don't get proper values in result rows.
    Regards, Leszek

  • I can't find my serial number for ARA, here is my order info

    can't find my serial number, is there someplace to go and get it back?
                                           INVOICE RECEIPT
    Dear Apple Customer,
    Thank you for shopping at the Apple Store!
    If you have already paid for your purchase, please retain this invoice receipt
    for your records.
    If you need to send payment to Apple, please reference Apple's Invoice Number on
    your remittance. After remitting payment, please retain this invoice receipt for
    your records.
    Invoice Number:         
    Invoice Date:            08/02/05
    Web Order Number:       
    Reference Date:          08/02/05
    Amount Due:              .00
    Customer P.O. Number:   
    Sales Order Number:     
    Customer Number:        
    Terms:                   Credit Card
    Sold To:                                 Ship To:
    Robert                                    Robert
    Item Product   Product Description       Total   Total   Unit       Extended
          Number                              Ordered Shipped Price      Price
    001  M9954Z/A  APPLE REMOTE DESKTOP 2.2  1       1       499.00     499.00
    Subtotal                499.00
    Tax                      41.17
    Shipping Charges
    TOTAL  USD              540.17
    Questions? Call 800-676-2775 Mon-Fri 7am-10pm, Sat-Sun 9am-6pm CT
    Salesperson  Contact Entry Date Ship Date Routing
                  BD      08/02/05   08/02/05  FED EX GROUND
                      Your Visa XXXXXXXXXXXX1630 has been charged$      0.01
                      Your Visa XXXXXXXXXXXX1630 has been charged$    540.16
                      For a total of $    540.17
    TERMS & CONDITIONS OF SALE
                                                                             der
    ORDER STATUS.  For order status information, you may visit
    http://www.apple.com/OrderStatus or navigate to http://store.apple.com/ and click
    the "Your Account" button to view the status of your order.
    U.S. SALES ONLY.  The Apple Store sells and ships products only within the
    continental United States, Alaska, and Hawaii. No shipments can be made to APO or
    FPO addresses, United States territories, or addresses outside the United States.
    You may not export any products purchased at the Apple Store.
    SALES TO END USERS ONLY.  The Apple Store sells and ships products to enduser
    customers only.
    RETURN & REFUND POLICY.  If you are not satisfied with your Apple purchase of a
    pre-built product, please call 1-800-676-2775 for a Return Material Authorization
    (RMA) request within 14 calendar days of the receipt of the product. If the item
    is returned unopened in the original box, we will exchange it or offer you a
    refund based on your original method of payment. The product must be returned to
    the Apple warehouse within 14 calendar days of the issuance of the RMA.  All
    products must be packed in the original, unmarked packaging including any
    accessories, manuals, documentation and registration that shipped with the
    product. A 10% open box fee will be assessed on any opened hardware or accessory.
    If you purchased your order using an Apple Instant Loan or an Apple Business
    Lease, you may be asked to provide a major credit card (Visa, MasterCard,
    American Express, or Discover) for Apple to assess the 10% open box restocking
    fee.
    Please note that Apple does not permit the return of or offer refunds for the
    following products:
       1. Product that is custom configured to your specifications
       2. Opened memory
       3. Opened software
       4. Electronic software downloads
       5. Personalized iPods
       6. Software Up to Date Program Products (SW upgrades)
    NOTE:  Apple recommends that you (1) use a carrier that offers shipment tracking
    for all returns and (2) either insure your package for safe return to Apple or
    declare the full value of the shipment so that you are completely protected if
    the shipment is lost or damaged in transit. If you choose not to (1) use a
    carrier that offers tracking and (2) insure or declare the full value of the
    product, you will be responsible for any loss or damage to the product during
    shipping. Please note that the United States Postal Service (USPS) offers limited
    tracking capabilities and that there is a 30-calendar-day waiting period before
    the USPS will initiate a trace.
    DEFECTIVE ITEMS.  If you discover what you believe is a product defect for any
    Apple-branded product, please contact Apple Care Technical Support at
    1-800-APL-CARE (275-2273). Such a defect, if any, is covered under the terms of
    your product's warranty. Please refer to the warranty information and other
    supporting documentation that came with your product. (See Product Warranty
    section below for specific information about Apple's product warranties.)
    If you discover what you believe is a product defect for any third-party product,
    please contact the manufacturer directly for information regarding the
    manufacturer's warranty.
    PROOF OF PURCHASE.  This receipt is your proof of purchase from Apple.
    CUSTOM-CONFIGURED PRODUCT.  We are pleased to offer product that is
    custom-configured to your specifications, and we encourage you to review your
    order carefully. Since the product is built to your specifications, the order
    cannot be changed, modified, or canceled once your order is in production.
    SUPPORT PRODUCTS.  Support products (such as the AppleCare Protection Plan) are
    subject to the terms and conditions that accompany those products. By requesting
    services under those products or completing and returning to Apple any
    accompanying enrollment forms, you agree to the terms and conditions that apply
    to those products. Those terms and conditions take precedence over any
    inconsistent provisions in these Terms & Conditions of Sale.
    SALES TAX.  Apple Store purchases will include sales tax based on your shipoing
    address and the sales tax rate in effect at the time your order is placed. If you
    phone in your order, the Apple Store sales representative will provide an
    estimated dollar total of your order, including tax and any applicable shipping
    charges at the time you place your order. If the sales tax rate for the state to
    which your order is being shipped changes before the product is shipped, the new
    tax rate in effect at the time your order was received in our system will apply.
    The proof of purchase that Apple mails to you will include any applicable sales
    tax.
    PRICES.  The Apple Store endeavors to offer you competitive prices on current
    Apple products and selected refurbished and clearance products. Your total order
    price will include the price of the product (on the day of shipping) plus any
    applicable sales tax and shipping charges. Apple reserves the right to change
    prices for products displayed at the Apple Store at any time.
    Should Apple reduce its price on any shipped product within 10 calendar days of
    shipment, you may contact Apple Sales Support at 1-800-676-2775 to request a
    refund or credit of the difference between the price you were charged and the
    current selling price. To receive the refund or credit you must contact Apple
    within 14 business days of shipment.
    PRODUCT AVAILABILITY.  Given the popularity of some products, Apple may restrict
    the number of such items that you may purchase. Any product limit restrictions
    will be posted on the Apple Store web site.  This information is subject to
    change.
    PRODUCT WARRANTY.  The sole warranty for Apple-branded product shall be Apple's
    standard Limited Warranty as set forth in the documentation that accompanies each
    Apple product.
    Non-Apple-branded/Third-party products are sold "AS IS" by the Apple Store, but
    may be accompanied by their manufacturers' standard warranties. "AS IS" products
    are sold by Apple as is, where is, and with all faults, and without express or
    implied warranties from Apple. If you have questions about any manufacturers'
    warranties that accompany such products, please call 1-800-APL-CARE (275-2273).
    OTHER TERMS AND CONDITIONS.
    - Apple is not responsible for typographical errors.
    - Apple reserves the right to change the terms and conditions of sale at the
    Apple Store at any time.
    - Title and risk of loss to all products will pass to you on delivery.
    - All sales at the Apple Store are governed by California law, without giving
    effect to California's conflict of law provisions.
    - No Apple employee or agent has the authority to vary any of the Apple Store's
    policies or the terms and conditions governing any sale.
    - Additional terms and conditions may apply to Education customers purchasing for
    personal use. Please refer to the Education Individual sales policies located at:
    http://store.apple.com/Catalog/US/Images/salespoliciesEdIndividual.html
    02-USA-CONS-04-04-05
    <Personal Information Edited by Host>

    Don't post order information or other personal information here. We're all just fellow users here - you are not communicating with Apple when you post here - and so posting such information just risks your privacy. I've asked the Hosts to remove all the private information from your post.
    The serial number was included in the box ARD came in; the Apple Store will not have a record of it. If you've lost the serial number, you'll need to purchase a new copy of ARD, probably a good idea anyway since 2.2 won't run on any version of Mac OS X since, if memory serves, 10.4. It's a lot cheaper through the Mac App Store than it was back when you first purchased.
    Regards.

  • Scheduling agreement number is not shown in the MD04

    Dear all,
    The scheduling agreement number is not shown in the MDO4 screen for the material x.
    when i check the mrp data  for availabiity check as 02 .
    if i copy line item of the material in same SA , and enter the  forecasting line, system showed in the MD04 for the SA number
    Pls help me out to find out the reason.
    thanks
    vbraj

    Dear,
    Thanks for your reply.
    i checked the assigned schdule line catogry as L2 and it have the tick mark over the Req / Assmbly.
    anyother reason?
    Thanks

  • I don't have original docs-- how can I find the serial number in the software itself?

    Hello all,
    I recently purchased a macbook pro from eBay which had Flash CS4 already installed on it, but which didn't come with the original documentation or CDs that would have had the serial number.  The seller said he would send along the appropriate numbers when he tracked them down, but he never got back to me again.  I'd like to upgrade to Flash CS5 now, so is there any way I can find the serial number through the software itself?  I've seen similar threads to this one elsewhere in the forums and the most promising answers have involved people locating truncated numbers in the software and asking Adobe to decrypt them.  Unfortunately, I can't even find these truncated numbers...  anyone have advice?
    Thanks

    Chances are you do not own the rights to use or have that software installed on that machine.  If the seller was only going to supply you with numbers and not transfer his/her license thru Adobe channels (http://kb2.adobe.com/cps/152/tn_15281.html), the seller would probably be in violation of the End User License Agreement (illegally providing a copy to another individual). If the seller still retains the license, the copy on your machine would have to have been erased before the sale... and still needs to be.
    This is likely to apply to other software that was installed on the machine by the seller.

  • Query to find out whether a table is sub-partitoned , composite type one

    Could you please let me know the query to find out whether a paritioned table
    is
    1). composite paritioned one.
    2). sub-paritioned one.
    I find that there are 2 cols in all_tab_partitions view, which lets me know
    1). COMPOSITE VARCHAR2(3)
    To find composite paritioned one or not.
    2). SUBPARTITION_COUNT NUMBER
    To find whether a table is sub-paritioned one or not.
    Any light on the above topic is highly appreciated.

    So it seems you've found the answer yourself?
    with »user_tab_partitions« and »user_tab_subpartitons« you'll get all the neccessary information you are looking for.

Maybe you are looking for

  • Lightroom 5.6 on Win 7 Pro 64 bit SP1 tying up CPUs, running very slowly

    Hi, I have Lightroom 5.6. Whenever I use the Spot removal, Graduated filter, Radial filter or Adjustment brush tools in the develop module, it ties up the 6 CPU cores (as viewed in Task Manager) so everything goes very slowly. For example, the effect

  • Unpublish KB Article giving Object Not Found

    Have a client trying to unpublish an article and its giving "Object not found." message. We can't unpublish OLD of the articles. Trace logs aren't giving much info either: [2015-02-18 13:00:38.214] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-

  • What is the Optional(other than Case or Decode)

    Hi friends, i need to refer an image to the corresponding blob content in my report for each and every row. i tried with case or decode but it is helpless as the case and decode does not support BLOB format, instead what is the other optional i can u

  • No calendar in Gmail IMAP settings

    I'm trying to get gmail imap calendar configured for a 3GS running 4.2. Under settings, mail/contacts/calendar it only has Mail and Notes under it. How do I add calendar? Thanks, Tim

  • Help with a down load

    i need to down load whats called  WON.EXE  but i don't know how to find it to down load it, if any one knows please help me, my e-mail is  (email removed per forum guidelines) problem i'm having is i'm playing at this game site called hoylegames and