Skip to Content
0
Mar 13, 2009 at 07:01 AM

how to realize different calculation rule Calculation of Employment Period

78 Views

Hi,

I have a requirement like this:

IT0041-Z2(the first time enter the company), and IT0552-Z001(Military Servic time) have different calculation rule.

calculation rule A is : ending year - begining year + 1

calculation rule B is : (end date - begin date) rounding down to year.

for example:

calculation rule A : 2009 - 1983 + 1 = 27 year

calculation rule B: 1983/10/31 - 1979/10/01 = 4 year

I don't know how to realize this requirement at Calculation of Employment Period, how to configrate?

Thanks