AR - On-Account Receipts

Hi,
I am trying to extract OnAccount Receipts using below query. But I noticed that in some cases there are multiple cash_receipt_id for a single receipt_number. Also there are multiple records for one cash_receipt_id in AR_RECEIVABLE_APPLICATIONS_ALL table. This is because there are different amount_applied values with negative and positive amount. I am not sure which one to use. This is returning duplicate records. I also tried removing the outer joins, but they are needed to get required data. The query I used is:
SELECT acr.currency_code
           ,acr.exchange_rate_type           -- p_exchange_rate_type null
           ,acr.exchange_rate                     -- p_exchange_rate null
           ,acr.exchange_date                     --p_exchange_rate_date
           ,acr.amount                                 --p_amount
           ,acr.factor_discount_amount       --p_factor_discount_amount
           ,acr.receipt_number               --p_receipt_number
           ,acr.creation_date                --p_receipt_date
           ,ara.gl_date                      --p_gl_date
           ,ara.status
           ,ara.amount_applied
           ,ara.gl_date gl_appl
           ,aps.customer_id
           ,hca.cust_account_id              --p_customer_id
           ,hp.party_name                    --p_customer_name
           ,hca.account_number               --p_customer_number
           ,iao.ext_bank_account_id          --p_customer_bank_account_id
           ,ieb.bank_account_num             --p_customer_bank_account_num
           ,site.location                         --p_location
           ,acr.customer_site_use_id         --p_customer_site_use_id
           ,acr.customer_receipt_reference   --p_customer_receipt_reference
           ,acr.override_remit_account_flag  --p_override_remit_account_flag
           ,acr.remittance_bank_account_id   --p_remittance_bank_account_id
           --,p_remittance_bank_account_num
           --,p_remittance_bank_account_name
           ,acr.deposit_date                      --p_deposit_date
           ,arm.receipt_method_id            --p_receipt_method_id
           ,arm.name                              --p_receipt_method_name
           ,ara.ussgl_transaction_code     --p_ussgl_transaction_code
           --,p_org_id
FROM AR_CASH_RECEIPTS_ALL acr
         ,AR_RECEIVABLE_APPLICATIONS_ALL ara
         ,AR_PAYMENT_SCHEDULES_ALL aps
         ,HZ_CUST_ACCOUNTS hca
         ,HZ_PARTIES hp
         ,IBY_ACCOUNT_OWNERS iao
         ,IBY_EXT_BANK_ACCOUNTS ieb
         ,HZ_CUST_SITE_USES_ALL site
         ,AR_RECEIPT_METHODS arm
WHERE acr.cash_receipt_id = ara.cash_receipt_id
    AND acr.cash_receipt_id = aps.cash_receipt_id
    AND aps.customer_id = hca.cust_account_id
    AND hca.party_id = hp.party_id
    AND iao.ACCOUNT_OWNER_ID(+) = hca.CUST_ACCOUNT_ID
    AND ieb.ext_bank_account_id(+) = hca.CUST_ACCOUNT_ID
    AND acr.customer_site_use_id = site.site_use_id
    AND arm.receipt_method_id = acr.receipt_method_id
    AND acr.org_id = 143
   AND ara.status = 'ACC'
   AND acr.status = 'APP'
  --AND aps.CLASS = 'PMT'
  --AND aps.status = 'OP'
  --AND site.site_use_code = 'BILL_TO' 
  --AND NVL (site.status, 'A') = 'A'
Please let me know what other validations do I need to get OnAccount Receipts.
Thanks in advance,
Aditya

Hi,
This query works fine for me:
SELECT CR.CASH_RECEIPT_ID,
            CR.RECEIPT_NUMBER,
            CR.RECEIPT_DATE,
            CR.CURRENCY_CODE,
            DECODE ( CR.TYPE, 'MISC', NULL, NVL (SUM (DECODE (RA.STATUS, 'ACC', NVL (RA.AMOUNT_APPLIED, 0), 0)), 0)) ON_ACCOUNT_AMOUNT
         FROM AR_RECEIVABLE_APPLICATIONS_ALL RA,
            AR_CASH_RECEIPTS_ALL CR,
            AR_RECEIPT_METHODS RM
      WHERE RA.CASH_RECEIPT_ID = CR.CASH_RECEIPT_ID
            AND CR.RECEIPT_METHOD_ID = RM.RECEIPT_METHOD_ID
            AND CR.ORG_ID = <org_id>
      GROUP BY CR.CASH_RECEIPT_ID,
            CR.RECEIPT_DATE,
            CR.RECEIPT_NUMBER,
            RM.NAME,
            CR.CURRENCY_CODE,
            CR.TYPE order by receipt_date desc
Let me know if it worked.
Octavio

