Skip to Content
author's profile photo Former Member
Former Member

Weekly Off (Saturday and Sunday ) Unpaid in PCR when LW/oP

Hi Experts,

How to make Weekly Off (Saturday and Sunday ) Unpaid in PCR when LW/oP is taken on Friday and Monday , we are in +VE Time

Thanks

Dvnr

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2016 at 08:06 AM

    Hi All,

    Any inputs on this please

    Thanks

    Dvnr

    Add a comment
    10|10000 characters needed characters exceeded

    • 1. Table/view config:

      1.1 T555A: Define time types as below:

      ZLWC - LWOP on wkg day: with daily cumulation.

      ZLWN - Prev day LWOP w/ curr day off. daily cum

      1.2 T554S - Ensure LWOP abs types are configured with

      Absence type(or category) (field ABSTP) = 'U'

      1.3 Copy/create time w/t for off days in between LWOP days

      9LWP Off days for LWOP

      These are for no.of days

      If you need this w/t to be in hrs, then multiply the days by average daily hrs in IT 7

      2. Time eval schema/PCRs

      2.1 PCRs:

      2.1.1 ZLW1 - Check if LWOP on non-working day

      (call pcr with RTIP)

      Grouping */****

      D VARSTP2001 Set cond false; Input from IT 2001?

      *

      Y D VARABTYP -Yes;Abs category LWOP?

      Y *

      Y U D VARABDAY - - Full day absent?

      Y U *

      Y U Y D VARSTFREE - - -Yes;working day?

      Y U Y *

      Y U Y N HRS=1 ADDDBZLWC - - - Yes; add 1 LWOP t/t

      2.1.2 pcr ZLW2 - Check if curr day not wkg and prev day LWOP

      (call pcr with RTIP)

      Grouping */****

      D HRS=LZLWC HRS?0 Prev day LWOP with wkg day?

      * VARSTFREE -Yes; today free day?

      * *

      * Y HRS=1 ADDDBZLWN

      2.1.3 pcr ZLW3 - Check if prev day & curr day not wkg and last wkg day LWOP

      (call with RTIP)

      Grouping */****

      D HRS=LZLWN HRS?0

      * D VARSTFREE

      * *

      * Y HRS+1 ADDDBZLWN

      =

      2.1.4 pcr ZLW4 - Check if today and last wkg day LWOP and days between off

      (call with RTIP)

      Grpg */****

      D HWS=DZLWC HRS?0

      *

      > D HRS=LZLWN HRS?0

      > *

      > > ADDZL 9LWP Add days off to LWOP days

      Or to obtain hrs using average daily WS hrs from IT 7 replace last line as below

      > > HRS*IDAHRS ADDZL 9LWP

      2.2 Insert following lines in time schema after TP20

      RTIP ZLW1 GEN Check if LWOP on non-working day

      RTIP ZLW2 GEN Check if curr day not wkg and prev day LWOP

      RTIP ZLW3 GEN Check if prev day & curr day not wkg and last wkg day LWOP

      RTIP ZLW4 GEN Check if today and last wkg day LWOP and days between off

      2.3 In Payroll schema:

      2.3.1 In XPPF and its sub PCR's or any other relevant PCR where the partial pay factor w/t's /801 to /816 are calculated (after function GEN8), use w/t 9LWP to reduce the factor for attendance hrs (or the hrs on which basic pay etc are to be reduced)

      Above should cover the requirement

  • Posted on Oct 03, 2016 at 01:27 PM

    Try to use operation VARSTWEDAY VARSTWDY X then you can query particular week day in the week and then check whether employee has absent record or not operations VARSTABSCE, VARSTABSWD VARSTP2001, once we decided he/she is absent then accordingly we can generate a time type and use for further calculations.

    Since our agenda Friday/Monday i.e we add 2 more days Saturday/Sunday and same can be updated in a wage type,imported to Payroll, can be used for further calculations.

    Regards

    Venkatesh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.