cancel
Showing results for 
Search instead for 
Did you mean: 

How should i write a pcr for this requirement?

former_member139796
Participant
0 Kudos

Dear Friends,

Can any tell me whether we can write a pcr in such a way that if the person resigns the company on any day after 15th his full absence quota(for that month) should be accrued.

if yes can you tell me

what are the key decision parameters i have to use in writing the pcr.

waiting for you kind reply.

Regards,

Sai Prasad.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member139796
Participant
0 Kudos

Thank you one and all for your kind help.

regards,

sai prasad

Former Member
0 Kudos

Sai Prasad,

Please let me know if you completed the PCR. I have the same requirement. Bascially I need to Check if the employee is Rehired I need to check the Termination Date. If it is the same yr I should give vacation if it is a different Yr I should generate Vacation

but When I am check for termination Action using OUTWPMASSN it is not Checking the Termination action Exists or not

former_member139796
Participant
0 Kudos

Dear Rahul,

i am at present not working with that requirement. i am sorry i am unable to help you.

regards,

sai prasad.

Former Member
0 Kudos

Hai Prasad,

I can give you the logic, cannot write exact rules.

While genegarting absence quota

- Check for termination action using OUTWPMASSN

- If yes

Check for Action year current year. (HRS=YSAY, HRS?CURYR)

- If its equal to 0

Check for current month (HRS=YSAO, HRS?CURMO)

- if its equal to 0

check for current day (HRS=YSAA, HRS?CURDY

- if its >=15

generate quota

- Exit

(Note: for this logic you have to generate monthly quota)

With regards

Shyam V

former_member139796
Participant
0 Kudos

dear Friend,

Thank you very much for your quick reply.

i am working on this .i will update you as soon as possible.

Regards,

sai prasad.