cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Dynamic action for IT0168

Former Member
0 Kudos

Hi All,

Scenario is to write a dynamic action for USA where in for any rehire if in IT 0007 if the weekly working hours is more than 30 then IT0168 has to be created. Also if the same work schedule which is assigned to him before rehire is more than 30 and the same work schedule is assigned to him during rehire than also the IT0168 has to get created.

.kindly provide me your suggestion.

Thank you and regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193210
Active Contributor
0 Kudos

If I understand you correctly, the dynamic action would first need to check IT0000 to see if Measure = Rehire. The dynamic action would not be activated for any other measure, including Hire.

Second, the dynamic action would need to check If the Work Schedule Rule in IT0007 is more than 30 hours per week. What field holds that information in your system? PA0007-WOSTD ?

If all conditions are met, you want the system to "Insert" an IT0168 with what parameters? The same validity dates as IT0007?

What Benefit Plan ? What Option ?

Since IT0007 is created after IT0000 in the rehire measure, your Dynamic Action would need to be created for IT0007.

Look in table T588Z what currently exists for IT0007, look at other examples for other infotypes, and try to create what you need.

P.S. And please search this site (and elsewhere on the web) as there are already many other threads on Dynamic Actions.

Former Member
0 Kudos

Hi Remi,

Thank you for your suggestion.

- -> IT0007-wostd it should create

- ->0168 plan is ABC, sub plan is AB&C and plan Option is ABC

- ->dynamic action written is as follows

0007 WOSTD P T001P-MOLGA='10'

0007 WOSTD P PSPAR-MASSN='1H'

0007 WOSTD P P0007-WOSTD='30'

0007 WOSTD I INS,00168,ABC,,,(P0000-BEGDA),(P0000-ENDDA)/D

0007 WOSTD W P0168-BPLAN='AB&C'

0007 WOSTD W P0168-BCOVR='ABC'

now the problem I am facing is if I execute the rehire action and in IT0007 when I use the same work schecdule (which is equal to 30 weekly working hours) that was assigned to the user when he was hired, IT0168 is not creating a new record. but if I give another work schedule ((which is equal to 30 weekly working hours) IT0168 is getting created.

I would like to know why the system is not generating a new record in IT0168 if I use the same work schedule (which is equal to 30 weekly working hours) that the user was having when he was hired.

Please let me know if I have to make few changes in the dynamic action. Looking forward to your earliest response.

Thank you very much and kind regards.