Getting message :Can not implement column link for this detailed query.converting to group query.

Hi Team,
I have build two query report.
Q1 qury:
SELECT   hp.party_name "CUSTOMER_NAME",
         hl.address1,
         hl.address2,
         hl.address3,
         hl.city,
         hl.state,
         hl.postal_code,
         hca.account_number "CUSTOMER_CODE",
         aps.cash_receipt_id,
         hcsu.LOCATION "LOCATION",                                                                                                 -- Added by Kanchan
         rct.trx_number "INVOICE_NUMBER",
         --ar.receipt_number,
         HOU.Name "Company Name",
         rbs.NAME "SOURCE_NAME",
         aps.GL_DATE "GL DATE",
         rct.trx_date "INVOICE_DATE",
         --SUBSTR(TRUNC(rct.trx_date),4) "INVOICE_PERIOD",
         rct.term_due_date "DUE_DATE",
         arc.NAME "COLLECTOR_NAME",
         rctl.line_number "SR_NO",
         DECODE (rctl.memo_line_id, NULL, rctt.description, decode( rctt.description, arml.description, rctt.description , rctt.description || ' ' || CHR (10) || arml.description))  "DESCRIPTION",
          rctl.uom_code "UNIT_OF_MEASURE",
         rctl.quantity_invoiced "QUANTITY",
         rctl.unit_selling_price "UNIT_RATE",
         ROUND (rctl.extended_amount) "AMOUNT",
         arn.text "COMMENTS",
         rct.customer_trx_id "TRX_ID",
         rct.org_id "ORG_ID",
         rct.INVOICE_CURRENCY_CODE,
         hca.cust_account_id "CUSTOMER_ID"
    FROM ra_customer_trx_all rct,
         ra_cust_trx_types_all rctt,
         ar_payment_schedules_all aps,
--         ar_receivable_applications_all acra,
--         ar_cash_receipts_all ar,
         ra_batch_sources_all rbs,
         hz_cust_site_uses_all hcsu,
         hz_cust_acct_sites_all hcas,
         hz_party_sites hps,
         hz_cust_accounts hca,
         hr_all_organization_units HOU,
         hz_parties hp,
         hz_locations hl,
         ra_customer_trx_lines_all rctl,
         ar_memo_lines_all_tl arml,
         hz_customer_profiles hcp,
         ar_collectors arc,
         ar_notes arn
   WHERE rct.cust_trx_type_id = rctt.cust_trx_type_id
     AND rctt.TYPE = 'INV'
     AND rct.complete_flag = 'Y'
     AND rct.batch_source_id = rbs.batch_source_id
--     AND acra.cash_receipt_id = ar.cash_receipt_id
--     and acra.applied_customer_trx_id = rct.customer_trx_id
     AND rct.org_id = rbs.org_id
     and hou.organization_id=rct.LEGAL_ENTITY_ID
     AND rct.bill_to_customer_id = hca.cust_account_id
     AND aps.customer_trx_id = rct.customer_trx_id
     AND hca.party_id = hp.party_id
     AND rct.bill_to_site_use_id = hcsu.site_use_id
     AND rct.org_id = hcsu.org_id
     AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id
     AND hcsu.org_id = hcas.org_id
     AND hcas.party_site_id = hps.party_site_id
     AND hps.location_id = hl.location_id
     AND rct.customer_trx_id = rctl.customer_trx_id
     AND rct.org_id = rctt.org_id
     AND rctt.org_id = rctl.org_id
     AND rctl.memo_line_id = arml.memo_line_id(+)
     AND rctl.line_type = 'LINE'
     AND rct.bill_to_site_use_id = hcp.site_use_id(+)
     AND hcp.collector_id = arc.collector_id(+)
     AND rct.customer_trx_id = arn.customer_trx_id(+)
     AND Nvl(arn.note_id,0) = Nvl((SELECT MAX (note_id)
                          FROM ar_notes arnt
                         WHERE arnt.customer_trx_id = rct.customer_trx_id),0)
     AND rct.org_id                 = :p_org_id
  --AND rct.batch_source_id = :p_batch_src_id
AND TRUNC(aps.gl_date)  BETWEEN TRUNC(:p_trx_date_low)  AND TRUNC(:p_trx_date_high)
--AND ar.receipt_number='660754'
  --and hca.cust_account_id=937288
and hca.cust_account_id=5436   --291784      ----5637 --5436
-- and rct.trx_number= 15762455 --15195934   --15044822
-- AND hca.account_number ='NDDGSP035'    
&LP_TRX_NO
&LP_CUST_NO
ORDER BY hca.account_number,
         rct.trx_date,
         rctl.line_number
