Cursor problem (simultaneous program)

Hi gurus,

I have here a problem that I think is on the slider.
I have create a concurrent program that calls a procedure in a package.

I had the values of these parameters.

PROCEDURE create_jv_temp (errbuf IN OUT VARCHAR2,
RETCODE IN OUT VARCHAR2,
p_typecode varchar2,
p_startdate varchar2,
p_enddate varchar2,
number of p_org_id,
number of p_sob_id
number of p_coa_id) as

After that, loads the cursor

CURSOR pcv_month IS
SELECT nvl (asgn.ass_attribute1, 'NO') as 'DEPT '.
Of ap_invoices_all ap,.
fnd_user usr,
per_all_people_f MEP,
per_assignments_f asgn
WHERE ap.org_id = p_org_id
and ap.created_by = usr.user_id
and usr.employee_id = peo.person_id
and peo.person_id = asgn.person_id
and ap.payment_status_flag = 'Y '.
and ap.invoice_type_lookup_code = 'MIXED '.
and ap.creation_date between v_startdate and v_enddate
Asgn.ass_attribute1 group;

the problem is that nothing happens when I use this slider. When the select statement is executed directly,
The result is a list of example of codes of departments.

ACT1
ADM1
ATM1... which means that the cursor retrieves the records...

I also tried using a simple slider and the works of procedureit!
It is really beyond me because I can't find any problem with this slider.

I think maybe the procedure returns an error in errbuf or refcode but the newspaper view application (E-Business)
has not registered any error.

hoping your immediate help.

Thank you

Could you change PER_ASSIGMENTS_F with PER_ALL_ASSIGNMENTS_F and see if it solved the problem?

Thank you

Tags: Oracle Applications

