Current date parameter in concurrent program is not not taking current date

Hi All,
I have scheduled one concurrent request running very day @21:30 ,one of the parameter passed is current date ,which defined as default value at the time of defining concurrent program.Surprisingly its taking next day date as parameter.Can someone help me resolving this issue.
From where this current date is taken.
When I am logged in unix as oracle user and executing following query I am getting follwoing results
SQL> alter session set nls_date_format='MM/DD/YYYY HH24:MI:SS';
Session altered.
SQL> select current_date from dual;
CURRENT_DATE
05/25/2010 07:40:11
SQL> select sysdate from dual;
SYSDATE
05/25/2010 07:40:20
date
Tue May 25 07:40:35 SAUST 2010
When I logged in unix as applmgr user:
SQL> select current_date from dual;
CURRENT_DATE
05/25/2010 04:41:17
SQL> select sysdate from dual;
SYSDATE
05/25/2010 07:41:19
date
Tue May 25 07:41:04 SAUST 2010
Unix level date is correct and sysdate is also correct in both cases.
But current_date when logged in s applmgr user is wrong,is this reason for the issue.
If so how can I change it
Version : 11.5.10.2
Database : 10.2.0.4
OS : AIX 5.3
Thanks in advance

Hi;
Please check below and see its helpful:
Scheduled Request Set Using 'Current Date' In Parameters Will Set Parameters One Day Out [ID 242654.1]
The parameter Argument 2 (GL DATE) does not select the Current Date when schedule [ID 250431.1]
Regard
Helios

Similar Messages

  • To find last run date of custom concurrent program in oracle apps

    Hello Exports,
    Can you pls tell me how to find last run date of custom concurrent program in oracle apps.( thr Backend query )
    Thanks in advance,
    Edited by: 981527 on Mar 7, 2013 3:01 AM

    try the below:
    select fcp.user_concurrent_program_name
    ,fcr.request_date
    ,fu.user_name
    ,fcr.actual_start_date
    ,fcr.actual_completion_date
    ,fcr.phase_code
    ,fcr.status_code
    ,fcr.argument1
    ,fcr.argument2
    ,fcr.argument3
    from fnd_concurrent_programs_vl fcp
    ,fnd_concurrent_requests fcr
    ,fnd_user fu
    where fcp.user_concurrent_program_name like 'Payroll Run'
    and fcp.concurrent_program_id = fcr.concurrent_program_id
    and fcr.requested_by = fu.user_id
    order by fcr.actual_completion_date desc

  • Selected Lov Value as Parameter to Concurrent Program in oaf

    Hi,
    iam new to OAF ,Can any one please help me how to pass selected lov value as a parameter to the Concurrent program in oaf.
    i created one lov in oaf page after selecting value in lov i want that value to be passed as parameter to concurrent program.
    Please help me how to implemet code so that Lov will pass as parameter to the concurent program in Controller.

    Check these links. You need to get the value from the LOV to a variable, add it to the vector and pass to the conc program. Below link provides the details on concurrent program submission.
    http://prasanna-adf.blogspot.com/2008/11/call-concurrent-program-from-oa.html
    For fetching LOV values, check the Dev Guide
    Thanks
    Shree

  • In SQL Loader based Concurrent Program, how to get the current request id

    Hi All,
    I am trying the following control file.
    OPTIONS ( SKIP = 1 , ERRORS = 0 )
    LOAD DATA
    INFILE *
    REPLACE INTO TABLE XXPA_ASSET_TRANS_INTERFACE
    FIELDS TERMINATED by ',' OPTIONALLY ENCLOSED BY'"'
    TRAILING NULLCOLS
         Project_Number
         ,Asset_Name
         ,Location_Country Constant USA
         ,request_id CHAR "fnd_global.conc_request_id"
    in request id column I am getting -1 ...
    Please lt me know how can i get the current request id in the request_id field.
    Thanks

    Hi
    To my knowledge, this can't be achieved with SQL*Loader concurrent programs. Depending on what You are using the request id, the options provided may be useful.
    I had a similar issue, requiring the use of user_id and login_id for who columns, and the solution applied was:
    - Define a template for the control file, with place holders for the additional info:
    user_id constant "x_user_id"
    - Create a shell to receive the additional info as parameters, and use sed to change the template file to generate the control file, using the parameter to replace placeholders.
    Create a request set to launch the shell concurrent program and then the sql loader program, whose control file now has the additional information required.
    Caution when more than one middle tier node is used.

  • How to pass data from a C++ program to LV to plot the data real time?

    Hello,
    I am writing a C++ program in which I need to plot the data in real
    time. I would like to pass data from my C++ program to LabView in order
    to perfrom the plotting. I was wondering if this is possible. If so,
    how can it be done? .
    Thank You

    There are several C++ examples and application notes here.

  • How to register varray datatype input parameter in concurrent program

    Hi All,
    I had a code contains varray datatype input parameter... Now i need to register this in concurret program screen.. which datatype i need to select?... i can able to see only number and character data type in value set.
    Thanks

    As mentioned, the Concurrent progrm APIs are just wrappers and the datatypes are limited. Now, how many items you expect to have in the array as a maximum? You could use the same wrapper concept to collect the array values individually (up to 100) and then just load them to an array to be passed to your stored procedure. Just have an overloaded version with values1..valuesn that is only used as the entry point and then load the values to the structure needed by the program unit containing your logic. There is a limit of 100 parameters, though.

  • How to accept date parameter from java if SP have the datatype as DATE

    Dear Gurus,
    I have written SP as below
    CREATE OR REPLACE PROCEDURE proc1
    No NUMBER,
    StartDate DATE,
    EndDate DATE
    AS
    BEGIN
    DBMS_OUTPUT.PUT_LINE('Start Date ='||to_char(StartDate,'YYYY-MM-DD HH24:MI:SS'));
    DBMS_OUTPUT.PUT_LINE('Start Date ='||to_char(EndDate,'YYYY-MM-DD HH24:MI:SS'));
    END;
    If I want to pass date from java code to above SP. Then how to send Date to SP from Java code.
    Means if I print that date in SP then it should be print as it is what i sent from java.
    e.g. Start Date = 2008-02-01 00:00:00
    End Date = 2008-02-01 23:59:59
    Could any one help me in above issue.
    Regards
    Sanjeev Atvankar

    Yes, because there is no default date format in oracle for date value having time part.
    Suppose your agreed date format between java and pl/sql is DDMMYYYYHH24MISS.
    You create procedure as:
    CREATE OR REPLACE PROCEDURE proc1
    No NUMBER,
    StartDate VARCHAR2,
    EndDate VARCHAR2,
    AS
      v_start_date date := to_date(startdate,'DDMMYYYYHH24MISS');
      v_end_date date := to_date(enddate,'DDMMYYYYHH24MISS');
    BEGIN
    /* YOU can use local pl/sql date variables inside your plsql code*/
    DBMS_OUTPUT.PUT_LINE('Start Date ='||to_char(StartDate,'YYYY-MM-DD HH24:MI:SS'));
    DBMS_OUTPUT.PUT_LINE('Start Date ='||to_char(EndDate,'YYYY-MM-DD HH24:MI:SS'));
    END;
    /

  • Concurrent program Do not Insert Data Into Interface Tables!

    Hi there:
    I am facing a problem with my concurrent program whenever I execute my stored procedure in SQL/PLUS it's work fine data load into the AP_INTERFACE/LINES.
    Whenever I try to load data through my concurrent programs it doesn't load into AP_INTERFACE/LINES and concurrent request successfully completed but don't load data.
    This is code query take a look.
    CREATE OR REPLACE PROCEDURE CINDNOTE(errbuff OUT VARCHAR2,
    retcode OUT NUMBER,
    p_org IN VARCHAR2,
    p_from_date IN VARCHAR2,
    p_to_date IN VARCHAR2)
    --p_org_id IN NUMBER,
    *Module Name AP DEBIT NOTE INTERFACE
    *Description This Package contains PL/SQL to support the
    * the DEBIT NOTE Inward Interface to AP
    *Author Zeeshan Hussain Siddiqui
    *Date 15 May, 2007
    *Modification Log
    *Developer Version Date Description
    *Zeeshan Hussain Siddiqui 1.0.0.1 15-MAY-2007 This interface integrated to AP
    AS
    ap_sequence NUMBER;
    reject_debit CHAR:='D';
    --v_invoice_lookup_code VARCHAR2(25):='Debit Memo';
    --v_negative_amt1 CHAR:='(';
    --v_negative_amt2 CHAR:=')';
    v_code VARCHAR2(250):='01.01.000.10450.00.00000';
    v_description VARCHAR2(250);
    V_rma_no VARCHAR2(10):='RMA#';
    from_date DATE;
    to_date DATE;
    CURSOR rejected_cur
    IS
    SELECT HR.full_name,ORG.organization_code InvOrg,
    ROUND(NVL((CR.unit_price*quantity_rejected*-1)+NVL(CR.gst_amount*-1,0),0),2)
    Invoice_Amt,ROUND(NVL(CR.unit_price*quantity_rejected*-1,0),2) AMT,ROUND(NVL(CR.gst_amount*-1,0),2) GST_AMT,
    POS.vendor_site_code,CR.date_of_disposition disposition_date,POS.vendor_site_id,CR.organization_id,
    (CASE WHEN CR.organization_id =305 THEN '01' WHEN CR.organization_id =304 THEN '01'
    WHEN CR.organization_id =450 THEN '07' WHEN CR.organization_id =303 THEN '02' ELSE '00' END)||'.'||
    (CASE WHEN CR.organization_id=305 THEN '02' ELSE '01' END)||'.000.'||(CASE WHEN CR.disposition=4
    THEN '10430' WHEN CR.disposition=6 THEN '10433' WHEN CR.disposition=3 THEN '10430'
    ELSE '00000' END)||'.'||'00.00000' Distribution_Code,
    PO.vendor_id,CR.reject_number,CR.disposition,CR.po_number,CR.unit_price,CR.rework_po_no,
    CR.shipping_memo, PO.vendor_name,
    CR.debit_note_number Invoice_Number,CR.account_number,CR.currency_code,
    CR.shipped_via,CR.vendor_rma,POC.first_name||' '||POC.last_name Contact,POS.phone,
    SUBSTR(POS.Fax_Area_Code,1,10)||'-'||SUBSTR(POS.Fax,1,20) Fax_Number,
    SUBSTR(POS.Address_Line1,1,100) Address,
    SUBSTR(POS.City,1,25)||' '||SUBSTR(POS.State,1,20)||' '||SUBSTR(POS.Province,1,20)"City/State/Prov"
    FROM apps.hr_employees hr,apps.mtl_system_items mtl,
    apps.org_organization_definitions ORG,
    apps.cin_rejects CR,apps.po_headers_all POH,
    apps.po_vendors PO,apps.po_vendor_contacts POC,apps.po_vendor_sites_all POS
    --WHERE TRUNC(CR.date_of_disposition) BETWEEN from_date AND to_date
    WHERE To_char(CR.date_of_disposition,'j') BETWEEN to_char(from_date,'j') AND to_char(to_date,'j')
    AND CR.organization_id =p_org_id ORG.organization_id
    AND ORG.organization_code =p_org
    AND POH.segment1 =CR.po_number
    AND HR.employee_id =MTL.buyer_id
    and CR.organization_id =MTL.organization_id
    AND CR.INVENTORY_ITEM_ID =MTL.INVENTORY_ITEM_ID
    AND PO.vendor_id =POH.vendor_id
    AND POH.vendor_contact_id =POC.vendor_contact_id
    AND POH.vendor_site_id =POS.vendor_site_id
    AND POS.invoice_currency_code =CR.currency_code
    AND CR.disposition IN(3,4,6);
    BEGIN
    from_date:=FND_CONC_DATE.STRING_TO_DATE(p_from_date);
    to_date:=FND_CONC_DATE.STRING_TO_DATE(p_to_date);
    FOR rejected_rec IN rejected_cur
    LOOP
    IF rejected_rec.vendor_rma IS NULL THEN
    v_description:=rejected_rec.shipping_memo||' '||rejected_rec.full_name;
    ELSIF rejected_rec.shipping_memo IS NULL THEN
    v_description:=v_rma_no||rejected_rec.vendor_rma||' '||rejected_rec.full_name;
    ELSIF rejected_rec.vendor_rma IS NULL AND rejected_rec.shipping_memo IS NULL THEN
    v_description:=rejected_rec.full_name;
    ELSIF rejected_rec.vendor_rma IS NOT NULL AND rejected_rec.shipping_memo IS NOT NULL
    AND rejected_rec.full_name IS NOT NULL THEN
    v_description:=v_rma_no||rejected_rec.vendor_rma||' '||rejected_rec.shipping_memo||'
    '||rejected_rec.full_name;
    END IF;
    SELECT AP_INVOICES_INTERFACE_S.NEXTVAL
    INTO ap_sequence
    FROM DUAL;
    INSERT INTO AP_INVOICES_INTERFACE
    INVOICE_ID
    ,VENDOR_ID
    ,INVOICE_CURRENCY_CODE
    ,DESCRIPTION
    ,INVOICE_NUM
    ,VENDOR_NAME
    ,VENDOR_SITE_ID
    ,VENDOR_SITE_CODE
    ,INVOICE_DATE
    ,SOURCE
    ,INVOICE_AMOUNT
    ,INVOICE_TYPE_LOOKUP_CODE
    VALUES
    ap_sequence
    ,rejected_rec.vendor_id
    ,rejected_rec.currency_code
    ,v_description
    ,reject_debit||rejected_rec.reject_number
    ,rejected_rec.vendor_name
    ,rejected_rec.vendor_site_id
    ,rejected_rec.vendor_site_code
    ,rejected_rec.disposition_date
    ,'REJECTS'
    ,rejected_rec.Invoice_Amt
    ,'CREDIT'
    IF rejected_rec.GST_AMT <0 THEN
    INSERT INTO AP_INVOICE_LINES_INTERFACE
    INVOICE_ID
    ,LINE_TYPE_LOOKUP_CODE
    ,DIST_CODE_CONCATENATED
    ,ITEM_DESCRIPTION
    ,AMOUNT
    VALUES
    ap_sequence
    ,'TAX'
    ,v_code
    ,v_description
    ,rejected_rec.GST_AMT
    END IF;
    INSERT INTO AP_INVOICE_LINES_INTERFACE
    INVOICE_ID
    ,LINE_TYPE_LOOKUP_CODE
    ,DIST_CODE_CONCATENATED
    ,ITEM_DESCRIPTION
    ,AMOUNT
    VALUES
    ap_sequence
    ,'ITEM'
    ,rejected_rec.Distribution_Code
    ,v_description
    ,rejected_rec.AMT
    COMMIT;
    END LOOP;
    END;
    Please reply me ASAP.
    Thanks,
    Zeeshan

    Hi All,
    I have created a package with a procedure. This procedure is used for inserting records into the custom tables created by me. When I am running the script in back end, it is running in reasonable time and giving back the desired output.
    But, as per requirement, I have to run this package-procedure via a concurrent program. When I am submitting the request, it is taking hours to complete. Also I am using BULK COLLECT and FORALL(Since the number of records are more than 3 lacs) and firing COMMIT after every FORALL. But when I am quering the table, after an hour or so, no rows are returned.
    Please help and reply asap.
    Thanks in Advance....!!

  • Report runs OK through concurrent program, but not when called through URL

    We have a custom 6i report developed that works successfully 100% of the time when run through a concurrent program.
    We are now attempting to integrate this into an OAF application. To do this, we build the necessary call to the reports server by reading different profile options, etc and come up with a URL like this:
    http://ebsd777.xxxxx.com:8000/dev60cgi/rwcgi60?d777_APPS+report=XXMFG_ESPEC_REPORT.rdf+P_SPEC_ID=43+DESFORMAT=PDF
    This report works 90% of the time when called like this, but the other 10%, we get the following error:
    "Error: The requested URL was not found, or cannot be served at this time.
    Incorrect usage."
    Trying to find what the differences are between the reports that work and those that don't - found that reports which fail seem to extend out further to the right than the reports that do work. But, these reports still fit on standard letter paper in landscape format - as we can verify through the concurrent program call.
    Is there some sort of report server setting or parameter which we can change to get this to work when called through the reports server URL?
    Any thoughts would be appreciated!
    Thanks,
    Craig

    Hi,
    Please post the application release along with the database version and OS.
    But when i call the same program through the pl/sql executable of another concurrent program , it does not print the pdf output by defaultHow do you call the program? What is the value of the number of copies profile option?
    Please see if these docs help.
    Note: 757901.1 - How To Restrict The Number Of Copies To 1?
    Note: 729117.1 - How To Specify the Number of Copies to Print by Report?
    Thanks,
    Hussein

  • Detailed log when data template is run through concurrent program

    Hi,
    I have registered a data template and I am using concurrent program to generate the output (By giving executable name as XDODTEXE and making short name of the concurrent program as the code of the data definition).
    When I run the concurrent program, it gives me the error
    Calling XDO Data Engine...
    [100306_024642974][][EXCEPTION] java.sql.SQLException: ORA-00900: invalid SQL statement
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2185)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2059)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2976)
    I have checked the sql query in TOAD its perfectly running. I am not able to find out where exactly the problem is in the SQL statement.
    Is there any way by which I can see detailed log (which line of SQL statement caused this exception)?
    Thanks in Advance,
    Harvinder

    The process to make an program incompatible with itself is described in MOS Doc 142944.1 (How to Make a Concurrent Program Incompatible with Itself) - you will have to bounce the concurrent managers for the setting to take effect
    HTH
    Srini

  • Use of Catalog data Extract concurrent programs

    Hi All,
    1. What is the use of Catalog Data Extract - Classifications, Catalog Data Extract - Items Concurrent Programs in Purchasing?
    2. To load the items from inventory to iprocurement whether the above two concurrents are must?
    Kindly help me in giving a clear idea about it.
    Thanks in advance.
    Regards,
    Simbu...

    Hi Simbu,
    The mentioned program works only in 11i, as R12 follows different mechanism.
    Yes, to load the items and categories to iProcurement mentioned programs are must in 11i.
    Need to make sure, item got a list price in the purchasing tab and purchasing category is published to iProcurement.
    You should run Catalog Data Extract - Classifications prior to running Catalog Data Extract - Items program.
    Thanks,
    PS.

  • Error while passing date parameter to the XML data definition

    Hi All,
    I have developed a BI publisher report using XML data definition & RTF template.
    This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
    What we did ?
    Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
    Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
    Looking for any available solution for the same.
    Thanks.

    Hi All,
    I have developed a BI publisher report using XML data definition & RTF template.
    This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
    What we did ?
    Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
    Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
    Looking for any available solution for the same.
    Thanks.

  • Calling a request set from a concurrent program

    Hi,
    I am trying to call a request set( say RS1) from a concurrent program ( say CP1). I have used fnd_submit.set_request_set and related APIs, and I am able to submit the request set. But the problem is that I have to either hard code the request set parameters in the concurrent program CP1( which I am currently doing), or define the parameters in the concurrent program CP1 and pass the parameters while calling the request set requests. The second method does not work because the request set has around 30 requests, and it is not possible to accept the parameters for all those requests from CP1.
    What I would like to do is to define a parameter in CP1 which accepts the request set name( or short name), and then pop-up a window which shows the sub-requests in the request set so that I can enter the parameters of each request within the request set. ( something similar to $FLEX$)
    Have anyone done such a thing? Does anyone know if it is possible?
    Any suggestions are welcome!

    Hi,
    Sharing parameters will not work because my request set has many requests and none of them have any common parameters. I am looking for a solution which will show me all the programs in the request set with the default values so that I can change the parameter values if required.
    Thanks,
    Sridhar

  • Passing concurrent program parameters thru OA.jsp?akRegion

    Hi, I'm trying to create a submit button thru a personalization in order to print a custom expense report (rdf).
    Thru a personlization, I've been able to create a button and set the "Destination URL" to use OA.jsp?akRegionCode=FNDCPPROGRAMPAGE......
    I'm almost there, but the only thing left is that I'm trying to figure out how to pass parameter the the concurrent program in the destination URL.
    For example, I've created an item thru a personalization
    ID : XX_SUBMIT
    Destination URL : OA.jsp?akRegionCode=FNDCPPROGRAMPAGE&akRegionApplicationId=0&programApplName=XX&programRegion=Hide&scheduleRegion=Hide&notifyRegion=Hide&printRegion=Hide&&programName=XX_EXPENSE_REPORT&P_ACCOUNT_NO={$ReportNumber}
    Prompt : Print Report
    Target: _blank
    When on my expense report page, on each line there is a button to print the report itself. Basically, I'm calling FNDCPPROGRAMPAGE and hide a couple of sub-pages and then I want to be able to pass the report number the the concurrent program 'XX_EXPENSE_REPORT'.
    My problem is that if in the concurrent program definition I uncheck "Display" parameter, the report_number shows in the URL but doesn't get transferred to the report so my output is blank. The report didn't receive the report number value but I saw the value in the URL.
    If I check the 'Display' parameter, after clicking on the "Print Report button", system ask me for the Report number input which I don't want to do.
    I'd like to pass it automatically to the concurrent program based and not input it.
    Does anybody knows how to solve or is it possible witout extending controller and other stuffs..
    I'm am missing something ?
    Thanks for your help.

    Wee too face similar issue.
    Are you populating default falue for Report Number from Database sequence?
    if yes you can handle this in 'XX_EXPENSE_REPORT' (in PLSQL or RDF based on your execution metohd).
    another oprion is dont hide the parameter page, instead make the parameters read only using controller extension.
    Regards,
    Ram

  • To find Concurrent Program Usage

    Hi,
    I need to create a report providing details of Concurrent program name,date created date last used.
    I don't know from which I can information about when concurrent Program was last used.
    Input Parameters are-
    1)Earliest Date ,
    2) Aging Period/buckets :- Weekly, Monthly, Annually or just 'One bucket' from earliest Date parameter above with Defalut 'One Bucket'
    Please help.
    Thanks,
    Manisha
    Edited by: Milind Jadhav on Oct 6, 2010 1:59 AM
    Edited by: Milind Jadhav on Oct 6, 2010 2:09 AM

    As mpautom says, there are only a couple of tables or views to consider here. The following will give you the latest completion time and date of each concurrent program together with the status at completion and parameters used. It should be straightforward for you to add in the creation date and any parameters you need.
    Regards,
    Jon
    SELECT
    fcr.request_id req_id
    , fcp.concurrent_program_name conc_prg
    , pt.user_concurrent_program_name usr_conc_prg
    , TO_CHAR(fcr.actual_start_date, 'DD-MON-YY HH24:MI:SS') start_date
    , TO_CHAR(fcr.actual_completion_date, 'DD-MON-YY HH24:MI:SS') end_date
    , flv1.meaning phase
    , flv2.meaning status
    , fcr.argument_text parameters
    FROM
    (SELECT
    concurrent_program_id
    , max(actual_completion_date) as lastcompletedrun
    FROM
    fnd_concurrent_requests
    WHERE 1=1
    AND phase_code = 'C'
    GROUP BY concurrent_program_id) innerq
    JOIN fnd_concurrent_requests fcr ON (fcr.concurrent_program_id = innerq.concurrent_program_id AND fcr.actual_completion_date = innerq.lastcompletedrun)
    JOIN fnd_concurrent_programs fcp ON (fcr.concurrent_program_id = fcp.concurrent_program_id AND fcr.program_application_id = fcp.application_id)
    JOIN fnd_concurrent_programs_tl pt ON (fcp.concurrent_program_id = pt.concurrent_program_id AND fcp.application_id = pt.application_id AND pt.LANGUAGE = 'US')
    JOIN fnd_lookup_values flv1 ON (fcr.phase_code = flv1.lookup_code AND flv1.lookup_type = 'CP_PHASE_CODE' AND flv1.LANGUAGE = 'US' AND flv1.view_application_id = 0)
    JOIN fnd_lookup_values flv2 ON (fcr.status_code = flv2.lookup_code AND flv2.lookup_type = 'CP_STATUS_CODE' AND flv2.LANGUAGE = 'US' AND flv2.view_application_id = 0)
    WHERE 1=1
    ORDER BY pt.user_concurrent_program_name

Maybe you are looking for

  • Sales andDidstribution BOM issue

    Hi Experts,   As my clint is in to IT industries like computer hardware sales, could you please any one of you explain the BOM configuration and details pertaining to BOM.  Any help on this would be highly apreaciable Thanks Regards

  • WordWrap

    Hello. I made this code for a school assignment. I need some help with it. Its a method called wordWrap that accepts a Scanner representing an input file as it parameter and outputs each of the file to the console, word wrapping all lines that are lo

  • User ststus active or inactive

    HI All My project requirement is to find out the user status. Is the user active or inactive.. can anybody provide the technical details for the same. I mean table level..

  • My ipod touch froze (white screen), it will not restart (by holding home screen button and lock screen) and it will not sync with itunes

    Whenever my ipod freezes i just restart it but this time nothing is working! I was using an app and it just froze (it was powercam, i was taking a picture) Im not sure what to do now

  • Adobe Flash and IPod Touch

    I just got an IPod Touch and get a failed download when trying to get the Adobe Flash player to download. It is needed to listen to some radio stations on line.