We enter time for each employee to multiple cost codes and projects.
We need to be able to have a function say that after all time entry for multiple emplyees is made(button that the user can click after they are done with time entry for that day), go do the following......
If COR (change order) = -1 and Phase=99 and units (for the individual entry) >=10, delete all records for this employee for this day and replace them with one record.
If COR = 0 take the individual entries, divide their units by the total units for this employee for this day and multiply it by 10 and create the record.
I am at a loss how to do this. I tried the code on the time entry form, but it looks at each entry instead of the all the entries for an employee as a group.
Help!!!!!
We need to be able to have a function say that after all time entry for multiple emplyees is made(button that the user can click after they are done with time entry for that day), go do the following......
If COR (change order) = -1 and Phase=99 and units (for the individual entry) >=10, delete all records for this employee for this day and replace them with one record.
If COR = 0 take the individual entries, divide their units by the total units for this employee for this day and multiply it by 10 and create the record.
I am at a loss how to do this. I tried the code on the time entry form, but it looks at each entry instead of the all the entries for an employee as a group.
Help!!!!!