Similar Messages

  • R12:what is the function of on account receipts in bank remittance ?

    there is a new function of on account receipts in bank remittance which it hasn't before R12. can can anybody explain what is used for ?
    Regards,
    Chelsea

    Hey Samooo205,
    I see that you have some questions about the tab bar in Safari. Some information about this can be found in the following article:
    Safari 7 (Mavericks): Customize the Safari window
    http://support.apple.com/kb/PH17153
    If you need help visually identifying the tab bar, you can find that information here:
    Safari 8 (Yosemite): View webpages in tabs
    http://support.apple.com/kb/PH19261
    As it said in the first article, the tab bar option that you are wondering about only affects the behavior of the tab bar when there is only one tab open. If there are multiple tabs open, the tab bar will be shown, regardless of this setting. Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • HT3702 Is there anyway iTunes can send me another account receipt my iTunes aren't downloading please??

    Is there anyway iTunes can send me another account receipt my iTunes aren't downloading please??

    Receipts for purchase you make are emailed to you. If you've lost the emailed receipt, there's no way to get another one, but you can go into your Purchase History in your iTunes Store account, find the item for which you wish a receipt, and do a screen shot of it if you need a separate copy.
    Regards.

  • GL Coding for an On Account and Unapplied Receipts

    How do I get the GL code to an unapplied and/or on account receipt? It's the ar_distributions table that is messing with me I think.
    This is giving me two lines of code, one of which I want, the other is not the one I want.
    SELECT /*+ parallel(cash,4) parallel(cashh,4) */
    'On Account' acct_type
    , cash.receipt_number
    , trunc(cash.creation_date) creation_date
    , TRUNC(cash.last_update_date) last_update_date
    , SUM(DECODE(araa.status,'ACC'
    ,DECODE(UPPER('USD'),NULL,
    ROUND(araa.acctd_amount_applied_from,2),araa.amount_applied),0)) amount
    , araa.acctd_amount_applied_from
    , araa.amount_applied
    , dist.source_id
    , dist.acctd_amount_cr
    , dist.acctd_amount_dr
    , dist.source_type
    , dist.source_type
    , dist.currency_code
    , dist.creation_date
    , dist.last_update_date
    , dist.line_id
    , dist.location_segment_id
    , dist.org_id
    , gl.segment1
    , gl.segment2
    , gl.segment3
    , gl.segment4
    , gl.segment5
    , gl.segment6
    FROM ar.ar_cash_receipts_all cash
    , ar.ar_cash_receipt_history_all cashh
    , ar.ar_payment_schedules_all pay
    , ar.ar_receivable_applications_all araa
    , ar.ar_distributions_all dist
    , gl.gl_code_combinations gl
    WHERE cash.cash_receipt_id = araa.cash_receipt_id
    AND pay.payment_schedule_id = araa.payment_schedule_id
    AND cash.cash_receipt_id = pay.cash_receipt_id
    AND cashh.cash_receipt_id = cash.cash_receipt_id
    AND cashh.cash_receipt_history_id(+) = dist.source_id
    AND dist.code_combination_id = gl.code_combination_id(+)
    AND NVL(cash.confirmed_flag,'Y') = 'Y'
    AND NVL(araa.confirmed_flag,'Y') = 'Y'
    AND cashh.first_posted_record_flag = 'Y'
    AND pay.status = 'OP'
    AND araa.status = 'ACC'
    AND cash.receipt_number = '&RECNUM'
    AND dist.source_type = 'UNAPP'
    HAVING SUM(DECODE(araa.status,'ACC'
    ,DECODE(UPPER('USD'),NULL
    ,ROUND((araa.acctd_amount_applied_from * NVL(cash.exchange_rate, 1)),2)
    ,araa.acctd_amount_applied_from),0)) != 0
    GROUP BY cash.receipt_number, cash.creation_date, cash.last_update_date, pay.amount_applied, dist.source_id , dist.acctd_amount_cr
    , dist.acctd_amount_dr, araa.acctd_amount_applied_from, araa.amount_applied
    , gl.segment1, gl.segment2, gl.segment3, gl.segment4, gl.segment5, gl.segment6
    , dist.source_type
    , dist.source_type, dist.currency_code, dist.creation_date, dist.last_update_date, dist.line_id
    , dist.location_segment_id
    , dist.org_id
    ORDER BY 2

    OK I figured it out - I deleted the ar_distributions table and linked the cash history table directly to the gl code table so the GL code is actually linked to the header record:
    AND cashh.account_code_combination_id = gl.code_combination_id

  • IN R12 -- HOW TO CREATE RECEIPT METHOD IN RECEIVABLES

    IN R12 --> HOW TO CREATE RECEIPT METHOD IN RECEIVABLES
    SET UP
    RECEIPTS-------> RECEIPT CLASSES
    I CREATED NEW RECEIPT CLASS AND NEW RECEIPT METHOD
    WHEN CREATING NEW RECEIPT METHOD
    BANK ACCOUNTS---------->
    I AM ABLE TO SELECT THE DETAILS FOR THE FOLLOWING
    1. OPERATING UNIT
    2. BANK NAME
    3. BRANCH NAME
    4. EFFECTIVE DATES
    5. CASH ACCOUNT
    6. UNAPPLIED RECEIPTS
    7. UNIDENTIFIED RECEIPTS
    8. ON ACCOUNT RECEIPTS
    BUT WHEN COMES TO THE
    UNEARNED DISCOUNTS AND
    EARNED DISCOUNTS I AM UNABLE TO GET LOV FOR THAT
    IN THE SET UP----> SYSTEM OPTIONS ----> MISCELLANEOUS
    I CHECKED THE CHECK BOX TO YES FOR
    ALLOW UNEARNED DISCOUNTS
    PLEASE GIVE SOLUTIONS FOR THIS
    THANKS IN ADVANCE
    PRINCE

    Hi
    Thank You Ketter Ohnes for Reply,
    AR: Setup: Receipts: Receivable Activities
    When i am doing above set up it is giving the following error.
    PLEASE DEFINE A PARTY TAX PROFILE FOR OPERATING UNIT & ORG_ID
    Thanks and Regards
    Prince

  • Automatic Payment Program(F111) not picking Bank Sub accounts

    Dear all,
    The entiries genertaed from automatic payment program(F111) is not picking the bank sub accounts (Receipts/Payment GLs) which are given in the following node:-
    Financial Accounting --> Bank Accounting --> Business Transactions -->Payment Transactions --> Payment Request --> Define Clearing Accts forReceiving Bank for Acct. Transfer
    It is picking the Main Bank GL, which has given in bank master(FI12).
    Please advise.
    Thanks & regards
    Ramesh Nair

    Hi,
    The config : Financial Accounting --> Bank Accounting --> Business Transactions -->Payment Transactions --> Payment Request --> Define Clearing Accts for Receiving Bank for Acct. Transfer
    Is to decide bank sub account of the sending bank, when you are doing Bank to Bank transfer. This is manditory for cash management bank to bank transfer. Please read the config documentation again.
    I just cut and paste from SAP documentaion.
    "In this activity you define the offsetting accounts for the receiving bank accounts for bank account transfers (payments between house bank accounts) which should be posted to when payment is made.
    The entries are necessary when payment requests are created for cash management payment advice notes that result from cash concentration, for example. The offsetting accounts for the paying house bank are determined by the payment program specifcations and the payment methods used. The offsetting accounts for the receiving house bank cannot be determined from these specifications, however, but can be defined in this section. "
    Now, when you are creating payments with F111 and if you want to get sub accounts for house bank you have to do the following config.
    F111 -> Maintain Configuration -> Bank determination -> Bank accounts ( for each accont id and payment method combination ).
    Then you will see payments from this sub accounts and you have to setup posting rule to clear this account if you are doing EBS.

  • Error when trying to print incoming payment of type "account"

    Hello all:
    One of our customers has just upgraded from 2007 to 8.8 SP00 PL12. Now, whenever they try to print a PLD of an incoming payment which is of type "Account", the following error appears:
    No matching records found  'Payment Terms' (OCTG) (ODBC -2028)  [Message 131-183]
    I have already created an empty layout containing only a sample text field, in order to rule out any unsupported database field in the PLD, but I still have the same error.
    The incoming payments of type "customer" work fine, it is only the account type payments that do not print, and that after the upgrade to 8.8.
    Any ideas? I guess I will have to open a support ticket on this...
    Thanks,
    Joerg.

    As an additional info, I tried, as a workaround, to use a Crystal Report
    layout for the incoming payments, but I do have the same effect as with
    the PLD layouts. Customer receipts print fine, yet account receipts do
    come up with the error mentioned.
    Am I the only one with this error or is there anybody else?
    Thanks,
    Joerg.

  • Bank reconcilaition account

    hi all,
    I would highly appreciate if anyone can send me the process for running Bank Reconciliation. I want the format of file and the steps for running it.
    pls send the stuff to my mail id [email protected]
    (spl request to raju that mail yet not received)
    regards,
    supriya thodimela.

    hi supriya,
    ERO – BANK RECONCILIATION STATEMENT
    STEPT 1.  Transaction Code           :     FBL3N
         A) Specify the G/L Account : Bank Incoming A/C. No.
    a)     Check the ERO Collection 
    b)     Dishonors Cheques
                 B) Specify the G/L Account : Receipt Bank Outgoing A/C. No.
    a)     Head Quarters Transfers Amount 
    Psky 40 – Dr. ERO Collection Amount
    Psky 50- Cr. Dishonors Cheques Amount
    STEPT 2. Transaction Code                :      ZF032
    Processing Data Tab:
         Company Code               :
    Processing Data Tab:
         House Bank               :
         Bank Account ID               :     
         Bank Statement 1               :
         Bank Statement / Value Date     :     
    Controls Tab:
         Beginning Balance          :     
         Ending Balance               :
         Posting Date               :     
    Session Data Tab:
         Session                    :
         Processing Mode               :
    Click the EXECUTE ICON  Display the Process Bank Statement
    Click the Menu bar (EDIT) + (CHANGE OF CONTROL)
    Beginning Balance (or) Opening Balance
    Ending Balance (or) Closing Balance
    Posting Date
    Click the (Sort by Date)
    Select the  a)   Bank Excess
    b)     Board Excess
    c)     Dishonor Cheques
    d)     ERO Collection
    Also i have mailed to ur <b>email address...</b>
    I got bounces back u email ur email addressis not correct.
    Send me the Test mail at [email protected] and i will revert u ...
    Assign the points
    Ranjit
    Message was edited by:
            Ranjit kumar

  • Track Purchases/payments Sales/Receipts for 2 business units in 1 OU

    Hi,
    We have one Operating unit and need to capture the liabilities/payables for 2 different business units. What approach can be undertaken to set up the liability account ?
    Should we maintain 2 different liability accounts ?
    If the same supplier deal with both business then at which point do we enter different liability accounts ?
    How do we track the purchases made for each.
    Kindly through some light.
    Same is required for the AR side too.

    Hi
    2.On the Purcahsing side , when entering the po the users should put the BU value in the segment when entering non-inventory(expense) item . How about the inventory item purchase ?
    Ans:You can use two separate Sub Inventories for each BU
    3. Any ideas to overcome the inability to receive cash against BU ?
    Ans: There is an Account Generator called AR: Substitute Balancing Segment: Replace Balancing Segment. Using the WF customization, I understand this could be possible. But it will not be supported by Oracle because before the receipt hits the Cash account it has to pass through several intermediary accounts like unapplied receipts, undentified receipts, Confirmation account, Remittance account On account receipt etc., Only R12 Subledger Accounting has the supported solution. If you are using Oracle Public Sector Financials, then there is a solution for this called Multi fund receipt in 11.5.10.
    4. Just like we can setup different transaction types in AR, can we have some means to identify the purchase/invoices of the 2 different BU ?
    Ans: You need to capture only through a DFF. But I feel this is not required when you run the AP Trial balance report, you need to specify the Liability account. So if you give in that as BU2, you are going to get only BU 2 related invoices and if you specify BU1, it is going to filter BU1 invoices only. If it does not happen also you can customize this report to filter in that way.
    Hope this helps
    Regards
    Sivakumar

  • House-Bank Only Main Bank account required

    Dear Expert,
    One of our client wants only main Bank account in house bank defination to see availbal balance. They dont want clearing account(receipt Clearing & Payment clearing) in house bank. but they also want Manual Bank reconcilltion in system. Please help me this out.
    Regds,
    PK

    Hi
    this forum is for PRoduction planning.
    you need to post this in FICO forum.
    reg
    dsk

  • Someone hacked into my account and spent my gift voucher!!! How do I report this???

    Someone hacked into my account and spent my gift voucher!!! How do I report this???
    They purchased Kingdom Conquest for the iphone and I don't even have an iphone!!!!

    This is sooooo frustrating! I had $30 of credit in my itunes account and some a**hole chinese company stole it last night.  I am getting married next June and was going to use those credits for some of my wedding reception songs! Fkkers!
    Dear Wendy Ott,
    Your Apple ID, [email protected], was just used to download 胡莱三国 for iPad from the App Store on a computer or device that had not previously been associated with that Apple ID.
    If you initiated this download, you can disregard this email. It was only sent to alert you in case you did not initiate the download yourself.
    If you did not initiate this download, we recommend that you go to iforgot.apple.com to change your password, then see Apple ID: Tips for protecting the security of your account for further assistance.
    Regards,
    Apple
    From Pay Pal (for the tax on the item, I only had $30 in credit in my itunes account):
    Receipt for Your Payment to iTunes Store
    X
    InboxX
    Reply |[email protected] [email protected] to me
    show details 4:21 AM (3 hours ago)
    Nov 6, 2011 02:21:00 PST
    Transaction ID: 2SH3797727406781Y
    Hello Wendy Ott,
    You sent a payment of $2.13 USD to iTunes Store
    ([email protected])
    It may take a few moments for this transaction to appear in your account.
    Merchant
    iTunes Store
    [email protected]
    Instructions to merchant
    M1KHQB2BW3: Gift
    DescriptionAmount
    iTunes Store purchases.$2.13 USD
    Subtotal$2.13 USD
    Total$2.13 USD
    Payment$2.13 USD
    Payment sent to [email protected]
    Receipt ID: B-8RU38135GB312133E
    I HAVE SENT AN EMAIL TO ITUNES (nice they dont have a phone number to call) AND I AM HOPING I CAN GET MY CREDIT BACK SINCE IT WAS CLEARLY A CREDIT AND NOT A CREDIT CARD USED. 
    UGH **** ME OFFFFF!

  • Opening and Closing Stock Calculation In SAP BPC 10.0 NW

    Hello Experts,
    Need your guidance on this calculation.
    BI Cube: Receipts and Issues only Available on day basis
    BPC Report / Cube Context
    Product = Product1, Product2,
    Account = receipts, Issues, Opening Stock, Closing stock,
    Flow = Other
    Audittrail = Input
    UOM = QTY
    rptcurrency = LC
    Category = Actual
    TIme = All Periods (Monthly)
    Plant = Plant1, Plant2, Plant3, Plant4
                                       In the Cube I don't Have Opening Stock, without Which I cannot calculate Closing stock.
    Scenario: If I Enter Manually Opening stock for all products at some starting point, say In Year 2008 Jan.  How To take this closing stock of this month automatically to next month opening stock and So on and so forth to following Periods? Is it possible through "Carry Forward Business rule" in this case, as Closing stock is a calculated value using Member dimension Formula. I am having receipts and issues in Account dimension.
    Dimension Formula used:    Closing Stock = Opening Stock+Receipts- Issues.
    Please find attachment of the report screen shot.
    Thanking you
    Praveen

    Hello Vadim,
    1. The Cube storage Type is "Periodic".
    2. Acctype of the account dimension is "AST"
    3. Time Dimension Is based on Month.
    ID
    Description
    RELEVANT
    Base Period
    CLOSED
    Level
    Month Number
    Period
    TIMEID
    Year
    Calendar
    2006.01
    2006 Apr
    1
    MONTH
    1
    APR
    20060100
    2006
    2006.Q1
    2006.02
    2006 May
    2
    MONTH
    2
    MAY
    20060200
    2006
    2006.Q1
    2006.03
    2006 June
    3
    MONTH
    3
    JUN
    20060300
    2006
    2006.Q1
    2006.04
    2006 July
    4
    MONTH
    4
    JUL
    20060400
    2006
    2006.Q2
    2006.05
    2006 August
    5
    MONTH
    5
    AUG
    20060500
    2006
    2006.Q2
    2006.06
    2006 September
    6
    MONTH
    6
    SEP
    20060600
    2006
    2006.Q2
    2006.07
    2006 October
    7
    MONTH
    7
    OCT
    20060700
    2006
    2006.Q3
    2006.08
    2006 November
    8
    MONTH
    8
    NOV
    20060800
    2006
    2006.Q3
    2006.09
    2006 December
    9
    MONTH
    9
    DEC
    20060900
    2006
    2006.Q3
    2006.10
    2007 Jan
    10
    MONTH
    10
    JAN
    20061000
    2006
    2006.Q4
    2006.11
    2007 Feb
    11
    MONTH
    11
    FEB
    20061100
    2006
    2006.Q4
    2006.12
    2007 Mar
    12
    MONTH
    12
    MAR
    20061200
    2006
    2006.Q4
    2006.Q1
    2006 Q1
    3
    QUARTER
    3
    Q1
    2006
    2006.TOTAL
    2006.Q2
    2006 Q2
    6
    QUARTER
    6
    Q2
    2006
    2006.TOTAL
    2006.Q3
    2006 Q3
    9
    QUARTER
    9
    Q3
    2006
    2006.TOTAL
    2006.Q4
    2006 Q4
    12
    QUARTER
    12
    Q4
    2006
    2006.TOTAL
    2006.TOTAL
    2006
    12
    YEAR
    12
    TOTAL
    2006
    Thank You
    Praveen

  • AR Invoice with Installment Payment Terms

    Hi to All,
    We have an invoice where the payment terms are based on installment. The installment is for 18 months.  Automatic cash receipts have been applied correctly for Installment 1 and Installment.
    Our situation is this where we want to apply an On Account receipt to installment 3.  When we query for the installment 3 invoice we are getting the following error message:
    "FRM-41830: List of Values contains no entries"
    Basically the the invoice is not being queried.  We checked the invoice, it is complete but the installments 3-18 are open.  What we like to know if we can preform an on account receipt to an installment invoice...if so what setup do we need to look for.
    Thanks in advance for any help.

    Hi Bharat,
    Thanks for your reply.  We checked the invoice payment schedule in the tables are 4th to 18th are all open.  We have also verified this thru the forms and same appears.
    So when we go to receipts and attempt to apply on accounts funds to the invoice.  We cant query for the invoice.  The following oracle forms message appears:  "FRM-41830:  List of Values contains no entries"

  • SQL Plus Bug/Question: 'COMPUTE' command does not work in script.(BUG?!)

    Good Day to ALL!
    I have a script of SQLPlus that creates a report. I have 8/9 numeric columns which are 'SUM'ed up thru 'COMPUTE' command. It works for all BUT 2 columns. If I put these two columns, compute does not take affect. If I remove these two columns ( just cut) 'COMPUTE' works fine!!! These two coulumns use DB Function. But I have other column that also use DB Function. These two columns has some extra additions. Any thing wrong with the script/column defn.
    Thanks - Pradip (Pradip Biswas @Singapore) Could you pl. reply to [email protected]
    Here is bit of script. Sorry about the length of the cut and paste.
    COLUMN OPEN_QTY_BAL           FORMAT 9,99,990          HEADING 'Opening|Qty'           Justify LEFT
    COLUMN OPEN_QTY_VALUE          FORMAT 99,999,990      HEADING 'Opening|S$'           Justify LEFT
    COLUMN PO_RECEIPTS_QTY      FORMAT 99,990          HEADING 'PO Rec|QTY '          Justify LEFT
    COLUMN PO_RECEIPTS_QTY_VALUE     FORMAT 9,999,990      Heading 'PO Rec|S$'           Justify LEFT
    COLUMN MISC_RECEIPTS_QTY     Format 99,990          Heading 'Misc |Qty'          Justify LEFT
    Column MISC_RECEIPTS_QTY_VALUE      Format 9,999,990      Heading 'Misc|S$'          Justify LEFT
    COLUMN WORKORDER_QTY           FORMAT 99,990          HEADING 'WorkOrd|Qty'          Justify LEFT
    COLUMN WorkOrder_QTY_VALUE      Format 9,999,990      HEADING 'WorkOrd|S$'          Justify LEFT
    COLUMN SALES_SHIPMENT_QTY      FOrmat 99,990          Heading 'SalesShip|Qty'          Justify LEFT
    COLUMN SALES_SHIPMENT_QTY_VALUE FOrmat 9,999,990      Heading 'SalesShip|S$'          Justify LEFT
    COLUMN MISC_ISSUE_QTY     Format 99,999          HEADing 'Misc|Qty'          Justify LEFT
    COLUMN MISC_ISSUE_QTY_VALUE Format 9,999,990 heading 'Misc|S$'          Justify LEFT
    COLUMN TRANSFER_QTY          format 99,990          heading 'Transfer|Qty'          Justify LEFT
    COLUMN TRANSFER_QTY_VALUE     format 99,999,990     heading 'Transfer|S$'          Justify LEFT
    COLUMN REVAL_VALUE Format 99,990          Heading 'Reval|S$'          Justify LEFT
    COLUMN ON_HAND_QTY           FORMAT 9,99,990      HEADING 'Closing|Qty'           Justify LEFT
    COLUMN ON_HAND_QTY_VALUE     FORMAT 99,999,999,990      HEADING 'Closing|S$'           Justify LEFT
    REPHEADER on
    REPHEADER left ' GL Period From: &&P_GL_PERIOD_NAME_FROM ' skip left ' GL Period To : &&P_GL_PERIOD_NAME_TO ' skip left ' Inv Org Code : &&P_INV_ORG_CODE ' skip left 'SubInventory Code : &&P_SUBINVENTORY_CODE ' skip 2
    TTITLE left 'H - Inv Inventory Movement Report as at:' TTITLE_DATE RIGHT 'PAGE:' FORMAT 999 SQL.PNO SKIP 2
    BTITLE skip 1 CENTER 'COMPANY CONFIDENTIAL - Printed on ' TTITLE_DATE
    BREAK on REPORT skip 1;
    --rem(1) compute SUM label 'Total' of OPEN_QTY_VALUE PO_RECEIPTS_QTY_VALUE MISC_RECEIPTS_QTY_VALUE WorkOrder_QTY_VALUE SALES_SHIPMENT_QTY_VALUE MISC_ISSUE_QTY_VALUE TRANSFER_QTY_VALUE REVAL_VALUE on report;
    --REM(2) compute SUM label 'Total $S: ' of OPEN_QTY_VALUE REVAL_VALUE on report;
    --REM(3) compute SUM label 'Total $S: ' of OPEN_QTY_VALUE REVAL_VALUE  ON_HAND_QTY_VALUE on report;
    compute SUM label 'Total $S:' of OPEN_QTY_VALUE PO_RECEIPTS_QTY_VALUE MISC_RECEIPTS_QTY_VALUE WorkOrder_QTY_VALUE SALES_SHIPMENT_QTY_VALUE MISC_ISSUE_QTY_VALUE TRANSFER_QTY_VALUE REVAL_VALUE on report;
    WHENEVER SQLERROR EXIT FAILURE
    select
    --     MSI.ORGANIZATION_ID                          ORGANIZATION_ID,
    -- MSI.INVENTORY_ITEM_ID                                   INVENTORY_ITEM_ID,
         MSI.SEGMENT1||'//'||MSI.DESCRIPTION                                   ITEM,
    -- MSI.DESCRIPTION                                             DESCRIPTION,
    All_Item_subinv.SUBINVENTORY_CODE                              SUBINVENTORY,
    MSIV.PRIMARY_UOM_CODE                                        UOM,
         --NVL(MOQ_OPen_BAL.OPEN_QTY_BAL ,0)                               OPEN_QTY_BAL ,
    -- NVL(MOQ_OPen_BAL.OPEN_QTY_BAL,0) * NVL(AVG_ITEM_COST1.ITEM_COST,0)           OPEN_QTY_VALUE,
    (MOQ_OPen_BAL( All_Item_subinv.SUBINVENTORY_CODE,
              MSI.ORGANIZATION_ID,
    MSI.INVENTORY_ITEM_ID,
    '&P_GL_PERIOD_NAME_FROM') )     OPEN_QTY_BAL ,
    (MOQ_OPen_BAL_VAL( All_Item_subinv.SUBINVENTORY_CODE,
              mSI.ORGANIZATION_ID,
    MSI.INVENTORY_ITEM_ID,
    '&P_GL_PERIOD_NAME_FROM')
         )                                             OPEN_QTY_VALUE,
    NVL(AGGREGATED_MTT.PO_RECEIPTS_QTY,0)                              PO_RECEIPTS_QTY,
         NVL(AGGREGATED_MTT.PO_RECEIPTS_QTY_VALUE,0)                          PO_RECEIPTS_QTY_VALUE,
         NVL(AGGREGATED_MTT.MISC_RECEIPTS_QTY,0)                              MISC_RECEIPTS_QTY,
         NVL(AGGREGATED_MTT.MISC_RECEIPTS_QTY_VALUE,0)                          MISC_RECEIPTS_QTY_VALUE,
         NVL(AGGREGATED_MTT.WORKORDER_QTY,0)                              WORKORDER_QTY,
         NVL(AGGREGATED_MTT.WorkOrder_QTY_VALUE,0)                          WorkOrder_QTY_VALUE,
    NVL(AGGREGATED_MTT.SALES_SHIPMENT_QTY,0)                         SALES_SHIPMENT_QTY,
         NVL(AGGREGATED_MTT.SALES_SHIPMENT_QTY_VALUE,0)                         SALES_SHIPMENT_QTY_VALUE,
         NVL(AGGREGATED_MTT.MISC_ISSUE_QTY,0)                              MISC_ISSUE_QTY,
         NVL(AGGREGATED_MTT.MISC_ISSUE_QTY_VALUE,0)                          MISC_ISSUE_QTY_VALUE,
         NVL(AGGREGATED_MTT.TRANSFER_QTY,0)                              TRANSFER_QTY,
         NVL(AGGREGATED_MTT.TRANSFER_QTY_VALUE,0)                         TRANSFER_QTY_VALUE,
         NVL(AGGREGATED_MTT.REVAL_VALUE,0)                              REVAL_VALUE,
              (MOQ_OPen_BAL(All_Item_subinv.SUBINVENTORY_CODE,
              MSI.ORGANIZATION_ID,
    MSI.INVENTORY_ITEM_ID,
    '&P_GL_PERIOD_NAME_FROM')
              +
              nvl(AGGREGATED_MTT.PO_RECEIPTS_QTY,0)      +
              nvl(AGGREGATED_MTT.MISC_RECEIPTS_QTY,0)     +
              nvl(AGGREGATED_MTT.WORKORDER_QTY,0)     +
              nvl(AGGREGATED_MTT.SALES_SHIPMENT_QTY,0)     +
              nvl(AGGREGATED_MTT.MISC_ISSUE_QTY,0)          +
              nvl(AGGREGATED_MTT.TRANSFER_QTY,0)     )                ON_HAND_QTY,
    ((MOQ_OPen_BAL_VAL( All_Item_subinv.SUBINVENTORY_CODE,MSI.ORGANIZATION_ID,MSI.INVENTORY_ITEM_ID,'&P_GL_PERIOD_NAME_FROM'))
    +(nvl( AGGREGATED_MTT.PO_RECEIPTS_QTY_VALUE,0) )     
    +(nvl( AGGREGATED_MTT.MISC_RECEIPTS_QTY_VALUE,0) )
    +(nvl( AGGREGATED_MTT.WorkOrder_QTY_VALUE,0) )
    +(nvl( AGGREGATED_MTT.sALES_SHIPMENT_QTY_VALUE,0) )
    +(nvl( AGGREGATED_MTT.MISC_ISSUE_QTY_VALUE,0) )
    +(nvl( AGGREGATED_MTT.TRANSFER_QTY_VALUE,0) )
    +nvl( AGGREGATED_MTT.REVAL_VALUE,0))                               ON_HAND_QTY_VALUE -- column alias
    FROM
    -- In line View for MSI
    (select distinct MMT.ORGANIZATION_ID, MMT.INVENTORY_ITEM_ID, MMT.SUBINVENTORY_CODE
    From MTL_MATERIAL_TRANSACTIONS      MMT,
    ORG_ORGANIZATION_DEFINITIONS      OOD,
    MTL_ONHAND_QUANTITIES moq
    where
         OOD.organization_code           = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
    AND OOD.inventory_enabled_flag = 'Y'
    AND OOD.operating_unit          = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
    AND OOD.SET_OF_BOOKS_ID          = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
    AND     MMT.ORGANIZATION_ID          = OOD.organization_id
    AND MMT.SUBINVENTORY_CODE          = NVL('&P_SUBINVENTORY_CODE', MMT.SUBINVENTORY_CODE)
    and MMT.ORGANIZATION_ID      = MOQ.ORGANIZATION_ID -- to eliminate consigend items:2007Jan04:PKB
    and MMT.INVENTORY_ITEM_ID = MOQ.INVENTORY_ITEM_ID --,,
    and MMT.SUBINVENTORY_CODE = MOQ.SUBINVENTORY_CODE --,,
    UNION
    Select distinct      MOQ.ORGANIZATION_ID,      MOQ.INVENTORY_ITEM_ID,     MOQ.SUBINVENTORY_CODE
    from      MTL_ONHAND_QUANTITIES                MOQ,
         ORG_ORGANIZATION_DEFINITIONS           OOD2
    WHERE
         OOD2.organization_code           = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
    AND OOD2.inventory_enabled_flag      = 'Y'
    AND OOD2.operating_unit          = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
    AND OOD2.SET_OF_BOOKS_ID          = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
    AND moq.ORGANIZATION_ID          = OOD2.organization_id
    AND moq.SUBINVENTORY_CODE          = NVL('&P_SUBINVENTORY_CODE', moq.SUBINVENTORY_CODE)
    ) ALL_Item_SUBInv,
    MTL_SYSTEM_ITEMS_B MSI,
    Mtl_System_Items_Vl MSIV,
    (SELECT
         MMT.ORGANIZATION_ID ORGANIZATION_ID,
    MMT.INVENTORY_ITEM_ID          INVENTORY_ITEM_ID,
    MMT.SUBINVENTORY_CODE          SUBINVENTORY_CODE,
    -- PO RECEIPTS.
    SUM(CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ('Purchase order')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('PO Receipt','PO Rcpt Adjust','Return to Vendor')
    THEN
                   --MMT.TRANSACTION_QUANTITY
                   mmt.primary_quantity
    ELSE 0
    END
    ELSE 0
    END ) PO_RECEIPTS_QTY,
    SUM(CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ('Purchase order')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('PO Receipt','PO Rcpt Adjust','Return to Vendor')
    THEN
                   NVL(MMT.ACTUAL_COST,0)* nvl(mmt.primary_quantity,0)
                   MMT.TRANSACTION_COST * NVL(AVG_ITEM_COST.ITEM_COST,0)
    ELSE 0
    END
    ELSE 0
    END ) PO_RECEIPTS_QTY_VALUE,
    -- MISC RECEIPTS.
    SUM( CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ('Account','Inventory')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('Account receipt','Miscellaneous receipt')
    THEN
                   --MMT.TRANSACTION_QUANTITY
                   mmt.primary_quantity
    ELSE 0
    END
    ELSE 0
    END ) MISC_RECEIPTS_QTY,
    SUM(CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ('Account', 'Inventory')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('Account receipt','Miscellaneous receipt')
    THEN
                   NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
                        MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
    ELSE 0
    END
    ELSE 0
    END ) MISC_RECEIPTS_QTY_VALUE,
    -- WorkOrder Qty and S$
    SUM( CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ('Job or Schedule')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('WIP Assembly Return','WIP Assy Completion','WIP component issue','WIP Component Return')
    THEN
                   --MMT.TRANSACTION_QUANTITY
                   mmt.primary_quantity
    ELSE 0
    END
    ELSE 0
    END ) WORKORDER_QTY,
    SUM(CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ('Job or Schedule')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('WIP Assembly Return','WIP Assy Completion','WIP component issue','WIP Component Return')
    THEN
                   NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
                        MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
    ELSE 0
    END
    ELSE 0
    END ) WorkOrder_QTY_VALUE,
    -- Sales Shipment
    SUM(CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ( 'Sales order','RMA')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('Sales order issue','Sales Order Pick','RMA Return','RMA Receipt')
    THEN
                   --MMT.TRANSACTION_QUANTITY
                   mmt.primary_quantity
    ELSE 0
    END
    ELSE 0
    END ) SALES_SHIPMENT_QTY,
    SUM(CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ( 'Sales order','RMA')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('Sales order issue','Sales Order Pick','RMA Return','RMA Receipt')
    THEN
                   NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
                   MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
    ELSE 0
    END
    ELSE 0
    END ) SALES_SHIPMENT_QTY_VALUE,
    -- MISC ISSUE
    SUM(CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ('Inventory','Account' )
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('Miscellaneous issue','Account issue')
    THEN
                   --MMT.TRANSACTION_QUANTITY
                   mmt.primary_quantity
    ELSE 0
    END
    ELSE 0
    END ) MISC_ISSUE_QTY,
    SUM(CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ('Inventory','Account' )
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('Miscellaneous issue','Account issue')
    THEN
                   NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
                   MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
    ELSE 0
    END
    ELSE 0
    END ) MISC_ISSUE_QTY_VALUE,
    -- Transfers
    SUM( CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ( 'Inventory' )
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('Subinventory Transfer')
    THEN
                   --MMT.TRANSACTION_QUANTITY
                   mmt.primary_quantity
    ELSE 0
    END
    ELSE 0
    END ) TRANSFER_QTY,
    SUM( CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ( 'Inventory')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('Subinventory Transfer')
    THEN      NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
                   MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
    ELSE 0
    END
    ELSE 0
    END ) TRANSFER_QTY_VALUE,
    -- Adjustment to Cost (Revaluation)
    SUM(CASE
         WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
    ( 'Standard cost update','Job or Schedule')
         THEN
              CASE
              WHEN MTT.TRANSACTION_TYPE_NAME in
    ('Standard cost update','WIP cost update')
    THEN
                   --2007JAN03:PKB MMT.TRANSACTION_COST
    MMT.TRANSACTION_COST* MMT.QUANTITY_ADJUSTED
    ELSE 0
    END
    ELSE 0
    END ) REVAL_VALUE
         FROM
         MTL_MATERIAL_TRANSACTIONS                MMT,
         --GL_PERIODS                          GP,
         MTL_TRANSACTION_TYPES                MTT,
         MTL_TXN_SOURCE_TYPES                    MTST,
    ORG_ORGANIZATION_DEFINITIONS                OOD
    WHERE     
    OOD.organization_code           = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
    AND OOD.inventory_enabled_flag = 'Y'
    AND OOD.operating_unit          = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
    AND OOD.SET_OF_BOOKS_ID          = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
    AND     MMT.ORGANIZATION_ID          = OOD.organization_id
    AND MMT.SUBINVENTORY_CODE          = NVL('&P_SUBINVENTORY_CODE', MMT.SUBINVENTORY_CODE)
    -- AND GP.PERIOD_SET_NAME          = 'HF-ACCTG-CAL' -- Hardcoded PKB
    AND
         (     (EXISTS
         ( select GP.Period_name
    FROM GL_PERIODS GP
    where TO_DATE(TO_CHAR(MMT.TRANSACTION_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
                   >= TO_DATE(TO_CHAR(GP.START_DATE,'DD-MM-YYYY'),'DD-MM-YYYY') --Between GP.START_DATE and GP.END_DATE
         AND GP.PERIOD_NAME      = '&P_GL_PERIOD_NAME_FROM'
              and GP.PERIOD_SET_NAME          = 'HF-ACCTG-CAL'
    AND NVL('&P_GL_PERIOD_NAME_FROM','ALL')      != 'ALL'
    OR (NVL('&P_GL_PERIOD_NAME_FROM' ,'ALL')               = 'ALL')
    AND
         (     (EXISTS
         ( select GP.Period_name
    FROM GL_PERIODS GP
    where TO_DATE(TO_CHAR(MMT.TRANSACTION_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
                   <= TO_DATE(TO_CHAR(GP.END_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
         AND GP.PERIOD_NAME      = '&P_GL_PERIOD_NAME_TO'
              and GP.PERIOD_SET_NAME          = 'HF-ACCTG-CAL'
    AND NVL('&P_GL_PERIOD_NAME_TO','ALL')      != 'ALL'
    OR (NVL('&P_GL_PERIOD_NAME_TO','ALL')               = 'ALL')
    AND MMT.TRANSACTION_TYPE_ID          = MTT.TRANSACTION_TYPE_ID
    AND MMT.TRANSACTION_SOURCE_TYPE_ID          = MTST.TRANSACTION_SOURCE_TYPE_ID
    group by
         MMT.ORGANIZATION_ID,
    MMT.INVENTORY_ITEM_ID,
    MMT.SUBINVENTORY_CODE
    )                    AGGREGATED_MTT,
    -- Inline Table for AVG_ITEM_COSTs 2nd time,
    (SELECT
         CIC.ORGANIZATION_ID     ORGANIZATION_ID,
    CIC.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
    CIC.COST_TYPE_ID COST_TYPE_ID,
    CCT.COST_TYPE     COST_TYPE,
    NVL(CIC.ITEM_COST ,0) ITEM_COST
    FROM
         CST_ITEM_COSTS           CIC,
         CST_COST_TYPES           ccT,
    ORG_ORGANIZATION_DEFINITIONS                OOD1
    WHERE
         CCT.COST_TYPE_ID           = CIC.COST_TYPE_ID
         /*AND (
         (CCT.COST_TYPE          = 'Average' and '&P_INV_ORG_CODE' = 'HS')
              OR
    (CCT.COST_TYPE          = 'Frozen' and '&P_INV_ORG_CODE' = 'HL')
    AND CCT.COST_TYPE_ID =
              ( select      m.primary_cost_method
              from      mtl_parameters m
    where      m.organization_id      = OOD1.ORGANIZATION_ID
         and OOD1.organization_code      = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
         AND OOD1.inventory_enabled_flag = 'Y'
         AND OOD1.operating_unit          = fnd_profile.value('ORG_ID') 83 --fnd_profile.value('ORG_ID')
         AND OOD1.SET_OF_BOOKS_ID     = fnd_profile.value('GL_SET_OF_BKS_ID') 1 --fnd_profile.value('GL_SET_OF_BKS_ID')
         AND cic.ORGANIZATION_ID          = OOD1.organization_id
         )                               AVG_ITEM_COST1
    WHERE
    AGGREGATED_MTT.ORGANIZATION_ID(+)          = All_Item_subinv.ORGANIZATION_ID
    AND AGGREGATED_MTT.INVENTORY_ITEM_ID(+) = All_Item_subinv.INVENTORY_ITEM_ID
    AND AGGREGATED_MTT.subinventory_code(+)     = All_Item_subinv.subinventory_code
    AND All_Item_subinv.ORGANIZATION_ID          = MSI.ORGANIZATION_ID
    AND ALL_Item_SUBInv.INVENTORY_ITEM_ID          = MSI.INVENTORY_ITEM_ID
    AND AVG_ITEM_COST1.ORGANIZATION_ID(+)     = MSI.ORGANIZATION_ID
    AND AVG_ITEM_COST1.INVENTORY_ITEM_ID(+)      = MSI.INVENTORY_ITEM_ID
    and msi.ROWID                         = MSIV.ROW_ID
    and msi.ORGANIZATION_ID                    = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
    and sysdate between NVL(msi.start_date_active,sysdate -1 )
    and NVL(msi.end_date_active,sysdate+1)
    Order BY
         MSI.SEGMENT1,
    MSI.DESCRIPTION     ,
    All_Item_subinv.SUBINVENTORY_CODE
    /

    Hi Barry and All: This indeed is a bug in SQLPLUS ! Version 9.2.0.1.0 as well.
    Thanks for asking the version no of SQLLPLUs. I was working thru Oracle Apps 11i.10 (concurrent program). So I did not get any message from SQLPLUS.
    I tested independently in SQLPLUS and got the message! Thanks Oracle!!!
    The Bug is in the name of COLUMN NAME or ALIAS Name. I renamed the columns from ON_HAND_QTY and ON_HAND_VALUE to CLOSE_QTY and CLOSE_QTY_VALUE. It worked!! The string 'ON' in the column/alias name is taken as 'ON' keyword/clause for 'compute' statement for SQLPLUS.
    Here is the message from SQLPLUS
    " SP2-0084: COMPUTE ON keyword specified already"
    See these two line and compare
    --compute SUM label 'Total $S: ' of SALARY ON_SALARY  on report;
    compute SUM label 'Total $S: ' of SALARY on report;
    Thanks - Pradip
    Here is the sample code to simulate. (not Big :))
    WHENEVER SQLERROR EXIT FAILURE
    CLEAR computes
    CLEAR BREAKS
    clear column
    TTITLE OFF
    BTITLE OFF
    set verify off
    set feedback off
    set echo off
    set heading off
    set termout off
    set linesize 203
    set pagesize 30
    set termout on
    SET UNDERLINE =
    set heading on
    COLUMN SALARY               FORMAT 9,999,990      Heading 'SALARY'           
    COLUMN ON_SALARY          format 9,999,990 Heading 'ON Salary'
    column ENAME format a20 heading 'NAME'
    COLUMN EMPNO Format 99999 HEADING 'EMPNO'
    BREAK on REPORT skip 3;
    --compute SUM label 'Total $S: ' of SALARY ON_SALARY  on report;
    compute SUM label 'Total $S: ' of SALARY on report;
    WHENEVER SQLERROR EXIT FAILURE
    select empno, ename, sal SALARY, sal ON_SALARY from scott.emp;

  • Student Discount, Double Charges, and Mediocre Support

    I have been using spotify for quite some time now. I have paid my fair share of 9.99/mo, and quite frankly, I don't mind paying money to avoid someone or something blaring obnoxiously in my ear every 45 seconds. The one thing that did, and still does, irk me beyond words was when I attempted to sign up for the $4.99/mo deal for twelve months, I was not given the 4.99 rate for a full twelve months...but that was a while ago, and I had since gotten over it...until... Today I attempted to renew the 12 month $4.99 deal and was not only charged once, but twice; both charges appear on my bank statement and not at all on my Spotify Account Receipts. It gets better, though...I wasn't even given the promised upgraded features, and after reading some fine print (lovely) I noticed that I could reuse this offer 4 times (just as long as I am still enrolled in my accredited university, which I am). So, after realizing that Spotify doesn't have a support number, but rather a bulletin board and more-or-less a system to send complaints to, here I am, posting, hoping that I can get reimbursed the money I was charged. Thanks,A very frustrated customer.

    Hello!
    The student discount  must be renewed each year.
    You need to first cancel your current Premium, and once you revert back to Free, you may resubscribe to the student discount.
    Now for the refund, you might want to contact support directly here so they can help you. Keep in mind they will decide your eligibility for the refund.
    If you receive an automated email telling you to check the help section or the community, you need to reply back to it, even if it's from a no-reply address.
    Support usually answers within 24-48 hours.
    Hope this helps! ♫

Maybe you are looking for

  • Import hangs for (very) large file

    Hi All, where importing a file that is converted to a single data column in the beffileimport script. So i have a flatfile with 250.000 rows but 4 data columns and i convert it to a file with 1.000.000 rows and 1 data column. In the inbox i can see t

  • Looking for some info before deciding to install

    Normally, I would try to some searching before posting, but I've been pressed for time lately. Anyways, I'm looking for some info about Solaris before deciding to dive into installing it. 1) Can it be installed on what's a currently triple-booting sy

  • System Landscape directory not available error,

    I am still a beginner, and I am having some slight trouble understanding, what tools would be needed, and how to install. I am using the forums. We have the MII Discovery Server up and running. NWDS Server installation is done. We have the MII track

  • Problem with the date conversion

    Hi Friends, i am facing the problem with the date conversion,  Actuall my requirement is to pass the date to the screen based on the user setting roles(SU01). I have fetched the user setting date format by using the funciton module SUSR_GET_USER_DEFA

  • How do I get back the shortcut to my gmail on the Fire Fox home page. It left when I installed updates

    When I updated Fire Fox recently, I lost the short cut to my gmail account that Fire Fox had created for me during a previous update. How do I get this short cut, which was located up near the URL box, back?