Hi
I have to get the months between level 1 start date and end date. and then we have to check in start date and end date of level 2 whether that month lies in start date and end date then we will append records for level2 for those months which fall bw its start date and end date of level 2. and will divide the weightage according to no of days.
We will calculate weightage using duration. ((weightage * no of days in a month)/duration).