Conc program with the direct report parameter

I have a report of simultaneous program which takes a person_id as a parameter. Currently, he is executed for the user logged in with a declaration of default SQL query:

SELECT papf.person_id
  FROM fnd_user fu, 
       hr.per_all_people_f papf,
       hr.per_all_assignments_f paaf
 WHERE fu.user_id = fnd_profile.VALUE ('user_id')
   AND fu.employee_id = paaf.supervisor_id
   AND SYSDATE BETWEEN papf.effective_start_date
                   AND papf.effective_end_date;

Now I have to do is set up a copy of the same program so that a manager can run it. The person_id parameter must be chosen from a list of direct reports to the Manager only, using fnd_user user_id of the prime contractor for the list.

Need of a query for a supervisors direct reports. Thanks in advance.

OK, basically what you have to do is reference tables as a list, with aliases for tables - then where clause is put in the ' where / order by ' window. So many fields:

Table name: fnd_user fu, ADP, women's wear per_all_people_f per_all_assignments_f

Value: papf.employee_number VARCHAR2 20

Meaning: papf.full_name VARCHAR2 100

ID: papf.person_id NUMBER 15

Where / order by:

Fu.user_id = fnd_profile. VALUE ('user_id')

AND fu.employee_id = paaf.supervisor_id

AND papf.person_id = paaf.person_id

AND paaf.assignment_type = 'E' - assignment of the employee

AND trunc (sysdate) BETWEEN paaf.effective_start_date

AND paaf.effective_end_date

AND trunc (sysdate) BETWEEN papf.effective_start_date

AND papf.effective_end_date

Note that the second query I posted earlier would have failed because I do not understand the per_all_people_f of the table in the table list. This problem has been corrected here.

In the first screen, the Type of Format it number, because you have specified a column ID that is digital. The concurrent program will pass the ID column, if it is made reference, otherwise, it will send the value column.

Once again, please keep in mind that I can't try myself to check the absolute rightness of what I posted here, but it should be close enough.

Hope this helps

Clive

Tags: Oracle Applications

