Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
we have below scenario
Max maharashtra salary - rs30000 ( MAX Sal – from excel lookup sheet )
Max Karnataka salary - rs10000 ( MAX Sal – from excel lookup sheet )
If employee have paid 35000 rupees in maharashtra then we create EMP with 30000 for Empid 100
If same employee move to next state Karnataka and kernataka max is 10000 then we should create Empid 100 = 0 as he have paid 30000 already in previous state which is greater than next state i.e NJ Max (10000)
So finally , Employee will have 2 records . 1st record for Empid 100 for maharashtra will have 30000 and 2nd Karnataka record will have 0
input
Emp id state Max salary
100 maharashtra 35000
100 karnataka 10000
output
100 maharashtra 30000
100 karnataka 0
Hi
Can you show us with more data to explain the calculation logic? eg:
input
Emp id state Max salary
100 maharashtra 35000
100 karnataka 10000
101 maharashtra 20000
101 karnataka 5000
what will be the output?
Regards
Shong