2024 Oct 18 5:30 PM - edited 2024 Nov 06 1:42 PM
Hi All,
Can you please help me in writing a PCR to generate absence quota based on IT0016 and IT0021 ?
Requirement: All employees having 5 types of quotas - Annual leave (01), Employee Ticket (51), Dependent Ticket 1 (52), Dependent Ticket 2 (53), Dependent Ticket 3 (54). IT0016 having five contract types Family Status (01), Yearly Ticket (02), Bi-Yearly Ticket (03), No Ticket (04) and Spouse Status (05). IT0021 having 10 different subtypes like Child (01), Spouse (02), Father (03) etc;
Scenario: When employee's contract type (CTTYP) is 01, PCR should check IT0021, subtype FAMSA and generate quota. (Base entitlement is set for all quotas without time type)
Contract type 01 - If any of the dependents are maintained in IT0021 - Generate 5 all quotas
Contract type 01 - If dependents are not maintained in IT0021 - Generate 01 & 51 quotas
Contract type 02 - No comparison with IT0021 - Generate 01 & 51 quotas
Contract type 03 - No comparison with IT0021 - Generate 01 & 51 quotas
Contract type 04 - No comparison with IT0021 - Generate 01 quota
Contract type 05 - If spouse (02) is maintained in IT0021 - Generate 01, 51 & 52 quotas
Contract type 05 - If dependents are not maintained in IT0021 - Generate 01 & 51 quotas
I tried using below conditions but unable to compare with FAMSA. VARGB is not working. I am not sure how to use CPAGE and i am not sure if HRS?FR01 can be used. Appreciate if you could help me on the above scenario.
*
TABLEP0016
OUTWPCTTYP
01
TABLEP0021
VARGBFAMSA
As VARGB is a payroll operation how to call this to generate quotas ? Adding PCRs I have written
Much appreciated if you provide your valuable inputs
Request clarification before answering.
User | Count |
---|---|
8 | |
6 | |
5 | |
5 | |
4 | |
3 | |
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.