I have written code that takes the work time entered and distributes 10 hours of truck pay based on the hours entered. If they get truckpay it is always 10 per day no matter how many hours worked.
i.e.,
Job 1, Employee 1, ActivityCode "09000", 3 hours worked, the code puts 3 hours truckpay to "09000" then
Job 2, Employee 1, Activity Code "85000", 5 hours worked, the code puts 5 hours truck to "85000"
the problem.... I need the code to put the last 2 hours to a code (still waiting for the code number, let's say "999999"), but the employee may only have 8 hours for the day and will get paid 10 hours truck.
It will have to be code that calculates not based on the time entry so it can sum the total hours for the day and insert the difference, coorrct?
Thanks, Bailey11
i.e.,
Job 1, Employee 1, ActivityCode "09000", 3 hours worked, the code puts 3 hours truckpay to "09000" then
Job 2, Employee 1, Activity Code "85000", 5 hours worked, the code puts 5 hours truck to "85000"
the problem.... I need the code to put the last 2 hours to a code (still waiting for the code number, let's say "999999"), but the employee may only have 8 hours for the day and will get paid 10 hours truck.
It will have to be code that calculates not based on the time entry so it can sum the total hours for the day and insert the difference, coorrct?
Thanks, Bailey11