on 10-01-2016 2:57 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Any inputs on this please
Thanks
Dvnr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.