and Q2 query :
select  customer_id,
        NVL(receipt_amount+receipt_amount2,0)Payment
   from
SELECT   distinct hca.cust_account_id "CUSTOMER_ID" ,
                        (SELECT DISTINCT
                        --e.customer_id CUST_ID,
                        SUM((a.amount) * NVL (a.exchange_rate, 1)) Receipt_Amount
                        FROM ar_cash_receipts_all a,
                        ar_cash_receipt_history_all b,
                        ar_receipt_classes d,
                        ar_customers e,
                        hz_party_sites hzps,
                        xx_ar_addresses_v g,
                        hz_cust_acct_sites_all h,
                        hz_cust_site_uses_all f,
                        hr_organization_units_v i
                        WHERE b.cash_receipt_id = a.cash_receipt_id
                        AND a.org_id = i.organization_id
                        AND a.receipt_method_id = d.receipt_class_id
                        AND e.customer_id=g.customer_id
                        AND hzps.party_site_id = h.party_site_id
                        AND h.party_site_id = g.party_site_id
                        AND f.site_use_code = 'BILL_TO'
                        AND f.cust_acct_site_id = h.cust_acct_site_id
                        AND g.language_description = 'American English'
                        AND b.first_posted_record_flag = ('Y')
                        --and e.customer_id=937288
                        and e.customer_id= hca.cust_account_id --5436 --291784  --5436
                        AND f.site_use_id = a.customer_site_use_id
                        AND E.CUSTOMER_ID = A.PAY_FROM_CUSTOMER          ---- ADDED
                         AND TRUNC (b.gl_date) BETWEEN TRUNC(:p_trx_date_low)  AND TRUNC(:p_trx_date_high)
                        AND a.org_id = :p_org_id) Receipt_amount,
                        ( SELECT
                        distinct --e.customer_id CUST_ID,                --SMAN_10OCT2013_Added distinct_Requested by Biju
                        SUM((-1 * a.amount) * NVL (a.exchange_rate, 1)) Receipt_AMOUNT
                        FROM ar_cash_receipts_all a,
                        ar_cash_receipt_history_all b,
                        ar_receipt_classes d,
                        xx_ar_addresses_v g,
                        ar_customers e,
                        hz_party_sites hzps,
                        hz_cust_acct_sites_all h,
                        hz_cust_site_uses_all f,
                        hr_organization_units_v i
                        WHERE b.cash_receipt_id = a.cash_receipt_id
                        AND a.org_id = i.organization_id
                        AND a.receipt_method_id = d.receipt_class_id
                        AND e.customer_id=g.customer_id
                        AND hzps.party_site_id = h.party_site_id
                        AND h.party_site_id = g.party_site_id
                        AND f.site_use_code = 'BILL_TO'
                        AND f.cust_acct_site_id = h.cust_acct_site_id
                        AND g.language_description = 'American English'
                        AND a.status IN ('NSF', 'REV', 'STOP')
                        AND a.reversal_date IS NOT NULL
                        AND b.status = 'REVERSED'
                        AND E.CUSTOMER_ID = A.PAY_FROM_CUSTOMER          ---- ADDED
                        AND f.site_use_id = a.customer_site_use_id
                        --and e.customer_id=937288
                        AND e.customer_id= hca.cust_account_id --5436 --291784 --
                        AND TRUNC (b.gl_date) BETWEEN TRUNC(:p_trx_date_low)  AND TRUNC(:p_trx_date_high)
                        AND a.org_id = :p_org_id
                        ) receipt_amount2
               FROM ra_customer_trx_all rct,
         ra_cust_trx_types_all rctt,
         ar_payment_schedules_all aps,
         ra_batch_sources_all rbs,
         hz_cust_site_uses_all hcsu,
         hz_cust_acct_sites_all hcas,
         hz_party_sites hps,
         hz_cust_accounts hca,
         hr_all_organization_units HOU,
         hz_parties hp,
         hz_locations hl,
         ra_customer_trx_lines_all rctl,
         ar_memo_lines_all_tl arml,
         hz_customer_profiles hcp,
         ar_collectors arc,
         ar_notes arn
   WHERE rct.cust_trx_type_id = rctt.cust_trx_type_id
     AND rctt.TYPE = 'INV'
     AND rct.complete_flag = 'Y'
     AND rct.batch_source_id = rbs.batch_source_id
     AND rct.org_id = rbs.org_id
     and hou.organization_id=rct.LEGAL_ENTITY_ID
     AND rct.bill_to_customer_id = hca.cust_account_id
     AND aps.customer_trx_id = rct.customer_trx_id
     AND hca.party_id = hp.party_id
     AND rct.bill_to_site_use_id = hcsu.site_use_id
     AND rct.org_id = hcsu.org_id
     AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id
     AND hcsu.org_id = hcas.org_id
     AND hcas.party_site_id = hps.party_site_id
     AND hps.location_id = hl.location_id
     AND rct.customer_trx_id = rctl.customer_trx_id
     AND rct.org_id = rctt.org_id
     AND rctt.org_id = rctl.org_id
     AND rctl.memo_line_id = arml.memo_line_id(+)
     AND rctl.line_type = 'LINE'
     AND rct.bill_to_site_use_id = hcp.site_use_id(+)
     AND hcp.collector_id = arc.collector_id(+)
     --and hca.cust_account_id=5436 --291741--5436
     AND rct.customer_trx_id = arn.customer_trx_id(+)
     AND Nvl(arn.note_id,0) = Nvl((SELECT MAX (note_id)
                          FROM ar_notes arnt
                         WHERE arnt.customer_trx_id = rct.customer_trx_id),0)
     AND rct.org_id                 = :p_org_id