Similar Questions

  • 'create an analogue' control by programming of the cyclical report parameter

    I need to generate a square wave and a programmable duty cycle in LabView (not SignalExpress).  I use 'Create an analog Signal' for a signal fixed duty cycle but I can't figure out how to get the setting of market factor to change it programmatically.  I was hoping for something like node property access but found that this works for objects on the front panel.

    Is it possible to dynamically change the cyclical report parameter in the "create an analog Signal?

    Fortunately, I found the Wave.VI place, what more accessible inputs for things like the work cycle, amplitude, frequency, phase and gradually - all the parameters of the desire of my heart.

  • Cannot see the whole picture when you move into a smaller template with the direct Selection tool

    Hello!

    I recently got my laptop cleaned in preparation for examinations and such (I'm in high school). As I belong to art class, when Basic programs have been re-installed we also got the Adobe programs, but we got the CC 2015 version instead of the version CS5, we had earlier. After a stressful week, I finally had time to sit and work on my projects aside, but I quickly found a big problem which stops at my work. After re size the image at the size I want, I don't see the whole picture when I move in the smallest area with the direct Selection tool more. Photos I use are generally quite large, that I've tried to work with now are 451mmx338mm after the scaling down and I have a 'framework of standard departure' to 60mmx15mm (I make the bosses), so now I have basically has to guess my way toward a good composition...

    Can I make it work again?

    Click on the image and hold the pointer of the mouse for a while. And then drag.

  • CVI suggested help update on 'programming with the Table controls.

    Hello

    May I suggest adding a sentence to the chapter 'Programming with the Table controls', 'Creation and deletion of cells' section help of CVI.

    After the sentence "use the following functions to control the number of rows in a table control...". "I would like to add a suspicion that the number of lines is also affected by (programmatically) adjustment of the height of the table.

    Now that I've discovered, it's obvious ;-)

    Hi Wolfgang,.

    I think you might be misunderstanding this sentence in aid. It does not refer to the size of the table, in regard to the number of lines go in the table. It is in fact the number of real lines exist in the table. And the total number of rows in the table is absolutely not affected by the height of the table.

    Luis

  • my up to date iMac can't read installing lightroom 5 dvd I received for Christmas, the dvd player works fine with the other dvd, is it possible to download the program with the serial number of the dvd?

    my up to date iMac can't read installing lightroom 5 dvd I received for Christmas, the dvd player works fine with the other dvd, is it possible to download the program with the serial number of the dvd?

    No need to worry about the disk version. He would just install an update anyway once it has been installed. Download from the link provided below and use the serial number, you need to activate.

    Updates

  • I get this kind of error: U44M1l210 when I try to install programs with the exception of Lightroom and Acrobat reader Pro. Why do I need to change the installation of you accomplished?

    I get this kind of error: U44M1l210 when I try to install programs with the exception of Lightroom and Acrobat reader Pro. Why do I need to change the installation of you accomplished?

    Ford Hi,

    Please visit the Doc KB: error U44M1I210 | Install updates

    Kind regards

    Rave

  • How to constrain angle of anchorage when I pull on a path with the direct Selection tool?

    How to constrain angle of anchorage when I pull on a path with the direct Selection tool, as it did in all versions of Illustrator since 1988? New behavior is costing me time.

    Open preferences > display selection and anchor.

    Here you can constrain the handles

  • When I click on an item with the direct Selection tool, I used to get a little place on each limit

    When I click on an item with the direct tool, I used to get a little place on each line of bounding box that I could use to adjust the size of the object. Somehow he disappeared - how can I get that back please?

    Display > display the edges

    -OB

  • Problem with the direct Selection in Illustrator CS5.1 tool

    Lost my ability to transform a selection with the direct Selection tool. When I select an element, I get not all my little manages to make a transformation directly on the object... have lost patience, trying to find the problem.

    View--> edges of the show.

    Mylenium

  • How can I disable overview of the hidden regions when you drag an image into the image with the direct selection tool?

    CS5, don't know how that Word...

    In the previous version of ID, if I had a graph in a framework, I could drag the image around inside this image with the direct Selection tool.  I can always do with CS5, but he seems to want to show the entire image in a manner of ghosts that is outside of the framework.  Is there a way to disable this type of song look as if it was in previous versions?  I want sound slow down my computer to the low bigtime because I am facing a large image.  Whenever I click to drag, everything slows to a crawl and unusable.

    Go to the preferences and delayed the Live Drawing screen value.

  • See bug handles (and confiscation) with the direct Selection of the 5.5 tool?

    Install previous Illy (including 5.5), clicking on a path with the direct Selection "chose" tool this path or shape and showed all the anchors and handles, so I could catch. Now, when I click on a path or shape with direct selection, I get nothing. If I know where is an anchor, I can enter directly (with a guess) and move it - which shows me its handles, but I can't catch them.

    I've never had this problem before. Is there some preference that I need to put? I have a bad installation? Does anyone else have this problem?

    Thank you

    ND

    Fact View > Show Edges help?

  • What is the problem with my Oracle reports parameter?

    Hello

    We use a PL SQL package that allows the user to select the report you want Oracle and associated parameters.   While the control is passed to Oracle 11 g reports.

    The requirement of one of the reports is to enable more detailed codes be selected by the user and then shown.  The detailed code is an alphanumeric field that can hold between 4 and 6 characters.

    If my data model looks like this

    SELECT student_id

        FROM my_view

       WHERE detail_code IN :p_detail_code;

    and the parameter that I'm passing to Oracle reports looks like this (when I view the source HTML code)

    & p_detail_code =('1001','1002')

    so no record is selected.

    However, if my data model looks like this, I get the records you want:

    SELECT student_id

      FROM my_view

    WHERE detail_code IN ('1001', '1002');

    We have Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production.

    Please tell me what is the problem with my setting.  Thanks a lot for your help.

    This isn't how you can use in. See this example on how to solve it with the digital settings. If your setting is a character, you need to change this.

    In fact, when you simply enter 1,2,3 as an input parameter, you actually create this query:

    Select *.

    from my_table

    where num_column in ("1,2,3")

    Use rather a lexical parameter:

    Select *.

    from my_table

    & p_where

    In the parameter after relaxation shape, build the lexical like this:

    :p_where := 'where num_column in ('||:p_param||')';
    
  • Upgrade Vista to 7 the SafeMode problem with the compatibility report

    I'm trying to upgrade my computer to Windows 7 after problems with Vista, and now I can start only my computer into safe mode now.

    The update disc work until I get to the "compatibility report" in which it gives me the message: "the computer started using the Windows installation disc.  Remove the installation disc and restart your computer so that windows starts normally, then restart the update."

    This message appears in safe mode with networking, which was started without the installation disc inserted.  I then restarted and booted from the DVD and tried to update again, and he gave me the same message (which makes sense because I boot from the disk).

    This message occurs when I start in safe mode or safe mode with network.

    Is there anyway to solve this problem, so I can go ahead with the update?  Also, I can't start my computer in normal mode to respect the indications that gives me this message.

    Hello
    You can't go in safe mode

    1. Close all running programs and open the windows if you are back on the desktop.
    2. Click on the Start () button.
    3. In the search box of the Start Menu () type msconfig and press enter on your keyboard - follow UAC prompt.
    4. The System Configuration utility opens
    5. Make sure the Normal startup is selected
    6. then click on the STARTUP tab at the top
    7. Make sure that the startup is disabled
    8. Apply - OK - then follow restart guests

    If it does not do a startup repair

    the link below is how to download and get a vista disk startup repair, which you can start from the

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    Here's how to use startup repair system restore command prompt, etc. to bleepingcomputers link below

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    to boot from the dvd drive to be able to you will see a way to get into the bios Setup at the bottom of the screen or command menu start

    It would be F2 or delete etc to enter the BIOS or F12 etc. for the start menu

    Change boot order it do dvd drive 1st in the boot order

    http://helpdeskgeek.com/how-to/change-boot-order-XP-Vista/

    Windows 7 installation issues and ask in the forums of windows 7

    http://answers.Microsoft.com/en-us/Windows/default.aspx#tab=2

  • How to associate cluster esx with the data report store

    Hi all

    I'm running a repore that displays data stores less than 50 free concerts. The storage team would like a coloum for esx clusters associated with the LUN. I can't see to find it and what is possible.

    Thanks in advance,

    Scott.

    I would create a WCF function, script type, with a timeRange parameter and a new data store VMWDatastore context parameter, required, not a list.  Set the output in common: string.

    Add the following script:

    QS = server. QueryService

    Query = "!" "VMWCluster where esxServers.datastores.uniqueId = ' ${datastore.uniqueId}"

    cluster = server. QueryService.queryTopologyObjects (query)

    clusterNames = clusters? collect {cluster-> cluster?. name}?. Join(', ')

    return clusterNames

    You can then use this in your report, feeding the entrance of context for the current row data store.

  • Colon in link with the interactive report

    Hello

    I have two interactive reports which are connected by link column on one of the columns, the problem is that some of the values contains a colon

    for example, the value is ABC: 123 , but the linked report a value = 'ABC' is generated in the filter

    So I can see there are many sons and based on those I can escape the string using APEX_UTIL. URL_ENCODE so now I get Value = 'ABC % 3 A 123' in the filter that is still nothing.

    So I think on the interactive report, I need to somehow convert the return value on the page so the interactive report can deal with it, but I don't see how to do this and I can not find all threads that deal with these.

    I don't want to use an element on the page to filter the report the report is sometimes access directly and it would act/look different to other pages where we have it but don't have the problem that these values have no settlers. I can't remove the colon as they come from an external source.

    We use the apex 4.1

    Any ideas?

    WOWL wrote:

    This isn't the real value, but I think that its close enough for users, if I were to create a dynamic of any idea action that she could do as my knowledge of dynamic action is limited.

    Create dynamic Action to replace "_" with ":" when the IR is updated:

    When

    Event: After refresh
    Selection type: Region
    Region: IR / / whatever your area

    Real Actions

    Action: Run the JavaScript Code
    Fire on Page load: Yes

    // Change 'Colon Val' in selector to heading of colon-containing column
    $("#apexir_CONTROL_PANEL_COMPLETE .fielddata a:contains('Colon Val like')")
      .each(function () {
        $(this).text($(this).text().replace('_', ':'));
      }
    );
    

Maybe you are looking for