Similar Questions

  • problem when simultaneous program call

    Hello

    I'm trying to run a simultaneous program that is report xml editor. I googled and I got the following code and tried to run the xml report.

    public int submitCP (String scorecardId, String planId, oaam, OAApplicationModule) {}
    int cpRequestId = 0;
    Connection conn is oaam.getOADBTransaction () .getJdbcConnection ();.
    ConcurrentRequest cr = new ConcurrentRequest (conn);
    String applShortName = "TO";
    String cpName = "XX_GOAL_SETTING_PRINT";
    "String param = planId +": "+ scorecardId;
    Vector args = new Vector();
    args.addElement (param);
    args.addElement (planId);
    args.addElement (scorecardId);

    try {}

    cr.addLayout (applShortName, cpName, "en", "US", "PDF");


    cpRequestId = cr.submitRequest (applShortName, cpName, "", "", false, args);
    try {}
    cr.addLayout (applShortName, cpName, "fr", null, "RTF", "PDF");
    Conn.Commit ();
    } catch (Exception e) {}
    throw new OAException ("Add available returns the question" + try (), OAException.ERROR);
    }
    Return cpRequestId;

    } catch (RequestSubmissionException e) {}
    OAException oe = new OAException (e.getMessage ());
    oe.setApplicationModule (oaam);
    throw oe;


    }
    }

    I tried without layout, I get application Id but I can only see this request to sysadministrator responsibility. But I took this report in HRMS Manager.

    But it does not put because there is provision specified in the request.

    Please suggest me to fix this problem and also tell me how to open this output in another tab.

    Thank you
    SAN

    Hi SAN,

    Use getOutputURL method get is work.

    public String getOutputURL (String requestId)
    {

    String s4 = null;

    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl) getDBTransaction ();
    String s1 = oadbtransactionimpl.getAppsContext () .getEnvStore () .getEnv ("TWO_TASK");
    String s2 = oadbtransactionimpl.getAppsContext () .getEnvStore () .getEnv ("GWYUID");
    String s3 = "START: 1: = fnd_webfile.get_url (fnd_webfile.request_out,: 2: 3: 4: 1); end; « ;
    CallableStatement callablestatement = getOADBTransaction () .createCallableStatement (s3, 1);
    If (requestId! = null)
    {
    Try
    {
    Number = new Number (requestId);
    callablestatement.registerOutParameter (1: 12);
    callablestatement.setInt (2, number.intValue ());
    callablestatement.setString (3, s2);
    callablestatement.setString (4, s1);
    CallableStatement.Execute ();
    S4 = callablestatement.getString (1);

    throw new OAException (retrivePLSQLError ());
    oadbtransactionimpl.putValue ("OutputURL", s4);

    }
    catch (Exception exception1)
    {
    S4 = exception1. ToString();
    }
    Finally
    {
    Try
    {
    CallableStatement.Close ();
    }
    catch (Exception exception2)
    {
    throw OAException.wrapperException (exception2);
    S4 = exception2. ToString();
    }
    }
    return s4;
    } else
    {
    S4 = "no id of request sent";
    return s4;
    }

    } / / end of method getOutputURL() * /.

    Kind regards
    Ordronneau

  • Problem in passing several Arguments for simultaneous program

    Hello

    I need to pass two stamped in my simultaneous program

    but I am facing problem while adding the second parameter in the code below

    Please suggest how to pass several parameters for the simultaneous program
        Vector cpArgs = new Vector();
        cpArgs.addElement(shipmentId);
        cpAgrs.addElement(addId);
        System.out.println("Args"+ cpArgs);
    It's my submission of application code
        public int submitRequest(String shipmentId, String addId) throws Exception {  
        try {
          OADBTransaction tx = (OADBTransaction)getDBTransaction();
        java.sql.Connection pConncection = tx.getJdbcConnection();
        ConcurrentRequest cr = new ConcurrentRequest(pConncection);
            cr.addLayout("XXAPL", "XXAPLPORMSD", "en", "US", "RTF");
        String applnName = new String("XXAPL"); 
        System.out.println("ApplName"+ applnName);
        String cpName = new String("XXAPLPORMSD"); 
        System.out.println("Concc Name"+ cpName);
        String cpDesc = null;
        Vector cpArgs = new Vector();
        cpArgs.addElement(shipmentId);
        cpAgrs.addElement(addId);
        System.out.println("Args"+ cpArgs);
         
            int requestId = cr.submitRequest(applnName, cpName,cpDesc, null,  false, cpArgs);        
    
        tx.commit();    
    
        return requestId;
    
        } 
         
        catch (RequestSubmissionException e) {
        OAException oe = new OAException(e.getMessage());
        oe.setApplicationModule(this);
        throw oe;
    
        }
            catch(Exception exception)
            {
            throw OAException.wrapperException(exception);
            }
    
        }
    Krishna

    I did most of the changes. IAM do not know why the error is come

    This is the reason why...

    It should be cpA rg s

    NOT

    cpA gr s

    Thank you
    -Anil
    http://oracleanil.blogspot.com

  • Mouse cursor problem

    After a few hours, my mouse cursor gets... weird. She becomes a fatter version of himself (in his goal a bit biased as well) with multiple copies, overlapping itself in different colors. The cursor "hovering on the text" is not affected, its 'I' used remaining shape, but others, including the slider "arrow" by default and the "hovering on the hyperlink pointing to the hand" is weird. Turning on the traces of the mouse leaves a copy of the weird arrow cursor, but the normal mouse comes back and works well.

    So, basically, how to avoid this strange, large, multicolored, slider which came into existence, and the case of activation of the traces of the mouse * is * the only way to turn it off, how can I get rid of the weird, big, multicolored cursor unsightly that lingers on my screen? Virus scan has not turned up all wicked. Would it be a specific program (it's a gaming computer and not all games are perfect...) which irritates my computer in a certain way and results do?

    NOTE: I use a special gaming mouse or anything like that. It's a Dell which came with a (different) computer that I got years ago. Device Manager indicates that the drivers are up to date. I don't think it's a problem with this mouse especially, but I have no real way to check a different mouse on this computer without having to buy one.

    Thanks for reading.

    I'd be willing to bet that it's your video card driver.  My Dell has an ATI video card and it happens sometimes.  I have a graphics card dual monitor and oddly enough happens that on my primary monitor - display of the cursor on the screen 2 is not affected.

    ATI made a patch for cursor problems, unfortunately the Dell that I use is in a corporate environment and they did not find enough critical to give me the patch again.

    You could try the Dell support page, go to the downloads section and make sure you have the latest video card driver.

  • How to create simultaneous program of type PL/SQL stored procedure?

    I have the procedure to reset sequence as below:

    CREATE OR REPLACE PROCEDURE DEV_RESET_XX IS

    V_NEXT_VAL1 NUMBER;

    BEGIN

    RUN IMMEDIATELY "ALTER SEQUENCE DEV_RECEIPT_S1 MINVALUE 0';"

    RUN IMMEDIATELY "SELECT DEV_RECEIPT_S1. DOUBLE NEXTVAL ' IN V_NEXT_VAL1;

    RUN IMMEDIATELY "ALTER SEQUENCE DEV_RECEIPT_S1 INCREMENT BY ' |" -V_NEXT_VAL1;

    RUN IMMEDIATELY "SELECT DEV_RECEIPT_S1. DOUBLE NEXTVAL ' IN V_NEXT_VAL1;

    RUN IMMEDIATELY "ALTER SEQUENCE INCREMENT DEV_RECEIPT_S1 1 ';"

    END DEV_RESET_XX;

    And if I run this query don't use PL/SQL, no problem and success.

    EXEC DEV_RESET_XX

    And then I want to create simultaneous program for this procedure.

    1. create the executable program

    -Methods: PL/SQL, stored procedure

    2. create the simultaneous program

    -Call the executable program

    -Nothing parameter

    3. assign the application group to receive

    And then I try to run this competitor.

    But, status complete error.

    8-31-2015 7-10-22 PM.jpg

    Help, please.

    Thank you.

    Hello

    To save pl sql program, we have two required parameters. ERRBUFF and RETCODE

    Steps to create a concurrent program of type PL/SQL stored procedure. Techmandate.com

    No need to create these parameters in the simultaneous program window. Just use those in your procedure.

    hope this will help you

  • Simultaneous program with RTF/EXCEL output

    Hi all


    I updated java version 7. When I go to the simultaneous program with HTML/PDF output, is the opening.

    But when I display the output of the simultaneous program with RTF/EXCEL, it does not open. I think we have to put something in the Solution Explorer.

    I was able to open before the upgrade and java 6.

    Version of the EBS - 12.1.3

    DB 11.2.0.3

    OS - RHEL5 64 bit

    JRE - 7u25

    Please help me solve the problem.

    Thank you

    SAL

    Hi Sal.

    How do you set Internet Options ask confirmation for file downloads and download file?

    Octavio

  • Remove group request simultaneous program

    Hello

    By mistake, I added the simultaneous program to the group asked, is it possible to remove it?

    Thank you.

    Go to the form groups of application-> query for the request group

    Place the cursor on the simultaneous program you want to delete and click the delete icon (icon 'X' of red color in the toolbar) and save the record

    -Jay

  • Installer for the simultaneous program defined with the parameters - Script SQL

    I wrote a very simple sql script and I want to save it as a simultaneous Oracle program. I have included a parameter field in the sql script to allow the entry of a value to determine the number of days prior to the script. The script runs correctly in SQL * Plus, but when I try to record it as a competitor Oracle program I get the following errors below:
    This works in SQL* PLUS
    
    SELECT emp_id, amount
    FROM tblSalaries
    WHERE hire_date > SYSDATE-&Days;
    
    Enter value for Days: 7
    old    3: hire_date > SYSDATE-&Days
    new  3: hire_date > SYSDATE-7
    
    And it provides my results....
    Although when I save this as a simultaneous program and set the configuration setting and run the simultaneous program and enter the number in the parameter field, work ends with an ERROR with the following:
                                                                                                             
    Enter value for Days: EXEC FND_CONC_STAT.COLLECT;
    hire_date > SYSDATE-EXEC FND_CONC_STAT.COLLECT; and
                                        *
    ERROR at line 3:
    ORA-00933: SQL command not properly ended 
    If I put single quotes around '& days', in line 3, I get a different error:
    ERROR at line 3:
    ORA-01722: invalid number 
    Do you know what could be the problem?
    Thanks for the review!

    You can try one of these approaches-

    1. replace '& days' in your script with "& 1"- or-".

    2. Add the following to your script at the beginning

    Days := &1;
    

    PL see the developer's Guide Application for your specific version http://www.oracle.com/technology/documentation/applications.html EBS

    HTH
    Srini

  • How to create a value fixed for simultaneous program?

    Hi friends,
    I create a simultaneous program with a period of setting...

    In the value set for parameter period, I use the following query:
    -where application_id = 101
    and set_of_books_id =: $PROFILES$ .gl_set_of_bks_id
    and closing_status IN ('o', 'F', 'C')
    order of period_year, period_num' -.

    In my cursor, I have one condition ' where set_of_books_id = '.
    How can I switch the whole above ID of books in the cursor? It does not work when I'm defining another parameter like book and passing this value to the cursor...
    I need this period parameter to return all periods for all the books where we run the concurrent application of... I also need to get all of the books for my cursor IDs...

    I hope I'm making sense... What I'm trying must have the period setting and also an OB id in condition of cursor...
    Rgds,

    Please use the following example

    Start
    FND_GLOBAL. APPS_INITIALIZE (user_id-online-1, resp_id-online 51901, resp_appl_id-online 222);
    end;

    DECLARE
    SET_BKS VARCHAR2 (20);
    BEGIN
    FND_PROFILE. GET ('GL_SET_OF_BKS_ID', SET_BKS);
    DBMS_OUTPUT. PUT_LINE (SET_BKS);
    END;

    Maybe this will help you

    Concerning
    Nitin

  • Problem installing programs

    Separate from this thread

    @Charles ABurton: I have shared your question in the other thread so that it can be managed with less confusion.  Please provide details of your problem, including which version of Windows 7 you have (including 32-bit or 64-bit) and why you are looking for this particular stri8ng in regedit.

    Have you seen this article--> https://support.microsoft.com/kb/2642495?wa=wsignin1.0 If Yes, what happened when you followed the instructions.

    I also I have a problem installing programs.  I get the notice "could access the windows service install. There is no 'MSIserver\WOW64' in regedit, and 'windows install' does not exist in the service. So far, none of the fixes work for me so I am at a loss.

    Method 2 in the answer in this thread can help:
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-performance/Windows-Installer-service-is-missing-and-IM-unable/fab7d3ad-3e7f-413F-A2be-2dc596724573

  • Focus cursor problem: I can't get my cursor will appear in a search box

    Original title: Focus cursor problem

    I can't get my cursor will appear in a search box (e.g., Google, amazon.com, etc.) in Firefox Version 16.  It seems to be a kind of focus problem.  Is it a Firefox problem or a problem of Windows 7?  Could this be a script problem?  Thanks for any ideas on how to solve this problem.

    Hi Letaiyo,

    You are welcome.

    I am happy to learn that the problem is solved!

    Your efforts to solve this problem is appreciated.

    Thank you for sharing your information on the way in which you solved the problem.

    In the future if you fall on any question relating to Windows, please do not hesitate to post your request here on Microsoft Community, we will be more than happy to help you.

    Thank you.
  • XML editor & simultaneous program

    Hi all


    I have a simultaneous and multiple program model rtf which related to the definition of a given.

    Depends on parameters selected in the simultaneous program is possible by default for another model.


    Is there a way for her to do?


    Thank you

    You could attach a control break file to your data definition which reads the parameter and uses the appropriate model. Note: depending on your simultaneous program, may have to tweak it a bit to get the parameter if poster in the xml output it produces to burst on this subject.

  • Simultaneous program output. EXCEL must replace .xls

    Hi all

    We have a custom report xmlp with exit excel. Thanks to simultaneous program delivery options, we send out that email.

    E-mail from with an attachment. EXCEL format.

    If some users not able to open it. So how do you change the .csv or .xls format?

    Thank you

    But it is not useful.

    Anyway I got it by referring to the following Doc ID 1289476.1

  • Release of e-mail from a simultaneous program in PDF to any member of the team


    Hi team,

    I am running Forms of verification Signon periodically, I want the output of this program should be sent to my client in PDF Format.

    How to set up above the need simultaneously to exit in a PDF Format email.

    Please suggest me.

    Thank you

    Anmisha.

    If the output of the program is already a pdf file, then you can just set delivery Options on screen presentation simultaneous program, which will automatically send program output to the e-mail address specified (s).

    Or

    If the output of your program is not in pdf format, you can create a model of data & data definition and exit at the pdf format and set the delivery option.

    I hope this helps.

    See you soon

    AJ

  • 11.5.9 simultaneous programs log showing the content of another simultaneous program

    Hi gurus

    I have a competitor program that the developer had run into 11.5.9 instance but the log file indicates a different simultaneous program execution.

    What could be the reason?

    Hello

    Maybe the id already exists in your environment.

    Use FNDCPPUR to purge old data and test the issue again.

    Kind regards.

    Philippe.

Maybe you are looking for