OK here we go -
Extracting data to build an expense report: I have a date/time field for Begin date and one for end date.
Need to be able to caclulate per diem for full 24 hour days AND be able to calculate per diem for each hour beyond a full day (X the breakdown hourly rate for per diem)
Example - employee leaves 4/5/04 @ 2:00 pm
Returns 4/09/04 @ 7 pm
Has spent 4 24 hour periods (per diem *4)and one 5 hour period - therefore according to our wonderfully worded (and always subject to change) travel requirements:
Overnight travel for a partial day following a full 24 hour period is eligible for reimbursement based on the table below.
0 to less than 3 hours 0.00 (normal) 0%high cost
3 to less than 9 hours 7.00 (normal) 25% (high cost)
9 to less than 15 hours 14.00 (normal) 50% (high cost)
15 to less than 21 hours 21.00 (normal) 75% (high cost)
21 to 24 hours 28.00 (normal) 100% (high Cost)
High cost will be identified as any $ amt greater than 28$ (non CONUS areas)
Extracting data to build an expense report: I have a date/time field for Begin date and one for end date.
Need to be able to caclulate per diem for full 24 hour days AND be able to calculate per diem for each hour beyond a full day (X the breakdown hourly rate for per diem)
Example - employee leaves 4/5/04 @ 2:00 pm
Returns 4/09/04 @ 7 pm
Has spent 4 24 hour periods (per diem *4)and one 5 hour period - therefore according to our wonderfully worded (and always subject to change) travel requirements:
Overnight travel for a partial day following a full 24 hour period is eligible for reimbursement based on the table below.
0 to less than 3 hours 0.00 (normal) 0%high cost
3 to less than 9 hours 7.00 (normal) 25% (high cost)
9 to less than 15 hours 14.00 (normal) 50% (high cost)
15 to less than 21 hours 21.00 (normal) 75% (high cost)
21 to 24 hours 28.00 (normal) 100% (high Cost)
High cost will be identified as any $ amt greater than 28$ (non CONUS areas)