Regarding working hours of a month

Hi All,
I have 3 page items (2 are date picker item & 3rd is text box item).
Now when user insert date into 1st datepicker item as "06/16/2009" and into 2nd datepicker item as "07/15/2009", than into 3rd page item(which is text box) should automatically caluated as <b>22</b>. As 22 are the actual working days btw "06/16/2009 and 07/15/2009" excluding weekends.
I did by calcuated into SQL Server 2005 Mgmt Studio something like this:-
declare @fromdate datetime
declare @todate datetime
declare @day int
declare @count int
set @fromdate = '06/16/2009'
set @todate = '07/15/2009'
set @day = 0
set @count = 0
while ( @fromdate <= @todate )
     begin
          set @day = (select datepart(weekday, @fromdate))
          if (@day >=2 and @day <= 6)
          begin
               set @count = @count + 1
          end
          set @fromdate = @fromdate + 1
     end
SELECT @count
and the output was <b>22</b> which was same as my req.
Now my question is in what way I should go ahead into APEX such that 22 number is caluated by form itself, do I need to write pl/sql process or using JS?
Which will be best and professional way?
If any other way than plz do let me know.
Thanks
I appreciate your replies n suggestion.
regards,
Kumar

SQL>CREATE OR REPLACE function WORKING_DAYS(
s in date := to_date('06/16/2009','mm/dd/yyyy'),
e in date := to_date('07/15/2009','mm/dd/yyyy')
return number
is
     t_hr number := 0;
        t_incr number := 0;
        t_cnt number := 0;
begin
     loop
                select decode(rtrim(to_char(s + t_cnt,'DAY')),'SATURDAY',0,'SUNDAY',0,1) into t_incr from dual;
             t_hr := t_hr + t_incr;
                t_cnt := t_cnt + 1;
            exit when t_cnt + trunc(s) = trunc(e) + 1;
     end loop;
return t_hr;
end;
select WORKING_DAYS() from dual;
WORKING_DAYS()
         22

Similar Messages

  • Hourly rate will not multiply with period working hours to give monthly Pay

    Dear All,
    Hourly rate 10.9 will not multiply with period working hours 173 to give monthly Pay. Thsi is for hourly employee, but they are paid monthly. Basic pay.
    Regards
    Emus

    At the moment, I am trying to maintain rate in infotype 0008. Please advise. Do you think that is why it is not calculating?
    Kindly help, as this very urgent now in my company.
    Regards
    Vincent

  • Project 2013 - entering work hours at a monthly level

    Hi all, 
    Any help with this 'hopefully small' problem will be hugely appreciated. It's not so much a problem, but
    me still being new to Project - sorry! As a summary of what I am working with:
    I have entered a list of tasks (all set to Manually Scheduled).
    I have entered a number of resources into the Resource List. 
    I have also assigned relevant resources to the tasks. 
    Using the Task Usage view, I would now like to begin entering Work hours for the resources assigned to the
    tasks. We are planning at a monthly level, so I know how many hours each resource is expecting to be spending on each task over each month. 
    I have set the Timescale of my Task Usage screen to a monthly scale, thinking that this would allow me to
    enter total hours for each month. As an example, one of the resources assigned to a task is set for 15 hours of Work in April. It all seems to look OK on input. 
    My problem is however, I would like the Start and Finish fields to reflect this, and span over the months
    in which the Task's resources will be doing work. It doesn't seem to pick up the month accurately. Although I have entered the 15 hours in the column labelled April, the Start and Finish dates have come out as 30/04/14 and 30/05/14 respectively. I was hoping
    the Start and Finish times of that row to be 01/04/14 and 30/04/14 respectively, but they are a month out of line, and has show the work to be happening over May, not April. Is there y way I can change this?
    I hope this makes sense as a question? Any help at all would be brilliant. Please do let me know if I've
    missed any detail and you need some more info. I'll also continue looking through the forums to check if this has already been asked. 
    p.s. I tried to upload an annotated image, but my account needs to be verified first. Do I need to do anything to request this? I didn't receive any usual 'verification' links in MS's email on opening this account.
    Thanks very much, 
    ac18

    Hi John, Julie,
    Thank you both very much for the help! Yes good spot, I did post it on both forums (http://www.msofficeforums.com/project/21190-project-2013-entering-work-hours-monthly-level.html) - it's been years since I've used forums of any kind, and it's great to see
    experts being active across multiple sites! 
    I have given both suggestions a try, but unfortunately am still not quite there yet. 
    John, although your tip seems to work OK, I think I was hoping to find a way for the Start and Finish times to automatically span across the Work hours I have entered. If I was to then enter another 5 hours, but this time for March, the Start-Finish dates
    should auto update to be 01/03/14 - 30/04/14. I understand now that this may require me to be on an Automatically Scheduled project? 
    Julie, your screen shot on the msofficeforums.com website is exactly what I am looking to achieve! I would like to enter month-level Work data, and that looks to be exactly that. I did try entering a zero in the month immediately after the last month that
    had hours in it, but Project seemed to simply ignore it, with no visible change to the dates. 
    I have done some further investigating, and there does seem to be something different happening with my Project version (it's Proj Prof 2013). I have access to another computer with Project 2010 installed on it, and this doesn't seem to cause an issue. Note,
    I did need to have set the tasks as Auto Scheduled. 
    Essentially, if I try and exactly replicate Julie's example on both versions with the following steps, I get slightly different results:
    Tasks set to Auto-Scheduled. 
    Set Project Start Date to 01/01/14
    Enter some resources. 
    Switch to Task Usage view. 
    Set the Timescales on the right hand side to: Bottom tier=Months, Middle tier=Quarters. 
    Enter a task. 
    Assign resources to the task. At this point, by default 8 hours worth of work appears for each assigned resource. In 2010, these hours appear in the January 14 column. But on my 2013 laptop however, these hours appear under the December 2013 column. Strange?
    Anyway, in both cases I clear these default hours by entering zeros in their places.
    I now enter 15 hours under April 2014 for one of the resources on the task.
    In 2010, the Start and Finish dates of the assigned resource's row update to 01/04/14 - 30/04/14.
    In 2013 however, the Start and Finish dates update to 30/04/14 - 30/05/14. 
    I have a feeling that this discrepancy is perhaps at the heart of my problem? Is there a setting with the application that I am not making?
    Thanks again, 
    Arjun

  • How to update capacity util. level & Work hours in IT -8

    Dear Concern,
    There is a problem in updating capacity util. level & Work hours in IT -8 in the T -Code -PA30. It is still showing Capacity 0% & Work Hours -0 hr monthly. We have already  updated the same as 100% & 208 hr. monthly in Info Type-7 , inspite of then, the same has not been automatically updated in Infotype 8..
    Please advice how can we update Capacity Utilisation & Working hours in the Infotype 8 as  we have already updated it in the Infotype 7.
    Thx

    You cannot show a specific timespan, e.g., 8AM to 5PM, and hide the remaining hours. However, you can highlight the working hours of the day by implementing getWorkingStartTime and getWorkingEndTime on the Resource.
    You can specify the workingTimeColor attribute (optional, there is a default) on Gantt to set the working time color.

  • Calculating worked hours

    Hey guys, I'm sorry if this has been asked a million times, but I can't seem to find the exact answer by searching.
    I want to use numbers '09 to calculate the hours I've worked, preferably each week. However, I'd like this list to continue over time, rather than making a new table every week, IE I can see what days I worked 3 months ago and how many hours I did.
    What I want to have is a chart, in which I can insert my clock in and clock out times, and after every 7th day it will give me a total of my worked hours.
    Here is a screenshot of a layout I'd like, however I'm open to better suggestions! It's all just typed in, but I'd like it to be auto complete of course.
    http://img512.imageshack.us/img512/7370/screenshot20091129at230.png
    Is this possible? In the future I'd like it to be able to calculate my pay aswell, maybe with a forumla to minus the 1 hour of lunch inbetween my clock in and clock out, however this could wait as I'm very new to this program.
    All help is GREATLY appreciated,
    Thanks, Lewis.

    Hi Lewis,
    The first three columns must contain data recognized by Numbers as Date and Time information.
    I would skip the empty spaces in the date list. Enter the first date in A2 and use the Cell (format) Instpector to set the date format to match your example.
    Then click on A2, grab the small round handle at the bottom right of the cell and drag down to fill in the rest of the dates.
    The Duration column (D) could contain a simple formula:
    =Clock out 'Sun, Nov 29, 2009'-Clock in 'Sun, Nov 29, 2009'
    But in that form it will generate an error message in the weekly sum for any week in which you didn't work (or at least record an in and out time) on every day. To avoid that, use the formula below:
    =IF(ISBLANK(Clock out 'Sun, Nov 29, 2009'),"",Clock out 'Sun, Nov 29, 2009'-Clock in 'Sun, Nov 29, 2009')
    +Note: Construct the formula using the Function Browser to insert the functions. Click on the cells whose values are to be used. The labels above are those that were generated as I constructed the formulas; typing them in may not work in your table.+
    Fill down column D by dragging the handle as above.
    +With the data in your sample table, you will get a "-10h 0m" result in D2 as all times in this row are recorded as being on November 29, 2009. Quit before midnight. (Or adjust your start and stop times to both fall on the same day.)+
    E8 (and every seventh cell in E after than) will use the
    SUM function to add the times for the past seven days.
    =SUM(D2:D8)
    To Fill down column E, select the seven cells E2:E8, then grab and drag the handle down the column.
    You should get mostly empty cells, with a number or a duration appearing in every seventh row.
    Regards,
    Barry

  • How to Calculate Total Worked Hours in a date range

    <p><span>WorkedHours column type is varchar(8) (for HH:MM:SS), <br />how to sum working hours of an employee for every month.</span> <br /></p><p><span>ex. of data : WorkedHours<br /><br />attencode   attendate   WorkedHours<br />1573         20-01-2007    07:34:22<br />1573         21-01-2007    12:31:10<br /><br />how can i sum the WorkedHours and print it in Hours format.<br />(like 20.17 for this 2 values)<br /><br />Can u able to follow me.<br />If not pls. feel free to get more information in this regard.</span></p>

    Create a formula like this :
    ((hour({tmpDate.attendate }) * 60 * 60) +
    (minute({tmpDate.attendate }) * 60) +
    Second({tmpDate.attendate }))/3600
    and then take the Sum of it. You can get the result.
    logic behind this is all the hours and minutes are converted into seconds and then added and divided by 3600 to get the actual hours.
    thanks
    kanak

  • Allowance calculation based on Planned & Actual working hours

    Hi,
    Please advise how to calculate an allowance based on employees Planned working hours & Actual working hours for a particular work schedule rules.
    Example A – Employee on Work Schedule for the Whole Month Employee has a 0007 infotype record that has them on Work Schedule SC112 for the whole of April 2008. System pays 100% of the allocated payment of $166.67 per month
    Example B – Employee on Work Schedule for part of the Month, Employee has a 0007 infotype record that has them on Work Schedule SC112 for the part of April 2008 as they only started on 14th April 2008. Planned Hours for April for SC112 are 180 hours and this person has worked 108 hours which is 60% (=108/180). System should pay 60% of the allocated payment of $166.67 per month which results in a payment of $100.00 for the employee.
    Your help would be really appreciated.
    Regards
    Ranjith Yama

    Hi Manoj,
    Suppose ABCD is the wagetype for xyz allowance. I hope you are getting this 1000 amount from T510.
    This is the logic of PCR for your requirement.
    ABCD
      NUM=TKAU**        --> Getting Unpaid Absences (Suppose 2)
      RTE=KCONS2        --> Maintain CONS2 constant in T511K Table with 200
      MULTI NRA            --> Multiplying No.of Absences with 200.. that is 400
      ADDWT &BUFF     --> Saving that in one Variable
      FILFF NRA            --> Restoring Actual values
      AMT- &BUFF        --> Subtracting from 1000 and you will get the 600
      AMT?0
         ADDWT *
       <              
         AMT=0             --> if amount is less than 0 then amount will bocome 0
    Hope this helps.
    Pradeep.

  • Std report for viewing emp working hours

    Hi all,
    I want to know what is the standard report available in HR module to view the Employee aproved working hours and Unapproved working hours...?
    Regards,
    Shanthi

    Hello,
    maybe you can find this data, at the PT62, PT64, PT65, PT90_ATT and PT91_ATT TRANSACTION CODES.
    Regards

  • Disconnected Slicer in PowerView - Hour | Day | Week | Month | Year | Max

    I want to create a Power View chart in Power BI with the Minute/Hour/Day/Week/Month/Year filters:
    Workbook can be downloaded at:https://www.dropbox.com/s/r00btg5zb8snohz/Disconnected%20Slicer%20Demo.xlsx?dl=0
    when MINUTE is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the last 60 seconds (from current time) with 5 or 10 seconds interval.
    when Hour is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the last 60 minutes (from current time) with 5 minutes interval.
    ex: 10:00AM 10:05AM 10:10AM ...................................11:00AM
    when DAY is selected the chart should display:
    Total Number of Msgs vs. X-axis showing last 24 hours (12AM to 11:59PM with 1 hour interval)
    when WEEK is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the last 7 days from current datetime stamp with 1 day interval.
    when MONTH is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the 30 days from current datetime stamp with 1 day interval
    when YEAR is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the last 12 months from current day with 1 month interval
    It would be great if the PowerView chart can be made to look something like this:
    shown in the below link:
    When '5 Day' is selected the values in the Y axis and X axis change automatically.
    Here's the link:
    https://www.google.co.in/search?&biw=1600&bih=799&sclient=psy-ab&q=google+share+price&oq=google+share+price&gs_l=serp.3..0l4.148.192.3.270.2.0.0.2.2.0.0.0..0.0.msedr...0...1c.1.60.serp..0.2.11.Jf8jXyUgmDA&pbx=1&bav=on.2,or.r_qf.&bvm=bv.82001339,d.dGY&ech=1&psi=qcGPVJmeJoHGmQXsooDACQ.1418707370733.9&ei=nsOPVJGiI6GgmQW0g4LABA&emsg=NCSR&noj=1
    for more clarifications and information please feel free to reach out to me at [email protected]
    www.twitter.com/mph88

    Hi Manjunath,
    Currently looking into a possible solution although some of the limitations within Power View restrict how close we can get to the ideal result. Still exploring some approaches :)
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com, Twitter:
    @nimblelearn

  • CRM 5.0 - IC WebClient - Due Date - Working Hours for Service Ticket

    Hi Gurus
    We're using a Service Ticket Transaction which has a Date Profile which provides a 48 Hour window for which the user must complete the Service Ticket Resolution.
    The issue is I want to tie this up to the Business working Hours. I just cannot figure out where I define the Business Working Hours.
    This is a Standalone CRM Implementation. Maximum points for the right answer.
    Many Thanks
    Panduranga

    Hi,
    The response time of 48 Hours must be maintianed in response profile... right?
    Similarly there is a availability profile in which you maintain the business hours/ availablity of your resources.
    These both together make a service profile.
    The availability profile is maintained in SAP Easy Access> Service> Service Contracts and Service Plans --> CRMD_SERV_SLA - Maintain Availability and Response Times
    Hope this will help
    Regards
    Rekha Dadwal

  • Calculation of working hours

    Hi all,
    I need a function module for the calculation of working hours. supose in the selection screen if i give 01.02.2007 to 01.10.2007 i need the calculation of working hours in that given range depending upon the personal number. Suppose if the employee is absent for 3 or 4 days within particular period of theat given range that days needs to be eliminated and should calculate for the rest of the days. Please find the below code iam finding a problem in this piece of code. Please this issue is very urgent please reply ASAP.
      gv_day = sy-datum - 7.
      CALL FUNCTION 'HRWPC_BL_DATES_WEEK_INTERVAL'
        EXPORTING
          datum    = gv_day
          week_pst = 0
          week_ftr = 0
        IMPORTING
          begda    = gv_begda
          endda    = gv_endda.
      IF sy-subrc <> 0.
      ENDIF.
    *AT SELECTION-SCREEN OUTPUT.
      pnpbegda = gv_begda.
      pnpendda = gv_endda.
    START-OF-SELECTION.
      SELECT sachn
             usrid
        FROM t526 INTO TABLE git_tmadmin
       WHERE sachn NE space
         AND usrid NE space.
      IF sy-subrc EQ 0.
        SORT git_tmadmin BY usrid.
      ENDIF.
    GET pernr.
      rp-provide-from-last p0001 space pn-begda pn-endda.
      IF pnp-sw-found <> 1.
        REJECT.
      ELSE.
        IF p0001-kostl NOT IN s_cctr.
          REJECT.
        ELSE.
          rp-provide-from-last p0007 space pn-begda  pn-endda.
          IF pnp-sw-found = 1.
            MOVE p0007-wostd TO gs_empdtls-wostd.
          ENDIF.
          MOVE :  p0001-pernr TO gs_empdtls-pernr,
                  p0001-kostl TO gs_empdtls-kostl,
                  p0001-ename TO gs_empdtls-ename,
                  p0001-sachz TO gs_empdtls-sachz.
        Employee Position from PA0001
          MOVE: p0001-plans TO gs_empdtls-plans.
          APPEND gs_empdtls TO git_empdtls.
          CLEAR gs_empdtls.
        ENDIF.
      ENDIF.
    Regards
    Mahesh

    What error are you getting?

  • Daily working hours calculation but Half an hour flexi before start of planned time & shortfall hours calculation

    Dear All,
    I want to calculate daily working hours but Half an hour flexi before start of planned time & shortfall hours calculation if a person didn't completed 9 hours job.
    We have different types of DWS, PWS & WSR for different PS/PSA & EG/ESG groupings.
    We have a requirement for Executives/Officers (E0-E8/ S1-S2) for only one PSA (1100) for only one DWS(GFLX). In this requirement I want to calculate daily working hours but Half an hour flexi before start of planned time & shortfall hours calculation if a person didn't completed 9 hours job.
    Please see the requirement and my configured DWS and PCR's in detail with example and suggest me the solution:-
    Overview
    I want to calculate (Please take the reference from DWS screenshot)
    daily working hours, but starting from first Begin Tolerance Time
    Shortfall of hours if 9 hours not completed, but again starting from first Begin Tolerance Time, although employee has come before Begin Tolerance Time
    I've configured one DWS as below,
    Requirement:-
    The planned shift timings is 9:30 - 18:30. Employees should work and complete 9 hrs in a day, but this 9 hours should be counted only from 9:00 (i.e. Begin tolerance time). It means. In time should not consider before 9:00.
    1. Suppose 1st day employee punch In time is 9:00 then he has to work up to 18:00, then only 9 hours of working will be completed & no shortfall will be calculated.
    In above case, if Out time is 17:00 then shortfall will be calculated 1.0 hours, because his working hours will be counted 8 hrs only.
    2. Suppose 2nd day employee punch In time is 9:45 then he has to work up to 18:45, then only 9 hours of working will be completed & no shortfall will be calculated.
    In above case, if Out time is 18:00 then shortfall will be calculated 0.75 hours, because his working hours will be counted 8.25 hrs only.
    3. Suppose 3rd day employee punch In time is 8:30 then he has to work up to 18:00, then only 9 hours of working will be completed & no shortfall will be calculated. (In between 9:00 - 18:00 ). Here In time is 8:30 but system should consider and count from 9:00.
    In above case, if Out time is 17:30 then shortfall will be calculated 0.5 hours, although he has worked 9 hrs.
    4. Suppose 4th day employee punch In time is 10:11 then he will be marked as Late Come(as per DWS) and then he has to work up to 19:11, then only no shortfall will be calculated, because he completed 9 hours.
    Now the below PCR is calculating Daily Working Hours,
    Now the below PCR is calculating Late Coming Hours,
    Overview
    I know that use of begin tolerance time is different in from my requirement. Please guide me if this DWS configuration will not work.
    As of now system is able to calculate Daily Working Hours (but not from the begin tolerance time), Late coming days and Late coming hours, but shortfall is not getting calculate properly.
    Please give me the idea how to write PCR for these requirement, I know that my ZDHR PCR (Daily Working Hours) needs to change or replace to fulfill this requirements.
    If you want any other details please let me know.
    Best Regards,
    Deepak

    Hi Sankarsan,
    After changing the function PTIP and I used GEN in PAR2, because in PAR3 error was coming.
    After the changes PCR is processing as below for three different IN time :
    1. when IN time is 8:45
    and in this case, ZES table No Time type is showing which is wrong because he worked from 8:45 to 18:30 it means 9:30 hours (calculation should start from 9:00 am).
    2. when IN time is 9:15
    and in this case, ZES table Time type 9002 is showing 9.25 hours which is correct because he worked 9.25 hours.
    3. when IN time is 10:30
    and in this case, ZES table Time type 9003 is showing 9.00 hours which is wrong because he worked only 8 hours.
    Pls suggest.
    Best Regards,
    Deepak

  • Hours in a month

    SDN,
    How to calculate number of hours in a month in a query.
    Thanks

    Hi,
    you can calculate date and time .go through the below link
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb334a358411d1829f0000e829fbfe/content.htm
    Regards,
    Marasa.

  • Updating work hours

    Greetings everyone,
    I'm trying to update a field in a table with the total work hours in a specific month. To achieve this I've tried using a piece of SQL found in several other threads to retrieve the number of work days in a month. This doesn't work properly in my case however, since the subquery doesn't know the reference to a field on a higher level. Here is the SQL:
    UPDATE PS_EMPL_WRK_HRS Z SET WRK_HRS = (
    SELECT Z.STD_HOURS * (SELECT COUNT(*)
        from (select trunc(Z.EFFDT, 'mm')+level-1 dt
               FROM   DUAL
               connect by level <= last_day(Z.EFFDT) - trunc(Z.EFFDT, 'mm')+1
        where to_char(dt, 'dy' ) not in ('sat', 'sun'))  END AS WRK_HOURS
    FROM PS_GENL_DEDUCT_NLD GD
    WHERE   Z.EMPLID = GD.EMPLID
      AND Z.EMPL_RCD = GD.EMPL_RCD
      AND (GD.DEDUCTION_END_DT >= Z.EFFDT OR GD.DEDUCTION_END_DT IS NULL)
    )The error message will be ORA-00904: "Z"."EFFDT": invalid identifier, because the subquery to retrieve the number of workdays in a month doesn't know about the Z alias.
    The PS_EMPL_WRK_HRS contains the EMPLID, EFFDT and STD_HOURS. For each employee the record contains one row for each last day of the month, which is stored in the EFFDT field.
    Any help would be appreciated!
    CREATE TABLE PS_EMPL_WRK_HRS (EMPLID VARCHAR2(11) NOT NULL,
       EFFDT DATE,
       STD_HOURS DECIMAL(6, 2) NOT NULL,
       WRK_HOURS DECIMAL(6, 2)
    Insert into PS_EMPL_WRK_HRS (EMPLID,EFFDT,STD_HOURS) values ('010382',to_date('31-05-2013','DD-MM-RRRR'),40);
    Insert into PS_EMPL_WRK_HRS (EMPLID,EFFDT,STD_HOURS) values ('010382',to_date('30-04-2013','DD-MM-RRRR'),40);
    Insert into PS_EMPL_WRK_HRS (EMPLID,EFFDT,STD_HOURS) values ('010382',to_date('31-03-2013','DD-MM-RRRR'),40);
    Insert into PS_EMPL_WRK_HRS (EMPLID,EFFDT,STD_HOURS) values ('010382',to_date('28-02-2013','DD-MM-RRRR'),40);
    Insert into PS_EMPL_WRK_HRS (EMPLID,EFFDT,STD_HOURS) values ('010382',to_date('31-01-2013','DD-MM-RRRR'),40);Edited by: Michel on Feb 5, 2013 3:53 PM - Added CREATE and INSERT script

    Fixed it already:
    UPDATE PS_EMPL_WRK_HRS Z SET  WRK_HOURS  = (
    CASE WHEN (SELECT
    1
    FROM PS_GENL_DEDUCT_NLD GD
    WHERE   Z.EMPLID = GD.EMPLID
      AND Z.EMPL_RCD = GD.EMPL_RCD
      AND (GD.DEDUCTION_END_DT >= Z.EFFDT OR GD.DEDUCTION_END_DT IS NULL)) = 1
    THEN 1 ELSE (Z.STD_HOURS - Z.DED_HRS_ILL_K ) * (SELECT COUNT(*)
            FROM
              (SELECT rownum rnum
              FROM ps_country_tbl
              ) Y
            WHERE y.rnum <= Z.EFFDT - to_date(TO_CHAR(Z.EFFDT,'YYYY-MM')||'01','YYYY-MM-DD') + 1
            AND TO_CHAR( Z.EFFDT + Y.RNUM - 1, 'D' ) NOT IN ( '1', '7' )
            ) END );

  • Calculating Standard working hours based on location/department

    Hi Experts,
    In Fusion HCM 8.0
    Is there any way to calculate the Standard working hours based on location/department and FLSA code?
    For new hires, can this be populated based on above criteria?
    Please let me know how to proceed on this.
    Thanks in advance.
    Thanks&Regards
    Prasanna Kesavan

    This might be better answered on the Human Capital Management (HCM) (MOSC) forum.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

Maybe you are looking for

  • Maintaince view of a table

    Hi All, I have created a custom table. While I display data for this table I need one extra field (from some other table) in the display. That extra field is not in the include structure. Any pointers... Thanks in advance. Neerja

  • Can't run (Media Encoder or Encore) and Premiere Pro

    I finished a sequence, started up Media Encoder, then began editing a new sequence with Premierer. The result was that after a while, Media Encoder "Not Responding". I started Media Encoder again and this time I left the room to watch TV. Media Encod

  • Server.MapPath problem in DW CS3

    When setting up the connection string for an Access database, connected to the testing server, "Driver={Microsoft Access Driver (*.mdb)};DBQ=" + Server.MapPath("/_private/caevents.mdb") produces the error [Microsoft][ODBC Driver Manager] Data source

  • Internet sales R/3 -- Web shop creation

    Dear friends,   I am creating a new web shop in internet sales web shop maintenance portal. Also I have created a product catalog in R/3 & assigned the same in the new web shop. Product catalog is replicated to trex server through ISA_CATALOG_REPLICA

  • Using refprop tables in LabVIEW

    I am developing a program that has to convert temperature to pressure using tables generated by NIST Refprop. Has anybody already developed this routine?