Forum Discussion

Re: Assigning employees ID#'s based on their programs

... it's a very difficult project and will probably never work right after you spend 10 hours trying to make it work.  I have tacked these kind of projects before, and imho it just ain't worth it.

I suggest that you get your uniqueness in the [Record ID#] and create a prefix or suffix as you like.  The employee numbers will not be sequential within Programs and I would suggest that you "push back" against that part of the request.

You can then also have an override field to override the generated EE # for those EEs in multiple programs.

If you did want to try to automate this (which I really do not recommend), then you will need to have a table with programs and the EE's will be children of those programs.  Then you need to summarize up the max record ID# for all EE's in that program and look that up down to the EEs and then snapshot it.  Then in fact you need to change the summary field to be the max of that snapshot field.

If you somehow end up with duplicates then you will need to manually override.  It's a quagmire.






1 Reply

  • WayneMajor's avatar
    WayneMajor
    Qrew Cadet
    The goal was to make the process automatic once an employee finish a payroll form, I do see what you mean about the whole thing being very tedious and quite complex... I have advocated to my supervisor that we just do the assignments manually since we are a relatively small company (~50 people) so it wouldnt be much of an issue compared to what setting up an automatic program would be. The thing is that she is looking more towards the future with this and not needing to manually input or change data once the company grows.

    I really appreciate the advice and guidelines you provided and will try to implicate them as best i can.

    Thank you.