Global payroll Segment issue
Global payroll is doing two segments based on entry in job data having monthly rate of employee as $4,000 :
Segment 1: 1st to 15th => Employee is correctly getting half of monthly pay i.e. $2,000.
Segment 2: 16th to 30th => Employee is incorrectly getting monthly pay as $0.
Interestingly, when the month is of 31 days i.e. segments are not for equal number of days, the calculation in both segments are correct. Also, when there is change in monthly rate in job data for 2nd segment, the calculation is comming fine even for equal number of days in segment.
I am not finding anyone who has faced similar issue. Can anyone of you plase suggest what could be wrong?