Employee/Company number changes

 5 Replies
 0 Subscribed to this topic
 28 Subscribed to this forum
Sort:
Author
Messages
David Benayoun
Basic Member
Posts: 4
Basic Member
 Good morning all,

I am pretty new with the lawson environment and I am getting used to it. Now I have been given a task which there has to be an easier way to do.

We have a list of 454 employees whose employee and/or company numbers will be changing. As of right now the only safe way I know how to do this is manually doing it one at a time. So my question is if there is an easier and way faster way to do this.

This week I needed to get a list of portal users and just did an ldif export from ADAM so I was wondering if an import of the new infomation would also work?

Whatever information someone has I would appreciate it.

Thanks.
John Henley
Posts: 3364
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
You can use loadusers with an XML file to re-populate their xxx_EMPLOYEE identity with the new company and employee.  Here's an article on using the loadusers utility: Converting LID/Portal Users for LSF9
Thanks for using the LawsonGuru.com forums!
John
David Benayoun
Basic Member
Posts: 4
Basic Member
Awesome thanks John. Now one more quick question, can i just load those changes or will I need to populate every field?
wintergreen
Veteran Member
Posts: 93
Veteran Member
There is a perl script that will convert the CSV file into the XML file which is needed for the lawson utility, loadusers.
David Benayoun
Basic Member
Posts: 4
Basic Member
I created an XML file and I cant see anything wrong with it but everytime i try and load it, it just fails am I doing something wrong? 


?xml version="1.0" encoding="ISO-8859-1"?>
XML>
IDENTITIES>
IDENTITY ID="bkey" SERVICE="dev9_Employee" COMPANY="2" EMPLOYEE="4343"/>
/IDENTITIES>
/XML>

There is < in front of all of them but i could not paste the exact code here as it would appear blank


loadusers -f a.xml
Errors Encountered. Please check the log file for further details
Jimmy Chiu
Veteran Member
Posts: 641
Veteran Member
New Poster
New Poster
Congrats on posting!
Is that service "dev9_employee" loaded?