2

How to make futur termination date visible before ...

 2 months ago
source link: https://community.sap.com/t5/human-capital-management-q-a/how-to-make-futur-termination-date-visible-before-termination-date/qaq-p/13653039
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to make futur termination date visible before termination date ?

pboulicaut

Participant

2 hours ago

- last edited

2 hours ago

We are storing End Date for Fixed Term Contract employees in a custom date field.

we have a requirement to also store for unfixed term contract employee, the termination date when these one is being entered and make it visible 31 days before the effective date.

2 cases can happen:

case 1 : employee futur termination < = 31

between termination date data entry and termination date the custom date is filled with termination date

case 2 : employee futur termination > 31

between termination date data entry and termination date -32

no date is visible in custom date field

between termination date-31 and termination date

custom date is filled with termination date.

i’m not sure what trigger field i should use in a business rule.

i was thinking to use post save trigger and create a new event post the actual event date ( and prior the futur termination event) but these would requires to also handle the case when termination event is being removed ( these case would also need a post save rule to delete the event with termination date before itself)

am i going in the right direction or is there a simpler way to do so ?

i m thinking also to use offcycle event batch.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK