Forums
Lawson Business Intelligence/Reporting/Crystal
Name Change Report
Author
Messages
thummel1
Veteran Member
Posts: 121
11/11/2013 6:36 PM
Does anyone have a Crystal report that is designed to show an employees "Old" name, and "New" name, side by side? My goal is to be able to design the report so I can see my current last name and in another column, my prior last name. I already have a report that shows old name and new name, but old name is in a group and new name is in it's own group.
Would love if you are willing to share the SQL of a report designed this way. Thank you!
Mary Porter
Veteran Member
Posts: 337
11/11/2013 6:54 PM
Do you use personnel actions to make name changes?
Matthew Nye
Veteran Member
Posts: 514
11/11/2013 7:31 PM
gave up on SmartNotes huh?
thummel1
Veteran Member
Posts: 121
11/12/2013 5:26 PM
Ha. Smart Notes was an option, but yes, Smart Notes in this case won't work for the customer. They only want to maintain name changes in their file system a couple times a year. So they'd prefer to run a report that shows name changes "before" and "after", similar to the look of the PA340.
thummel1
Veteran Member
Posts: 121
11/12/2013 5:27 PM
Yes, the changes I am interested can only be completed via a Personnel Action. I am interested in any changes to First Name, Last Name, or middle Initial to start. I haven't determined if suffixes are needed yet.
Matthew Nye
Veteran Member
Posts: 514
11/12/2013 5:36 PM
Id do this in SQL personally. Post the sql youre using and Ill see if I can get you started at least.
amynelson
Advanced Member
Posts: 25
11/12/2013 6:22 PM
I've attached some SQL that I built to show before and after values for some select personnel actions. You'll have to modify for schema name and add the First Name, Middle Init and any other fields you want, but the logic is the same for whichever field you want to see in the report. This of course is dependent on HRHISTORY being turned on for the fields you want before and after values for.
Hope this helps!!
Attachments
Employee_HR11_Notification.txt
thummel1
Veteran Member
Posts: 121
11/27/2013 2:55 PM
Sorry my response is delinquent, but thank you! I will give this a try and let you know how it works out.
thummel1
Veteran Member
Posts: 121
7/23/2014 6:57 PM
I'm going the way of Smart Notes again on the name changes. (Priorities shifted months ago). My Objective: the Before and After within a single Smart Note for any First Name, Last Name, and Middle_Init changes (from the EMPLOYEE table). I need help making sure I have everything set up right:
1. The first name, last name, and middle init are set up as keys, everything else is attributes
2. My notification is called "Name Changes". Under conditions I have the following:
a. Selection 1: Called "Data from Name Changes". This is a multi-fact.
b. Selection 2: Called "Changing Employees". This is a condition. (Tell me if "Data from Name Changes" has new keys.)
c. Selection 3: Called "New Employees". This is a condition. (Tell me if "Data from Name Changes" has new items.)
d. Selection 4: Called "Employee Name Changed. This is a condtion. (I have the "Compare with variable..." section checked. Tell me if "New Employees" has new items, "Changing Employees" in second drop down box.)
e. Selection 5: Called "Prior Names". This is a condition (Tell me if "Data from Name Changes" has deleted items.
From here, delivery is set to "When condition is met"
Under related info, I have "Employee Name Changes" and "Prior Name" set to default. The others are set to "Do Not Display".
I can confirm: This set up is sending an email notice for the "old" amd "New" values; however, it's catching all changes to all the records in the info set besides just the first name, last name and middle init.
So I know this is not the proper set up. Any suggestions would be helpful, thanks.