Jump to content

Configure Employee Number Issue


This topic is 6077 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi everyone...payroll recently changed how they create employee ID (EID) numbers so this is causing a problem for one of my import scripts (we change the EID to be more streamlined) used to update employees schedules from an excel file.

For example the new format always has a "00" or "01" prefix

e.g.:) 001234 we want configured to 1234

012345 we want configured to 12345

So, here is a calculation I used to try and meet this need:

Right(EID ; 5)

which works fine, of course, unless the EID was originally 001234 then it goes to 01234.

I know there must be a way for the calc to go futher and if a 0 appears at the beginning of this newly configured EID it will drop it to appear as 1234.

Any ideas? I'm sure it's something simple :(

I used to h

Link to comment
Share on other sites

This topic is 6077 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.