on 10-01-2016 3:41 AM
Hi All,
We are in +ve Time , Requirement is when employee continuously does the regular C shift to A shift i.e. 22:00 to 6AM and untill 14 PM of next day
the C Shift Allowance is generated and OT is also generated for for next 8 hours continuous shift, but client wants the A shift Allowance as well and which should be generated for next day , how can achieve this pleas?
Thanks
Dvnr
1.Table/view configuration
1.1 T555A Time types: configure as below
ZSTM Earliest start time
ZETM Latest end time
ZSPP Pair to be split?
1.2 V_T510S Time w/t rules: configure for the relevant groupings
1.2.1 Configure a rule to generate shift A allowance
Here use
a)proc types S, $
(S for normal shift assuming A shift has this proc type and
$ for pair split)
b)start time 00:00 to 06:00
c)relevant w/t for shift A allowance
This will result is generating the w/t when start time is between 0 & 6
2. call PCRs to do as below:
2.1 PCR ZINT - Initialize t/t's for start/end times
(call this with ACTIO)
HRS=99 ADDDBZSTMZ Set earliest start time as 99
HRS=0 ADDDBZETMZ Set latest end time as 0
HRS=0 ADDDBZSPPZ Set condition to zero to split pair
2.2. PCR ZEST - Store earliest start time
(call this with RTIP)
If current pair start time is less than daily value in t/t ZSTM, store it in ZSTM.
D HRS=PBEG HRS?DZSTM
*
< ADDDBZSTMZ
2.3. PCR ZLEN - Store latest end time.
(call this with RTIP)
If current pair end time is greater than daily value in t/t ZETM, store it in ZETM.
D HRS=PEND HRS?DZETM
*
> ADDDBZETMZ
2.4 ZSPC Set condition to split pair if emp has worked in shift C through to shift A
(call this with ACTIO)
If earliest start is before 00:00 and end after 06:00, split first pair after 6am.
D HRS=ZSTM HRS?24,00
*
< D HRS=ZETM HRS?06,00
< *
< > HRS=1 ADDDBZSPPZ
2.5 ZSPL Split pair if required
(call this with PTIP)
D HRS=DZSPP HRS?0 If pair requires to be split
* COLOP *
> D HRS=PBEG HRS?00,00 and if start between 0 & 6, split pair
> * COLOP *
> > D HRS?06,00
> > * COLOP *
> > < HRS=06,00 GENTPE $ Split pair with pair type as $
3. Schema changes
3.1 Insert following lines after TP20
ACTIO ZINT Initialize t/t's for start/end times
RTIP ZEST GEN Store earliest start time
RTIP ZLEN GEN Store latest end time
ACTIO ZSPC Set condition to split pair
PTIP ZSPL GEN Split pair if required
3.2 Insert this line after any GWT line
GWT $ DZL Generate shift A allw for split pair
Above should cater for the requirement.
It may be adapted for similar working in shift A through to B, shift B through to C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Jagan for yoru response
ActuallY we are generating wage types through PCRs and not from T510S and Sorry i did not mention that scenario fully, if "Next day is Weekly Off" where employee works his A shift , continuously from C shift (22:00 PM to 6 AM ) to A shift (6 AM to 14PM)
in Normal week days it generates because we asked client to maintain or regularize punch in and out in 2011 on next day during the week .
But if it is Weekly Off our customer does not want regularize or maintain Punch in and Out in IT2011 then also they want shift allowance should generate for Employee.
Screenshot 2
The PCR is stopped as if employee is not at work although he is there as per above IT2011 Clock in and out
Thanks
Dvnr
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.