Include the expected start Date and end Date for the management of SSHRC-Absence

Is it possible to include the scheduled Start Date and end Date of project to SSHRC, management of absences with the type of leave is confirmed?

Thanks in advance

Hello

In this case, you should disable the option the absence request, so that by default all sheets are confirmed and the user do not have to apply once leave as planned and then comply.

You can see the id metalink - "How do I disable the State of Absence of R12 Absence Management Page [ID 786691.1]" to understand how to disable "Planned" option to request authorization for simple customization.

It will be useful.

Thank you
Sanjay

Tags: Oracle Applications

Similar Questions

  • Find the period by subtracting the start time and end

    Version: 11.2

    I am not a SQL expert.

    I'm trying to subtract the start and end time and find the difference between these two times.

    In the example below, the difference between the value of start_time and end_time is approximately 52 minutes (18:15 to 19:07)

    I tried a few tricks to find the difference below. But it did not work.

    SQL > create table t (start_time date, date of end_time);

    Table created.

    SQL > desc t

    Name                                                              Null?    Type

    ----------------------------------------------------------------- -------- ---------------------

    START_TIME                                                                 DATE

    END_TIME                                                                   DATE

    SQL > insert into values t (to_date (24 June 2013 18:15:42 ',' DD/MONTH/YYYY HH24:MI:SS'), to_date (24 June 2013 19:07:54 ',' DD/MONTH/YYYY HH24:MI:SS'));))

    1 line of creation.

    SQL > commit;

    Validation complete.

    SQL >

    SQL >

    SQL > select * from t;

    START_TIME, END_TIME

    --------------------     --------------------

    24 June 2013 18:15:42 24 June 2013 19:07:54

    -Trying to find the difference of Start_Time and End_Time

    SQL > select end_time-start_time in t;

    END_TIME-START_TIME

    -------------------

    . > 03625 than signifie.03625?

    -More than failure tent

    SQL > select to_number(end_time-start_time)/60 t.

    TO_NUMBER(END_TIME-START_TIME)/60

    ---------------------------------

    .000604167

    SQL > select to_number(end_time-start_time) * 24/60 t.

    TO_NUMBER(END_TIME-START_TIME) * 24/60

    ------------------------------------

    .0145

    SQL > select to_number(end_time-start_time) * 60 * 60 t.

    TO_NUMBER(END_TIME-START_TIME) * 60 * 60

    ------------------------------------

    130,5

    SQL > select to_number(end_time-start_time) * 60 * 60/24 t;

    TO_NUMBER(END_TIME-START_TIME) * 60 * 60/24

    ---------------------------------------

    5.4375

    Hello

    Search Date arithmetic in the manual of the SQL language.

    When you subtract one DATE from another, the result is the number of days between them.  .03625 days is a little more de.033333333... days, which is 1/30 a day, or 48 minutes.

    If you want the difference in hours, multiply by the number of hours per day, which is 24.

    If you want the difference in minutes, multiply by the number of minutes per day, or 24 * 60.

    If you want the difference expressed in days hours: minutes: seconds, then you are better off conversion (at least) one of the DATEs in TIMESTAMP; then, when you subtract them, you will get the difference as an INTERVAL DAY TO SECOND, which appears as

    + 05:06:37.000000 000000000

    This means that 0 days, 5 hours, 6 minutes, 37 seconds.

  • start date for each week of the month

    Dear members

    How can I find double, the start date of each week of the month in a year.
    beginning of the week is the word "Monday".


    year month week day date
    ----------------------------------------------------------------------------------------
    Monday, January 3, 2011 JAN 1, 2011
    2011 2 JAN Monday, January 10, 2011
    Monday, January 17, 2011 January 3, 2011
    JAN 4 2011 on Monday, January 24, 2011
    2011 to January 5 Monday, January 31, 2011


    Thank you

    teefu

    Hello

    You can use this:

    with t as  (select to_date ('01/01/2011', 'DD/MM/YYYY') start_date from dual)
    select  date_calc
    from (
            select  start_date,
                    (level-1)*7+trunc (start_date , 'D')+1   as date_calc
            from t
            connect by level <=53)
    where trunc(date_calc,'YYYY')=trunc(start_date,'YYYY') ;
    

    Kind regards
    Sylvie

  • by the numbers, how can I convert a start time and end in hours time

    I convert my files to Excel, and no to not translate my formulas.

    I have a start time, end time, and hours, what formula should I use to have hours to calculate?

    Thanks for any help

    by the numbers, you can perform mathematical operations on time like this... assuming they are valid values for date/time...

    Assuming that one time is in cell A1 and the other is in A2, you can get the difference like this:

    = dur2hours(a1-a2)

  • my laptop starts ok and runs OK for about 20 minutes. Then I lose the picture and the screen shows multicolored lines after the screen turns off. Have no option but turn off...

    I have no choice, but to turn off when I next starts, the system works for 15/20 minutes and then the problem comes back I'm back able to boot and run for 15-20 minutes before the problem. What can be wrong?

    Hello

    It's graphic (corrupted graphics drivers or graphics hardware fault), or an overheatring problem.

    1. go to the website of your computer manufacturer > drivers download Section > then key in your computer model number > find your operating system > find two graphics / video or the drivers of the Chipset and download and install.

    If the problem does not have the graphic material.

    2. overheating (normally will stop completely):

    The vents of your laptop becomes clogged with dust, fur, hair, etc.

    You can buy cans of compressed air to clean.

    If that complies, you may consider a repair shop in order to open the laptop and clean the inside of it.

    Also do not use a laptop when it is based on blankets, bedspreads.

    As you can see there may be two reasons for your problem

    See you soon.

  • Start time and end of timestamp time calculation

    Hi all

    I have an entry below,

    Channel_number GPS_TIME
    581513-05-2013 18:56:46.410000
    581513-05-2013 18:56:47.410000
    581513-05-2013 18:56:48.410000
    581513-05-2013 18:56:49.410000
    578013-05-2013 18:56:49.510000
    578013-05-2013 18:56:50.410000
    578013-05-2013 18:56:51.410000
    581513-05-2013 18:56:51.510000
    581513-05-2013 18:56:52.410000

    I'm trying to get the result as below,

    CHANNEL_NUMBER BEGIN_TIME End_time
    581513-05-2013 18:56:46.41000013-05-2013 18:56:49.410000
    578013-05-2013 18:56:49.51000013-05-2013 18:56:51.410000
    581513-05-2013 18:56:51.51000013-05-2013 18:56:52.410000

    Please, help me find it.

    Thank you all

    with

    the_data as

    (select 5815 channel_number to_timestamp ('2013-05-13 18:56:46.410000 ',' yyyy-mm-dd hh24:mi:ss.ff') gps_time of all the double union)

    Select 5815, to_timestamp ('2013-05-13 18:56:47.410000 ',' yyyy-mm-dd hh24:mi:ss.ff') of all the double union

    Select 5815, to_timestamp ('2013-05-13 18:56:48.410000 ',' yyyy-mm-dd hh24:mi:ss.ff') of all the double union

    Select 5815, to_timestamp ('2013-05-13 18:56:49.410000 ',' yyyy-mm-dd hh24:mi:ss.ff') of all the double union

    Select 5780, to_timestamp ('2013-05-13 18:56:49.510000 ',' yyyy-mm-dd hh24:mi:ss.ff') of all the double union

    Select 5780, to_timestamp ('2013-05-13 18:56:50.410000 ',' yyyy-mm-dd hh24:mi:ss.ff') of all the double union

    Select 5780, to_timestamp ('2013-05-13 18:56:51.410000 ',' yyyy-mm-dd hh24:mi:ss.ff') of all the double union

    Select 5815, to_timestamp ('2013-05-13 18:56:51.510000 ',' yyyy-mm-dd hh24:mi:ss.ff') of all the double union

    Select 5815, to_timestamp (' ' 2013-05-13 18:56:52.410000 ',' yyyy-mm-dd hh24:mi:ss.ff ") of the double

    )

    Select channel_number, begin_time, end_time

    from (select gr,

    channel_number,

    FIRST_VALUE (gps_time) on begin_time (gr stopped by gps_time partition),

    FIRST_VALUE (gps_time) on end_time (gr stopped by gps_time desc partition),

    ROW_NUMBER() on rn (gr stopped by gps_time partition)

    from (select channel_number, gps_time,

    ROW_NUMBER() on row_number() (order of gps_time) - on the gr (partition by order of gps_time channel_number)

    of the_data

    )

    )

    where rn = 1

    begin_time order

    CHANNEL_NUMBER BEGIN_TIME END_TIME
    5815 13 MAY 13 06.56.46.410000000 PM 13 MAY 13 06.56.49.410000000 PM
    5780 13 MAY 13 06.56.49.510000000 PM 13 MAY 13 06.56.51.410000000 PM
    5815 13 MAY 13 06.56.51.510000000 PM 13 MAY 13 06.56.52.410000000 PM

    Concerning

    Etbin

    Post edited by: Etbin me or Apex we missed something in the original post

  • I would like to see the integration between the bridge and creative cloud for metadata management

    It seems to me that there should be a shipment to the creative cloud option in bridge, and the option should include filters to send or bring down metadata from your file when it sends, so you can control what metadata is in your shared folder. The workflow that I imagine is a Bridge preferences, where you can check what metadata is sent to the creative cloud, then add creative cloud to export to the right click menu or him give his own entry in right click menu. Then whenever you send anything to creative cloud, it obeys the Bridge settings regarding metadata. In this way, the bridge remains the central place to manage all your CS metadata, either on your computer or in the cloud.

    We take it is a feedback to further improve our product Adobe Bridge & CCM.

    In the meantime you can also access the demand for functionality in fillink wishform form in the link below:

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

    Thank you

    Florian

  • specify the start date of subscription plan?

    How can I specify the start date for a subscription to a plan (as the land line + mobile for the plan of Britain)? I would like to be covered for the month of September. I have to wait until September 1 before you subscribe and pay?

    Thank you

    Rob

    RobIreland wrote:

    I have to wait until September 1 before you subscribe and pay?

    Hello and welcome to the Skype community.

    Yes, you do.

    TIME ZONE - US EAST. LOCATION - PHILADELPHIA, PA, USA.

    I recommend that you always run the latest version of Skype: Windows & Mac

    If my advice helped to solve your problem, please mark it as a solution to help others.
    Please note that I usually do not respond to unsolicited private Messages. Thank you.

  • Return max date records before the start date

    Hello

    Can anyone help please?

    I have two subqueries, a tableofchildren called, the other called tableofworkers. Tableofchildren identifies the date the child started a class.

    The second query, Tableofworkers, lists the workers and their history of involvement with the child. A child may have had a history with several workers. The worker has an allocatedstartdate indicating when they began to work with the child.

    For my purpose, I need to return the workername and the allocatedstartdate of the worker involved with the child more recently before or at the time when the child began the course.

    I have partially accomplished this with the query below. However, due to the quality of the data, the child may not always have an affected worker (allocatedstartdate) earlier or equal to the start date for the course of the child. In this case, the query fails and does not return the child record, that it excludes from the dataset.

    Can anyone suggest a way to modify this query, so it acts like a left outer query and returns all the records in the child and null raising where they have no worker allocated beginning before or on the date of start of course?

    Thank you! :)
    select *
     from
    (
    select tc.childid, 
    tc.childname, 
    tc.enteredcourse, 
    tw.workername, 
    tw.allocatedstartdate, 
    row_number() over ( partition by tc.childid, tc.enteredcourse order by tw.allocatedstartdate desc) rn
    from tableofchildren tc, tableofworkers tw
    where tc.childid = tw.childid(+)
    and tc.enteredcourse >= nvl(tw.allocatedstartdate,add_months(sysdate,-10000))
    )
    where rn = 1 
    desired output
    CHILDID CHILDNAME            ENTEREDCOURSEDATE         WORKERNAME           ALLOCATEDSTARTDATE        
    ------- -------------------- ------------------------- -------------------- ------------------------- 
    C1000   Johnny Rotten        01-APR-11                 Mrs Gerbil           19-AUG-10                 
    C1256   Doris Dingle         12-AUG-03                 Mrs Pepsi            12-AUG-03                 
    C3466   Bonny Boy            25-MAR-11                 Mrs Jones            23-FEB-11                 
    C4567   Casper Ghost         21-MAR-09                                                                
    C1245   Doris Dingle         20-NOV-06             
    create the table tableofchildren
    (ChildID varchar (6))
    ChildName varchar (20),
    Date of EnteredCourse,
    Date of LeftCourse);

    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ("C1000", "Johnny Rotten', to_date (' 01/04/2011 ',' dd/mm/rrrr'), to_date (' 23/05/2011 ',' dd/mm/rrrr'));
    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ('C1256', 'Doris Dingle', to_date (' 12/08/2003 ',' dd/mm/rrrr'), to_date (' 16/09/2005 ',' dd/mm/rrrr'));
    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ('C3466","Bonny Boy', to_date (' 25/03/2011 ',' dd/mm/rrrr'), to_date (' 28/03/2011 ',' dd/mm/rrrr'));
    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ('C4567', 'Ghost Casper', to_date (' 21/03/2009 ',' dd/mm/rrrr'), to_date('22/04/2010','dd/mm/rrrr'));
    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ('C1245', 'Doris Dingle', to_date (' 20/11/2006 ',' dd/mm/rrrr'), to_date (' 30/12/2008 ',' dd/mm/rrrr'));


    create the table tableofworkers
    (WorkerID, varchar (6))
    WorkerName varchar (20),
    Date of AllocatedStartDate,
    Date of AllocatedEndDate,
    ChildID varchar (6));

    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3453', 'Ms. Whatever", to_date('12/05/2009','dd/mm/rrrr'), to_date ('2009-06-13', ' dd/mm/rrrr'),"C1000");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3442', 'Mr. Toad', to_date('14/07/2010','dd/mm/rrrr'), to_date (' 18/08/2010 ',' dd/mm/rrrr'), "C1000");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W14592', "Mrs gerbil', to_date (' 08/19/2010 ',' dd/mm/rrrr'), NULL,"C1000");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3442', 'Ms. Pepsi", to_date('12/08/2003','dd/mm/rrrr'), to_date (' 22/04/2007 ',' dd/mm/rrrr'),"C1256");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3490', 'Mr. tomato' to_date('12/03/2008','dd/mm/rrrr'), to_date (' 04/30/2009 ',' dd/mm/rrrr'), "C3466");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3453', 'Ms. Whatever", to_date('01/06/2009','dd/mm/rrrr'), to_date ('2010-04-30', ' mm/dd/rrrr'),"C3466");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3457', "Mrs Jones", to_date('23/02/2011','dd/mm/rrrr'), null, "C3466");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3453', 'Ms. Jobsworth", to_date('22/11/2006','dd/mm/rrrr'), null, 'C1245');


    create the table OutputWanted
    (ChildID varchar (6))
    ChildName varchar (20),
    Date of EnteredCourseDate,
    WorkerName varchar (20),
    Date of AllocatedStartDate);

    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ("C1000", "Johnny Rotten', to_date (' 01/04/2011 ',' dd/mm/rrrr'),"Mrs gerbil", to_date('19/08/2010','dd/mm/rrrr'));
    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ('C1256', 'Doris Dingle', to_date (' 12/08/2003 ',' dd/mm/rrrr'), "Ms. Pepsi", to_date('12/08/2003','dd/mm/rrrr'));
    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ('C3466","Bonny Boy', to_date (' 25/03/2011 ',' dd/mm/rrrr'), "Mrs. Jones", to_date('23/02/2011','dd/mm/rrrr'));
    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ('C4567', 'Casper the ghost', to_date (' 21/03/2009 ',' dd/mm/rrrr'), null, null);
    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ('C1245', 'Doris Dingle', to_date (' 20/11/2006 ',' dd/mm/rrrr'), null, null);

    Published by: little Penguin November 21, 2011 07:03

    What something like that?

    SELECT childid
         , childname
         , enteredcourse
         , workername
         , allocatedstartdate
    FROM
    (
         SELECT toc.childid
              , toc.childname
              , toc.enteredcourse
              , tow.workername
              , tow.allocatedstartdate
              , ROW_NUMBER() OVER (PARTITION BY toc.childid ORDER BY tow.allocatedstartdate DESC) AS rn
         FROM   tableofchildren   toc
         LEFT JOIN tableofworkers tow ON tow.childid = toc.childid
                         AND toc.enteredcourse >= tow.allocatedstartdate
    )
    WHERE rn = 1
    

    Just note that you need a different RANK and DENSE_RANK analytical ranking function if there is a chance that many workers could be attributed to the children on the same allocatedstartdate.

  • 39L4363D - cannot set the record time of beginning and end of filling time

    Hello

    I have a problem with my 39L4363DG tv (software 7.1.90.34.01.1).

    I'm not able time of filling time of beginning and end of record setting as described in the [Manual | http://www.toshiba-om.net/LCD/PDF/English/L4363-323950-English.pdf] on page 51. The menu item "padding-start" and 'end padding time' are disabled?

    Can someone help me and give me advice on how to solve it?

    Hello

    The charging time can be set for the scheduled recording.

    There is also a priority planning
    If the regular time intervals are ensuites to each other and there is more than one minute between the time of the end of the annex i and the next scheduled start time, scheduled recording will be performed correctly.

    When + start time of filling + and + hour of end padding + are value, the start time and end time more is the time the extra minutes.

    If planning time overlap, priority will be given to the scheduled recording starts first.
    When the scheduled recording that began the first ends, recording will switch to the next regular program.
    At that time, according to how much programming time to overlap, the section from the beginning of the next regular program is not registered.

  • Fine to start Windows and the computer works correctly for 5-10 minutes and locks up.

    My computer starts well and runs properly for a short period of time, and then it crashes.

    (1) open a by a right-click command prompt and select "run as Administrator".
    and then at the command prompt, type: chkdsk /f r, then press the Enter key.

    If you are asked to plan the volumn to check the next time that the system restarts,
    Enter: y

    If you know the manufacturing of your hard drive you can also download their diagnostic software.

    Another use: SpeedFan has an online health analysis function
    (SMART tab) for hard drives. It will show how your disks
    compared with other discs of the same brand and model.
    http://www.almico.com/SpeedFan.php

    =====================================================================

    (2) run the command SFC /SCANNOW. This will check and repair if necessary all of the critical Windows system files.

    Click on start / all programs/accessories then
    Right-click on the command prompt option and select "Run as Administrator".
    (or "Safe Mode" open a command prompt)
    At the command prompt, enter: SFC/scannow

    Windows 7 - order SCANNOW SFC - System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    How to analyze the entries in log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista:
    http://support.Microsoft.com/kb/928228

    J W Stuart: http://www.pagestart.com

  • The managed path data

    Someone knows how can I make areport of all virtual machines with RDM which will include the managed path LUN id. IS this possible with Vfoglight?

    It is not possible to do with vFoglight. vFoglight storage that offers visibility deeper into physical storage could achieve this functionality in a future release.

    / Mattias

  • Questions of blackBerry Smartphones on the management of e-mail messages

    Hello

    IM new to BBing and try to include the management of e-mail on my BB tour.  Can help you with these questions?

    By clicking on the option "file" for a selected message emal presents a choice of 3 folders: one named for my e-mail account, one named "inbox" and another named "Spam."   Rather than put my email in one of these folders, I would like to put in a special folder that I will not name.  How can I be able to do this?

    What is a sign less '-' in front of an average of folder name?  for example "-Inbox.

    Where are found e-mail records?  Is it possible that I can see a list of all folders and files on my BB?

    Another option for a selected e-mail message is 'save '.  What does that mean?  Where is saved the message?  Why is it always displayed in the message list?  Is it possible to know what messages in the list have been saved?

    option "file"? you mean the menu button (button to the left of the trackball with the BB logo)?

    for what is saved messages, if you save it, it is saved in a folder of messages backed up, which is hidden by default and you can display the icon or press the menu and view saved the message. not very convenient if its still in your Inbox. But if you save it, and then delete. You can then go to the menu and view saved messages and you will see now all e-mails backed up, even if you have removed from the Inbox... unless you remove then to save.

    don't know where you found inbox, spam, or - sign. be more specific on the

  • Calculate the start and end date in Connect By - during Hirerchy changes

    / * Formatted 05/20/2013 09:53 (PS5 v5.115.810.9015) * /.



    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    Hello, can you please help me or guide me in the calculation of the dates of beginning and end to the underside of logic

    I want to calculate the Hirerchy Manager to the Agent.
    Then under query works fine and its giving me the expected results
    But when there is a change in the Hirerchy Manager or manager gets promoted
    Then I need to calculate the start date and end date.
    CREATE TABLE PERSON_DTL
    (
      SID                 VARCHAR2(10 BYTE),
      EMP_MGRS_ID         VARCHAR2(10 BYTE),
      START_EFFECTIVE_DT  DATE,
      END_EFFECTIVE_DT    DATE
    );
    
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M100', 'M107', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M101', 'M102', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('A100', 'M100', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M100', 'M101', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M107', 'M102', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M102', 'M103', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M103', 'M104', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('A101', 'M105', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
     Values
       ('M105', 'M106', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    SELECT   CONNECT_BY_ROOT (b.sid) agent_sid,
                 TRIM (
                    LEADING ',' FROM    SYS_CONNECT_BY_PATH (b.sid, ',')
                                     || ','
                                     || b.emp_mgrs_id
                 )
                    PATH,
                 START_EFFECTIVE_DT Start_dt,
                 END_EFFECTIVE_DT End_dt
          FROM   PERSON_DTL b
         WHERE   CONNECT_BY_ISLEAF = 1
    START WITH   sid IN ('A101', 'A100')
    CONNECT BY   PRIOR b.emp_mgrs_id = b.sid
    This is the results that i am getting now.
    
    AGENT_SID    PATH                       START_DT    END_DT
    
    A100    A100,M100,M101,M102,M103,M104    1/1/2010    12/31/9999
    A100    A100,M100,M107,M102,M103,M104    1/1/2010    12/31/9999
    A101    A101,M105,M106                   1/1/2010    12/31/9999
    Results Required
    
    A100    A100,M100,M101,M102,M103,M104    1/1/2010    5/18/2013
    A100    A100,M100,M107,M102,M103,M104    5/20/2013   12/31/9999
    A101    A101,M105,M106                   1/1/2010    12/31/9999

    WITH the CLAUSE will make it readable

    SQL> with paths as
      2  (
      3        SELECT   CONNECT_BY_ROOT (b.sid) agent_sid,
      4                 TRIM (
      5                    LEADING ',' FROM    SYS_CONNECT_BY_PATH (b.sid, ',')
      6                                     || ','
      7                                     || b.emp_mgrs_id
      8                 )
      9                  PATH,
     10                 START_EFFECTIVE_DT Start_dt,
     11                 END_EFFECTIVE_DT End_dt,rownum rn
     12        FROM   PERSON_DTL b
     13        START WITH   sid IN ('A101', 'A100')
     14        CONNECT BY   PRIOR b.emp_mgrs_id = b.sid
     15  ),
     16  flagged as
     17  (
     18      select agent_sid,
     19             path,
     20             start_dt,
     21             end_dt,rn,
     22             case when path like lag(path) over(order by rn)||'%' then 0 else 1 end flg
     23      from paths
     24  ),
     25  summed as
     26  (
     27      select agent_sid,path,start_dt,end_dt,
     28             sum(flg) over(order by rn) sm
     29      from flagged
     30  )
     31  select agent_sid,max(path) path,max(start_dt) start_dt,
     32         min(end_dt) end_dt
     33  from summed
     34  group by agent_sid,sm
     35  order by agent_sid;
    
    AGENT_SID  PATH                                     START_DT  END_DT
    ---------- ---------------------------------------- --------- ---------
    A100       A100,M100,M101,M102,M103,M104            01-JAN-10 18-MAY-13
    A100       A100,M100,M107,M102,M103,M104            20-MAY-13 31-DEC-99
    A101       A101,M105,M106                           01-JAN-10 31-DEC-99
    
  • Primavera P6 API - start and end dates of the activity in the secondary reference scenario

    How to seek early and dates of activity in the secondary database or tertiary reference end? There are areas of activities and methods provided in planning extraction and primary base line project (active class getBaseline1StartDate(), getBaseline1FinishDate) but can't find any secondary data or tertiary basis even if we show them in details the activity in the Primavera. I use Primavera integration API version 8.2.

    Use the BaselineProjectHelper class to get a list of all the base lines for a given project.  Go through the list looking for basic lines you are interested in.

    Once you have basic interest projects, pull a list of ongoing project activities.

    Browse the list of activities tearing you start and end dates.

    Call the method on each of you loadBaselineActivity of reference projects for the departure of the referenced activity and end dates.

    For performance, seek assistance loadBaselineActivities to reduce database queries.

    V/r,

    Gene

Maybe you are looking for

  • Video YouTube won't play in Safari

    My YouTube video I have uplaoded today will not play on Safari.   No problem wikth other videos YouTube.    I downloaded today a video will play well in google Chrome.   I emptied the Cache and Web history, there is no ' change will not play this vid

  • FCPX will not be upgraded to 10.2.3

    Mac Mini • 2.6 ghz Intel Core 7 • OS 10.11.3 2012 The machine is not even showing it is a FCPX 10.2.3 update available when you click updates in the App Store. I FCPX on a 13 inch, Macbook Pro, who did go to FCPX 10.2.3. I have an old 17 inch Macbook

  • Windows Update is frozen at 18%, I can't stop. Help! __

    Hi there, Windows update is blocked at 18 percent.  I can't even stop trying.  I uninstalled my antivirus thinking that may be the problem and it still does not work.  Any ideas?  Thank you

  • Folders, files and programs from a folder called 'research', can I get back them?

    I found a folder named "research." I looked at it and saw that can be found just about everything I downloaded. Movies, etc. I started to delete some and realized that I should not delete. Tried to recover - no chance. Half my office has disappeared,

  • My (Captivate 9) Quiz results slide does not score or totals - results

    I set Quiz preferences. Is there anything else I need to do? Partition doesn't appear after publication or when published on first LMS.