AND TRUNC(aps.gl_date)  BETWEEN TRUNC(:p_trx_date_low)  AND TRUNC(:p_trx_date_high)
So here i am linking Q1 query with Q2 by Customer_ID data link. But after doing the same , i am getting message. Moreover, when i am running my report , my q2 query runs for all customer_id , which i already hardcoded in  Q1 query.
Please help on this issue.
Regards
Sachin

Dear Siva,
Can yoiu please run this code in sql directly , and paste here the results?
You please try as below syntax
SELECT SYSDATE,
CASE
WHEN TO_CHAR (SYSDATE, 'DAY') = 'MONDAY' THEN 'IT IS MONDAY'
WHEN TO_CHAR (SYSDATE, 'DAY') = 'TUESDAY' THEN 'IT IS TUESDAY'
END
FROM DUAL
Edited by: O.Developer on Jan 7, 2013 8:54 AM

Similar Messages

  • Getting message: can not connect to iTunes store

    Getting a message when I try to log in to iTunes or app store.  Getting message can not connect to iTunes store.

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • I formatted my macbookpro and followed the usual instructions to re-install but I get a message : Could not find installation information for this machine. This was at the OS X Utilities.My macbook is now blank.

    I formatted my macbookpro and followed the usual instructions to re-install but I get a message : Could not find installation information for this machine. This was at the OS X Utilities.My macbook is now blank.

    Try booting into Internet Recovery mode (booting whilst holding down the command, option and R keys). It will take a while to load as you're booting from Apple's servers across the Internet.
    Once there, use Disk Utility to erase the "Macintosh HD" partition. After the drive is formatted try reinstalling the OS.
    Good luck,
    Clinton

  • I am a student who subscribed to the 9.99 photography package, I didn't realize there was a discount for students.  I would like to upgrade to the full package with the student discount.  I can not find the option for this. How do I do this?

    I am a student who subscribed to the 9.99 photography package, I didn't realize there was a discount for students.  I would like to upgrade to the full package with the student discount.  I can not find the option for this. How do I do this?

    Hi Djmontanalv,
    Please go through the link below.
    http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
    Regards,
    Anand

  • Can not find installation information for this machine

    i keep getting the following message: could not find installation information for this machine contact apple care? Pleaes help anyone.

    The following previous discussion may help. Several of the posts mention internet connection related issues. https://discussions.apple.com/message/21501061#21501061

  • When I use 32 bit version I easily find plugins but for Nighty 64 bit I can not find some plugin for this browser what can i do I don't want to return back to 32 bit please advice

    When I use 32 bit version of Mozilla I easily find plugins but for Nighty 64 bit I can not find some plugin for this browser what can i do
    I don't want to return back to 32 bit I love Nighty 64 bit and I'm satisfied with performance
    what can I do please advice ?

    Many plugin vendors haven't updated their plugins to work with x64, or you have to download a special x64 version (Flash and Java for example). Which plugins is it that you are having problems with?

  • Getting message Can not connect to iTunes Store when updating apps

    I'm getting the message can not connect to iTunes Store when trying to update apps. I have tried troubleshooting in every way possible. Help please

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Can not be installed link for windows7 64bit

    Can not be installed link, I installed the first version, but later found that there are updates, updated the next update is unsuccessful, I deleted deleted unsuccessful, myself manually deleted.Download The latest version 101_b015_multilanguage, installation to the end is unsuccessful, the rollback operation.How to do.
    windows 7 64bit
    Anti-virus software are closed.
    In the end you want to delete which files can be installed successfully ah.
    Remove the following keys:
    HKEY_LOCAL_MACHINE/Software/Research In Motion/
    HKEY_CURRENT_USER/Software/Research In Motion/
    Remove the following folders:
    C:\Program Files\Research In Motion
    C:\Program Files\Common Files\Research In Motion
    C:\Documents and Settings\%Username%\Application Data\Research In Motion
    Delete these can not be a successful installation ah.
    Reinstall this every time
    rolling back action
    Installshield wizard completed
    the wiard was interrupted before blackberry link could be completely installed.)

    You are not the only one facing this issue. Please see this thread: http://supportforums.blackberry.com/t5/BlackBerry-​Link/Cannot-install-BlackBerry-Link-on-a-Windows-7​....

  • DESPERATE FOR HELP since downloading a separate outlook (from fast hosts) as addition to office mac 11 I can no longer access any Microsoft aps or documents including outlook - error messages 'can not change to identity for outlook'

    I had office 2011 installed on my computer without outlook - been working fine.
    I was given a trial of outlook decided against it at time due to cost - however my server provider fasthost have been offering outlook for free with a busines mail package. Trying to install it wouldn't due to the trail versions - so they gave me a step by step guide to remove outlook files.
    Once i completed this the new outlook worked fine for 24 hours - however then we noticed all of our office programmes had been removed aka can not access any data and we are a management consultancy. Then fasthost recommended we reinstall out orginal office CD which I did and then all of sudden when download was completed everything now is inaccessable.
    When I open outlook the message relays ' can not change to that idenity' I have tried to set up a new idenity and change permissions and even rebuilding it as per on line guides but when rebuilding it fails at the first step
    Rest of office IE WORD, EXCEL I just get microsforft has encountered a problem and needs to close unexpectidly everytime I try and click into it.
    I am now despirate as this is the second day we have had no access to anything and 6 day we have had no access to our documents \
    FASTSHOST do everything via email and no incoming phone line (which they will give anyway) so I really need help
    Any options advice greatly recieved
    I am also using the most recent software and have been doing regular software updates OS X Lion.

    I, too am wondering if it's the download site. I am not aware of any way to download Outlook Mac 2011 alone from any site including Microsoft's.
    It is common for unscrupulous sites to offer desirable but pirated software for a modest price, but serve it up with a dose malware. They get you money, possible a credit card number, your e-mail, your IP address, and all you get is pain.
    There was an "Outlook Express" for Mac that was freely distrubuted but I'll pretty sure that it never ran natively under OSX. The first OSX native version fo Office:Mac was Office X, and it introduced Entourage as the Mac mail client.
    IF Fast Hosts is your ISP, I'd certainly talk to them to figure out what you downloaded.

  • Need Help with boot camp install, keep getting message can not install need

    Hi Folks,
    I keep getting a message that the boot camp assistant can not install needs firmware update. All updates are currently installed. I have tried all available updates and hey ell me the computer doesn't need them????
    Any help that you may provide is greatly appreciated.
    Jack
    P.S. The computer is an Imac early 2006 1.83 gb.
    Machine Name: iMac
    Machine Model: iMac4,1
    CPU Type: Intel Core Duo
    Number Of Cores: 2
    CPU Speed: 1.83 GHz
    L2 Cache (shared): 2 MB
    Memory: 1 GB
    Bus Speed: 667 MHz
    Boot ROM Version: IM41.0039.B00
    Serial Number: W86220MSU2N
    SMC Version: 1.1f5

    You do not have the firmware update installed. You only have the SMC firmware update. Boot Camp requires this firmware update.

  • Cannot sync, error message reads" not enough access privileges for this operation

    When trying to sync my ipad and iphone with my PC i get this error message "Cannot be sybced. You do not have enough access privileges for this operation". I have a new PC but i have successfully synced these devices before. can anybody please help ?

    Just thought I'd put out an update on my problem. It has been solved. I spoke to a tech at Apple at 1-800-275-2279. She had me try a few things that didn't help. Her last suggestion was to uninstall QuickTime and iTunes then reload. She sent me the uninstall instructions at http://www.info.apple.com/kbnum/n93698 which I followed. When speaking to her I told her I was afraid to do this because I saw other people on the discussion board who tried this and lost all of their music. She assured me that that wouldn't happen. I did the uninstall then the install. (Just a note here, I also read on the message board that someone said that to cure this problem you should do the install then open up QuickTime before opening iTunes. I did this also but don't really know if it made a difference.
    Bottom line is I uninstalled QuickTime and itunes per the instructions at the site shown above. I then installed both again from www.apple.com/itunes/download. After the download I ran the install and unchecked the box to let itunes start after the install. I then opened Quicktime then closed it. I then opened iTunes and all of my music was there and I didn't get the anoying "iTunes is not set as the default player" and the error after trying to set it. The problem described in my first posting of copying CD's is also gone. So beleive it or not, EVERYTHING is working just like it should. Some of the above steps might not be required but I would follow them step by step because I know they worked for me.

  • Publishing iCal: getting error "is not a valid location for this request"

    I am trying to publish an iCal calendar to my own website via my iSP. My isp says they are already WebDAV so I don't need to turn it on. I have also gone over my url with them repeatedly to make sure I am entering it correctly. And still, I am getting an error that publish failed because it is not a valid location for the request.
    Any advice welcome...

    Ignore this question. My webhost who has insisted for the past 45 minutes they ARE WebDAV enabled, actually aren't!

  • After my first questio: can not find the link for free download firefox 6. You answered and I used the link you send. nr 5 was downloaded but it did not work on a minimac it said the version of the mac does not allow it. What to do use the 3.6

    The upgrade notification did not give a free download icon so I asked you and you replyed with an email with a link. I went to the page and could happily download nr 5 instead of 6 but well.
    Now firefox gives still the notification to upgrade and what i downloaded does not work on my mac with safari.
    So can i savely stay with 3.6 ?

    You can't use Firefox 4 on Mac OS X 10.4, on on 10.5 you need the Intel chip.
    It would be easier if you replied to your original question, so someone can see what you are talking about. There are a lot of questions asked even in a single day so we can't see what that was easily. If you need to redownload 3.6.17 then
    http://www.mozilla.com/en-US/firefox/all-older.html
    I tried a search on your name and that didn't work, but you could possibly have found your previous post via the "My contributions" link at the top of
    https://support.mozilla.com/questions
    I doubt that Firefox 5 or 6 would be any different, once support is dropped for hardware or operating system it stays dropped, you need to stay with version 3.

  • I can not find my cd for this printer and wanted to know how to get another cd to update new laptop

    How can I get a new CD for my printer HPc309g?  Can it be mailed to me?

    You can download and install the latest software for your printer from the "Support & Drivers" link at the top of this page.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • HT1238 ipor shuffle will not reset. error message: do not have enough access for this operation. Tried ipod shuffle reset utility, error message: intended for 32 bit windows version. This 4th gen ipod shuffle is junk.

    why cant this reset?

    That old "Reset Utility" is ONLY for the 1st and 2nd gen iPod shuffle, which had some issues that prevented using the standard Restore in iTunes, so Apple release that utility.  It was released when Windows XP was the latest version of Window; it does not work with Windows 7.   But it would not help you if your shuffle is 4th gen.
    When you say "reset," are you trying to do a Restore on the shuffle in iTunes, from the shuffle's Summary tab?  When does that error message appear, exactly?

Maybe you are looking for

  • Upload of Purchase orders, Vendors, PIRs

    Hi Gurus, 1)I want to upload list of vendors, materials which are in Excel sheet. How will I upload in SAP? If I use LSMW tool, how will make the file format? A step by step explaination of uploading will be really helpful. 2) How will I move POs, Pu

  • XML Editor Frame Work

    Hi , PLZ tell me any one regarding XML editor frame work . I saw the one blog in sdn but it is not help full . Points will be revert back. Thanks, Sumanth

  • W520 is not recognizing 5GHz wireless channel

    Recently I purchased E4200 wireless router. I have enabled both 2.4 and 5 GHz channel with different SSID. Both are recognized by a 3 year old W500 laptop with 32 bit windows XP. But the 5 GHz channel is not recognized in my new (4 month old) W520 Wi

  • Submit for prog type F

    how can i make submit to ptogram type F.

  • Updated to new iTunes cat. added art work, episodes vanished today.

    Hi, I've had my podcast listed for about a month now in iTunes and had about 6 or 7 episodes up. Everything was fine when I looked yesterday. This morning I updated to the new iTunes catagories and added art work via the "smart feeds" feature in feed