Auto launch program's

Anyone know the procedure for setting program's to auto launch when booting up?
I am using Plex which uses a server for the media interface, the issue is I don't have the mac always connected to the screen and keyboard as the kids destroy stuff so want to use apple remote.

System Preferences / System / Users & Groups
Select your User account and click the box for "Login Items". Click the + symbol to add an application.

Similar Messages

  • How to Cancel Auto Launching of Programs at PC Start Up

    After I have updated my OS to OSX, whenever I start my MacBook Pro, several programs auto launch themselves - Word, Excel, Powerpoint and event email programs.  How do I cancel this auto launch routine?

    Hi kimsyip,
    If you have applications automatically launching when you restart or log in to your Mac after a software update, you may want to check if you have any Login Items set up. You may find the following article helpful:
    OS X Mavericks: Open items automatically when you log in
    http://support.apple.com/kb/PH14173
    Regards,
    - Brenden

  • Since loading Lion - programs auto launch

    How do I stop programs from auto launching when booting up. I have each APP set to NOT OPEN at LOGON. I tried going to ACCOUNTS in System Preferences and it's gone.  I want to stop 5 programs from auto starting.
    Thanks

    Go to System Preferences and select the General tab. At the bottom of that page is a checkbox labeled “Restore windows when quitting and re-opening apps.” If you uncheck that, you should be good.
    Phil

  • Firefox does not auto launch when I click on a hyperlink in another program

    Firefox no longer auto launches when I click on a hyperlink in another program (ie in an email). It used to work and I have no idea when it stopped.

    Vista-64 home premium. When updated to Firefox 4, I also got this message. Fixed by reassociating htm type files to Firefox 4 (Control Panel, Programs, Set your default programs, restart Firefox). Works now.

  • Front Row auto launches on login

    Now why would that be? About 4-5 seconds after logging in my user, Leopard auto launches Front Row. Leopard is choosy in this regard, as it does not extend the same 'courtesy' for my wife's account or that of the sysadmin.
    Anyone else seen this oddity and got a way out of it?
    Cheers,
    Nige.

    Don't just uncheck the box next to the name of the program. Click on the program to select it, and then click on the - (minus) button below the list of programs to actually remove the program from your startup list.
    It doesn't remove the program from the computer, just the startup list for that account. I use the + button to add programs like AddressBook, Mail, and iCal to my user account so that they automatically launch when I log in. You are just trying to remove a program from that list totally.

  • Help, iTunes refuses to not auto launch when iPhone connected to computer

    Hi, anyone else have this obnoxious problem? I unchecked "auto syncing" and all of the possible disabling options in iTunes>Preferences. Another forum I visted mentioned disabling iTunes Helper. I am having a problem launching iTunes Helper because I did a search from the main Windows Start area (lower left of computer screen), and iTunes Helper does show up with a .exe extension showing it's an application. However, when I click on it, it just disappears. It's also not listed in "My Programs" or when I run "msconfig". Is finding iTunes Helper so I can disable it what I need here to keep iTunes from auto launching when the iPhone is connected, or is my solution in doing something else? I'm using iTunes 9.0.25 Any solid help here is much appreciated!

    I don't have an iPhone but I imagine it is probably similar to using an iPod. When I connect the iPod to the computer and it shows up in iTunes under devices, click on the device (iPhone), in the device screen that appears there is an options section that has a check-box "Open iTunes when this iPod is connected." Un-check it.

  • Itunes/iPhoto will not auto-launch on non-Admin account

    I have looked and looked and have not see this exact problem.
    Got my wife an iPhone for xmas, and we share an iMac, I have an admin account on the computer and she has a user account. We both share an iPhoto and iTunes Library via an external drive. So the problem come about when the phone is plugged in when her account is active, neither iphoto or iTunes will auto-launch however if my account is active and the iphone is plugged in they will launch.
    For some reason the programs only auto-launch in my account and not in hers and and I tried check and uncheck the auto-sync options in her accounts with no luck.
    I am not sure if this has anything to do with it, but we activated the phone using my Powerbook.
    Anyone have any bright ideas on this one...
    TIA

    Not much of a relief to you, but I too have the same problem and believe it has to do with iTunesHelper in the login items and an upgrade from Tiger to Leopard. I did some searches and found that iTunesHelper is not in the default login items of new Leopard accounts, but is for Tiger. Since I've upgraded to Leopard, I removed it from my login items and that is when I believe the auto-launch capability stopped. Unfortunately, iTunesHelper isn't a standard application anymore and is buried inside iTunes.
    There must be some difference between a new account on Leopard and an upgraded account from Tiger. I just want to remove the login item while keeping the auto-launch of iTunes.
    Message was edited by: cehoffman

  • How to disable auto-launch of firefox.

    firefox auto launches everytime I log in and when I close the program. how do i disable this feature?

    See also [[Firefox launches automatically when your computer starts]]

  • Auto-launch after wake

    At the end of my work day, I quit all applications and put my computer to sleep. I'd like certain applications to auto-launch when I wake the computer up the next day. Any suggestions?

    Nice idea!
    I'm not aware of anything in Mac OS directly that will respond to the machine waking from sleep, however there are a few things you could try.
    If you log out, you could add the items to your 'Login Items' and they'd start as soon as you log in.
    - OR -
    You could create an 'automator' task that launches all your favourite programs, you could save this as an App and put it somewhere easy to find, like on the desktop. You'd need to double click it, but that would be it.

  • How to stop Bridge from auto-launching

    I recently enabled a option to auto launch Bridge and I think I did it through inDesign CS5.
    Where do I stop Bridge from auto launching?
    Thank you for any help!
    Best,
    John

    You may find that it's not a 'Bridge' thing. I presume you are on a Mac... and have the lastest OS?
    When you do a hard shut down and then restart, any apps that were open will re-open.
    Also if you quit a program with something open. Quitting and restarting the program automatically opens what was previously open.
    I find that I have gotten into the habit of closing before quitting... quite annoying.
    I hope I didn't go off topic too much...

  • Photoshop Auto launch

    I set up auto launch for photoshop on task scheduler at 12 midnight. How to change the timing or how to stop the auto launch. I am unable to find the correct name of the program in the task scheduler. Please help me.

    Which operating system are you using?
    Which version of photoshop are you using?

  • Sales order line with status calcelled picked by auto invoice program

    I cancelled  one line in Sales Order and Shipped remaining lines
    after Ship Confirm process ,I ran workflow background process.
    I am getting cancelled line information to AR interface tables
    when I run Auto invoice amount is sitting in Unearned account
    The status of cancelled line -  Cancelled
    Flow status code is cancelled
    INVOICE_INTERFACE_STATUS_CODE I AM SEEING is YES for that line.
    Why the cancelled Sales order line is picked by auto invoice program?
    Thanks,
    John

    Hi Ivruksh,
    Thanks for the reply, the reference you gave was not actually related to the issue I had, let me put it this way,
    Our Auto Invoice Job is scheduled at midnight, it runs and process only few CM's, rest of them are left behind with out any error message in error tables. Al I can see in the ra_interface_lines_all table is interface_line_id is populated, which shows that the Auto Invoice program has picked all the records but it is processing only few, the rest are left out with out any error message.
    Interestingly, when I tried to run those stuck CM's Individual one by one its gets successfully processed.
    Is anyone faced with similar kind of issue, kindly let me know of any solutions you guys had.
    Thanks in advance.
    Regards
    Srinivas

  • How do I stop iTunes from auto-launching when connecting iPod.

    I have found one method of doing this set out below.
    You may want to stop iTunes from auto-launching whenever you plug in your iPod. To do this, open iTunes, and select the iPod in the left-hand Source window. Four buttons will then appear in the lower right-hand corner of the iTunes window. Click the left-most button with the iPod icon on it. This will bring up the iPod Preferences dialog. Uncheck the option labeled "Open iTunes when attached." You probably also want to prevent iTunes from trying to automatically synchronize your iPod when you connect by selecting the "Manually manage songs and playlists" option in the same Preferences dialog.
    I am unable to find the iPod icon in the left hand Source window, maybe if I connect my iPod an icon will appear, but I don't want to do this in case stuff is transferred between the iPod and Comp or vice versa.
    Sorry to be so long winded, but it was difficult to explain without being so.
    If any one knows of another way to do what I am trying to do
    Perhaps they would let me know.
    ASP   Windows XP Pro  

    okay. in a 7.0.x, we no longer get the "ipod options" icon when the ipod is plugged in and selected in the sourcelist (the area to the left of the iTunes screen). instead, the ipod options and preferences display for us in the main library screen.
    "Open iTunes when this ipod is connected" is kept down at the bottom of the "Summary" tab. (scroll down to the bottom of that tab to see everything under the "Options" heading.)
    "manually manage music" (or "manually manage music and videos" if you've got a video-capable ipod) is also kept down at the bottom of the "Summary" tab in the Options area.
    for a technique for connecting the ipod without automatically syncing (if you have an automatic syncing option set on the ipod already), and then changing the options to "manually manage music", see:
    How to keep iTunes from automatically updating your iPod
    unfortunately, that document is also written for itunes 6.0.x or earlier. so in your case the instructions under the "Now that you're logged in as the Guest user, it's time to get back to iTunes and your iPod:" section at steps 4, 5 and 6 should read:
    4. Scroll down to the bottom of the Summary Tab
    5. Check the "Manually manage music" checkbox.
    6. Click "Apply".

  • TS1717 iTunes will not auto-launch like it used to on Win7. Also cannot start in SAFE mode

    I've had this computer & this installation of iTunes for a very long time. It has always worked perfectly, and will auto-start every time I connect the iPhone. (my iPhone would light up and display the "Sync in Progress" message on its screen)
    The last few times I've connected it (same phone, same cord, same USB port, same comp., same install of Win7, no Library changes, no new components, no AntiVirus changes - nothing different) iTunes will NOT launch, and the Sync wil not take place.
    But...
    If -- after connecting the iPhone -- I manually launch iTunes, it proceeds normally thru the various steps except that the iPhone does NOT display any messages on its screen.  I've tried several times, and re-booted the comp several times.  I've also followed the Apple T/S steps and deleted the two config files & re-booted.  No difference.
    Yes - the preferences are set to allow the Sync when I plug in the iPhone.
    Yes - I am the only user.
    Yes - I am using a working cable...into a working USB port.
    No - I have no third party add-ons or extensions.
    One odd thing:
    On the many, many previous occasions that I've opened the list of Running Applications...iTunesHelper.exe has been opne of the various apps running on the computer.  Lately that app has vanished from the list, and...
    No - I have not un-checked it in the STARTUP list.

    Well...I was partially-blind.
    I had a second look at my MSCONFIG list...and 'waay down at the bottom was iTunesHelper...with its checkbox clear.  oops.
    I ticked it of course, and then manually launched iTunesHelper.exe and re-connected the iPhone.  iTunes auto-launched, and (as usual) it stepped thru the various stages like it's supposed to, but still no pop-up message on the iPhone screen.
    Now I'm wondering if that came to an end when I made the jump to the iPhone5 from iPhone4(?) because it certainly seems to be syncing alright...just no pop-up on the iPhone's screen.

  • Auto Invoice Program taking too much time : problem with update sql

    Hi ,
    Oracle db version 11.2.0.3
    Oracle EBS version : 12.1.3
    Though we have a SEV-1 SR with oracle we have not been able to find much success.
    We have an auto invoice program which runs many times in the day and its taking too much time since the begining . On troubleshooting we have found one query to be taking too much of the time and seek suggestion on how to tune it.  I am attaching the explain plan for the for same.  Its an update query. Please guide.
    Plan
    UPDATE STATEMENT  ALL_ROWSCost: 0  Bytes: 124  Cardinality: 1 
      50 UPDATE AR.RA_CUST_TRX_LINE_GL_DIST_ALL
      27 FILTER 
      26 HASH JOIN  Cost: 8,937,633  Bytes: 4,261,258,760  Cardinality: 34,364,990 
      24 VIEW VIEW SYS.VW_NSO_1 Cost: 8,618,413  Bytes: 446,744,870  Cardinality: 34,364,990 
      23 SORT UNIQUE  Cost: 8,618,413  Bytes: 4,042,339,978  Cardinality: 34,364,990 
      22 UNION-ALL 
      9 FILTER 
      8 SORT GROUP BY  Cost: 5,643,052  Bytes: 3,164,892,625  Cardinality: 25,319,141 
      7 HASH JOIN  Cost: 1,640,602  Bytes: 32,460,436,875  Cardinality: 259,683,495 
      1 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 154,993  Bytes: 402,499,500  Cardinality: 20,124,975 
      6 HASH JOIN  Cost: 853,567  Bytes: 22,544,143,440  Cardinality: 214,706,128 
      4 HASH JOIN  Cost: 536,708  Bytes: 2,357,000,550  Cardinality: 29,835,450 
      2 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 153,008  Bytes: 1,163,582,550  Cardinality: 29,835,450 
      3 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 307,314  Bytes: 1,193,526,000  Cardinality: 29,838,150 
      5 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_ALL Cost: 132,951  Bytes: 3,123,197,116  Cardinality: 120,122,966 
      21 FILTER 
      20 SORT GROUP BY  Cost: 2,975,360  Bytes: 877,447,353  Cardinality: 9,045,849 
      19 HASH JOIN  Cost: 998,323  Bytes: 17,548,946,769  Cardinality: 180,916,977 
      13 VIEW VIEW AR.index$_join$_027 Cost: 108,438  Bytes: 867,771,256  Cardinality: 78,888,296 
      12 HASH JOIN 
      10 INDEX RANGE SCAN INDEX AR.RA_CUSTOMER_TRX_N15 Cost: 58,206  Bytes: 867,771,256  Cardinality: 78,888,296 
      11 INDEX FAST FULL SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_U1 Cost: 62,322  Bytes: 867,771,256  Cardinality: 78,888,296 
      18 HASH JOIN  Cost: 748,497  Bytes: 3,281,713,302  Cardinality: 38,159,457 
      14 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 154,993  Bytes: 402,499,500  Cardinality: 20,124,975 
      17 HASH JOIN  Cost: 519,713  Bytes: 1,969,317,900  Cardinality: 29,838,150 
      15 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 302,822  Bytes: 716,115,600  Cardinality: 29,838,150 
      16 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 149,847  Bytes: 1,253,202,300  Cardinality: 29,838,150 
      25 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 157,552  Bytes: 5,158,998,615  Cardinality: 46,477,465 
      41 SORT GROUP BY  Bytes: 75  Cardinality: 1 
      40 FILTER 
      39 MERGE JOIN CARTESIAN  Cost: 11  Bytes: 75  Cardinality: 1 
      35 NESTED LOOPS  Cost: 8  Bytes: 50  Cardinality: 1 
      32 NESTED LOOPS  Cost: 5  Bytes: 30  Cardinality: 1 
      29 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 3  Bytes: 22  Cardinality: 1 
      28 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_LINES_U1 Cost: 2  Cardinality: 1 
      31 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUSTOMER_TRX_ALL Cost: 2  Bytes: 133,114,520  Cardinality: 16,639,315 
      30 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_U1 Cost: 1  Cardinality: 1 
      34 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 3  Bytes: 20  Cardinality: 1 
      33 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N6 Cost: 2  Cardinality: 1 
      38 BUFFER SORT  Cost: 9  Bytes: 25  Cardinality: 1 
      37 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 3  Bytes: 25  Cardinality: 1 
      36 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N1 Cost: 2  Cardinality: 1 
      49 SORT GROUP BY  Bytes: 48  Cardinality: 1 
      48 FILTER 
      47 NESTED LOOPS 
      45 NESTED LOOPS  Cost: 7  Bytes: 48  Cardinality: 1 
      43 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 4  Bytes: 20  Cardinality: 1 
      42 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N6 Cost: 3  Cardinality: 1 
      44 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N1 Cost: 2  Cardinality: 1 
      46 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 3  Bytes: 28  Cardinality: 1 
    As per oracle , they had suggested multiple patches but that has not been helpful. Please suggest how do i tune this query. I dont have much clue of query tuning.
    Regards

    Hi Paul, My bad. I am sorry I missed it.
    Query as below :
    UPDATE RA_CUST_TRX_LINE_GL_DIST LGD SET (AMOUNT, ACCTD_AMOUNT) = (SELECT /*+ index(rec1 RA_CUST_TRX_LINE_GL_DIST_N6) ordered */ NVL(LGD.AMOUNT, 0) - ( SUM(LGD2.AMOUNT) - ( DECODE(LGD.GL_DATE, REC1.GL_DATE, 1, 0) * CTL.EXTENDED_AMOUNT ) ), NVL(LGD.ACCTD_AMOUNT, 0) - ( SUM(LGD2.ACCTD_AMOUNT) - ( DECODE(LGD.GL_DATE, REC1.GL_DATE, 1, 0) * DECODE(:B2 , NULL, ROUND( CTL.EXTENDED_AMOUNT * NVL(CT.EXCHANGE_RATE,1), :B3 ), ROUND( ( CTL.EXTENDED_AMOUNT * NVL(CT.EXCHANGE_RATE,1) ) / :B2 ) * :B2 ) ) ) FROM RA_CUSTOMER_TRX_LINES CTL, RA_CUSTOMER_TRX CT, RA_CUST_TRX_LINE_GL_DIST LGD2, RA_CUST_TRX_LINE_GL_DIST REC1 WHERE CTL.CUSTOMER_TRX_LINE_ID = LGD2.CUSTOMER_TRX_LINE_ID AND CTL.CUSTOMER_TRX_ID = CT.CUSTOMER_TRX_ID AND LGD.CUSTOMER_TRX_LINE_ID = CTL.CUSTOMER_TRX_LINE_ID AND LGD2.ACCOUNT_SET_FLAG = 'N' AND REC1.CUSTOMER_TRX_ID = CT.CUSTOMER_TRX_ID AND REC1.ACCOUNT_CLASS = 'REC' AND REC1.LATEST_REC_FLAG = 'Y' AND NVL(LGD.GL_DATE, TO_DATE( 2415021, 'J') ) = NVL(LGD2.GL_DATE, TO_DATE( 2415021, 'J') ) GROUP BY CTL.CUSTOMER_TRX_LINE_ID, REC1.GL_DATE, CTL.EXTENDED_AMOUNT, CTL.REVENUE_AMOUNT, CT.EXCHANGE_RATE ), PERCENT = (SELECT /*+ index(rec2 RA_CUST_TRX_LINE_GL_DIST_N6) */ DECODE(LGD.ACCOUNT_CLASS || LGD.ACCOUNT_SET_FLAG, 'SUSPENSEN', LGD.PERCENT, 'UNBILLN', LGD.PERCENT, 'UNEARNN', LGD.PERCENT, NVL(LGD.PERCENT, 0) - ( SUM(NVL(LGD4.PERCENT, 0)) - DECODE(REC2.GL_DATE, NVL(LGD.GL_DATE, REC2.GL_DATE), 100, 0) ) ) FROM RA_CUST_TRX_LINE_GL_DIST LGD4, RA_CUST_TRX_LINE_GL_DIST REC2 WHERE LGD.CUSTOMER_TRX_LINE_ID = LGD4.CUSTOMER_TRX_LINE_ID AND REC2.CUSTOMER_TRX_ID = LGD.CUSTOMER_TRX_ID AND REC2.CUSTOMER_TRX_ID = LGD4.CUSTOMER_TRX_ID AND REC2.ACCOUNT_CLASS = 'REC' AND REC2.LATEST_REC_FLAG = 'Y' AND LGD4.ACCOUNT_SET_FLAG = LGD.ACCOUNT_SET_FLAG AND DECODE(LGD4.ACCOUNT_SET_FLAG, 'Y', LGD4.ACCOUNT_CLASS, LGD.ACCOUNT_CLASS) = LGD.ACCOUNT_CLASS AND NVL(LGD.GL_DATE, TO_DATE( 2415021, 'J') ) = NVL(LGD4.GL_DATE, TO_DATE( 2415021, 'J') ) GROUP BY REC2.GL_DATE, LGD.GL_DATE ), LAST_UPDATED_BY = :B1 , LAST_UPDATE_DATE = SYSDATE WHERE CUST_TRX_LINE_GL_DIST_ID IN (SELECT /*+ index(rec3 RA_CUST_TRX_LINE_GL_DIST_N6) */ MIN(DECODE(LGD3.GL_POSTED_DATE, NULL, LGD3.CUST_TRX_LINE_GL_DIST_ID, NULL) ) FROM RA_CUSTOMER_TRX_LINES CTL, RA_CUSTOMER_TRX T, RA_CUST_TRX_LINE_GL_DIST LGD3, RA_CUST_TRX_LINE_GL_DIST REC3 WHERE T.REQUEST_ID = :B5 AND T.CUSTOMER_TRX_ID = CTL.CUSTOMER_TRX_ID AND (CTL.LINE_TYPE IN ( 'TAX','FREIGHT','CHARGES','SUSPENSE' ) OR (CTL.LINE_TYPE = 'LINE' AND CTL.ACCOUNTING_RULE_ID IS NULL )) AND LGD3.CUSTOMER_TRX_LINE_ID = CTL.CUSTOMER_TRX_LINE_ID AND LGD3.ACCOUNT_SET_FLAG = 'N' AND REC3.CUSTOMER_TRX_ID = T.CUSTOMER_TRX_ID AND REC3.ACCOUNT_CLASS = 'REC' AND REC3.LATEST_REC_FLAG = 'Y' AND NVL(T.PREVIOUS_CUSTOMER_TRX_ID, -1) = DECODE(:B4 , 'INV', -1, 'REGULAR_CM', T.PREVIOUS_CUSTOMER_TRX_ID, NVL(T.PREVIOUS_CUSTOMER_TRX_ID, -1) ) GROUP BY CTL.CUSTOMER_TRX_LINE_ID, LGD3.GL_DATE, REC3.GL_DATE, CTL.EXTENDED_AMOUNT, CTL.REVENUE_AMOUNT, T.EXCHANGE_RATE HAVING ( SUM(NVL(LGD3.AMOUNT, 0)) <> CTL.EXTENDED_AMOUNT * DECODE(LGD3.GL_DATE, REC3.GL_DATE, 1, 0) OR SUM(NVL(LGD3.ACCTD_AMOUNT, 0)) <> DECODE(LGD3.GL_DATE, REC3.GL_DATE, 1, 0) * DECODE(:B2 , NULL, ROUND( CTL.EXTENDED_AMOUNT * NVL(T.EXCHANGE_RATE,1), :B3 ), ROUND( ( CTL.EXTENDED_AMOUNT * NVL(T.EXCHANGE_RATE,1) ) / :B2 ) * :B2 ) ) UNION SELECT /*+ index(rec5 RA_CUST_TRX_LINE_GL_DIST_N6) INDEX (lgd5 ra_cust_trx_line_gl_dist_n6) index(ctl2 ra_customer_trx_lines_u1) */ TO_NUMBER( MIN(DECODE(LGD5.GL_POSTED_DATE||LGD5.ACCOUNT_CLASS|| LGD5.ACCOUNT_SET_FLAG, 'REVN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'REVY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'TAXN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'TAXY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'FREIGHTN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'FREIGHTY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'CHARGESN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'CHARGESY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'UNEARNY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'UNBILLY', LGD5.CUST_TRX_LINE_GL_DIST_ID, NULL ) ) ) FROM RA_CUST_TRX_LINE_GL_DIST LGD5, RA_CUST_TRX_LINE_GL_DIST REC5, RA_CUSTOMER_TRX_LINES CTL2, RA_CUSTOMER_TRX T WHERE T.REQUEST_ID = :B5 AND T.CUSTOMER_TRX_ID = REC5.CUSTOMER_TRX_ID AND CTL2.CUSTOMER_TRX_LINE_ID = LGD5.CUSTOMER_TRX_LINE_ID AND REC5.CUSTOMER_TRX_ID = LGD5.CUSTOMER_TRX_ID AND REC5.ACCOUNT_CLASS = 'REC' AND REC5.LATEST_REC_FLAG = 'Y' AND (CTL2.LINE_TYPE IN ( 'TAX','FREIGHT','CHARGES','SUSPENSE') OR (CTL2.LINE_TYPE = 'LINE' AND (CTL2.ACCOUNTING_RULE_ID IS NULL OR LGD5.ACCOUNT_SET_FLAG = 'Y' ))) GROUP BY LGD5.CUSTOMER_TRX_LINE_ID, LGD5.GL_DATE, REC5.GL_DATE, LGD5.ACCOUNT_SET_FLAG, DECODE(LGD5.ACCOUNT_SET_FLAG, 'N', NULL, LGD5.ACCOUNT_CLASS) HAVING SUM(NVL(LGD5.PERCENT, 0)) <> DECODE( NVL(LGD5.GL_DATE, REC5.GL_DATE), REC5.GL_DATE, 100, 0) )
    I understand that this could be a seeded query but my attempt is to tune it.
    Regards

Maybe you are looking for