Snapshot Job ID's onto Employee references on orders.
Not plannedThere are many places on orders/checks where Employee ID's are found: Server, Delivery, Void approvals, discount approvals, etc. We are very happy that these are here. However, something we also need to know about all of these employees is what Job they had when they did these things.
This is technically possible at the moment, but it's complicated and not very performant: We have to take every employee ID found on the check, and lookup all TimeEntry objects for those employees for that day. In case they had multiple TimeEntry on the same day, we need to figure out which TimeEntry Corresponds to the check by looking at which TimeEntry start time and end time encompasses the timestamp on the check, and then look at the TimeEntry to determine which job that employee was currently clocked in for.
This is done for every single employeeID found on every single check, every single day.
It would be absolutely amazing if instead, every time an `employee` externalReference were found on an order/check, there was *also* an externalReference to the ID of the `job` that employee was clocked in as at the time.
I know that this isn't a simple request, but I wanted to make it because it would make our utilization of the API so, so much more efficient for our use case.
Thank you!
-
Hi Justin! Something like this is not on our current roadmap but we'll let you know if there are changes. Thank you for the feedback, we appreciate it.
0
Please sign in to leave a comment.
Comments
1 comment