When William Lawson, Richard Lawson, and John Cerullo founded Lawson Software in Minneapolis in 1975 they probably had no idea it would serve customers for nearly 1/2 a century. It has been a very impressive run that has created entire communities along the way. Whether you have been a user, an implementer, or somehow otherwise involved in the ecosystem, you have no doubt felt like you have been part of a community. As a consultant who started out with the Summit Group back in 1999 and later worked directly for Lawson software I have spent nearly every workday of the past 22 years working with Lawson. It is bittersweet therefore to be talking about this subject of decommissioning this brilliant application. With more and more customers migrating to CloudSuite applications and other ERP systems over the next few years, it makes sense now more than ever to begin planning the proper way to decommission the Lawson application.
The easy part of decommissioning is unplugging the servers. The hard part is to figure out a plan that ensures continuity with minimal disruption to the business. Therefore any discussion of decommissioning and archiving of an ERP application has to include the following three components:
Data Retention
Accessibility and Auditability
Security
Data Retention
Most organizations have data retention policies that are derived from industry or regulatory requirements. This is a good starting point. Working with subject matter experts within HR, Payroll, Finance, and Procurement, will flush out additional requirements around specific items like pay stubs, open invoices, or personnel action history to name a few. The important thing is to ensure whatever plan you have for decommissioning satisfies these requirements.
Accessibility and Auditability
Retaining data is fine and good, but you will need access to it if it’s going to serve its purpose. There is a lot to unpack here but the main requirements with accessibility are:
Intuitive User Interface – Given that this data is historical it doesn’t make sense that any interface to it should need extensive training.
Integration with AD – Future proofing your archived data means user accessibility must be supported for the duration of the data retention period and remain compliant with your IT standards for years to come.
Auditability – One of the main utilities of archived data is to serve the needs of auditors. In this capacity, your archival solution must provide reporting capabilities that can satisfy all audit requirements without the need for further skills or professional services.
Security
Under normal circumstances, your Lawson data is heavily secured with specific access rules in place to ensure prevention of improper access, segregation of duties, and malicious intrusion. The fact is that the security of this data is just as important in archive status as it was when it was in production. Any viable solution must have the ability to secure the data in such a way that satisfies all your data security requirements.
We built the APIX platform from the ground up with these specific requirements in mind. Our clients have been able to completely decommission Lawson in as little as six week and still get full access to their data through the APIX lightweight interface. Contact us to schedule a demo of the APIX Lawson Data Archive solution today!
https://www.nogalis.com/wp-content/uploads/2021/11/How-to-Decommission-Lawson.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-15 07:11:352021-11-14 20:43:25How to Decommission Lawson
Follow this step-by-step guide to set up a Lawson deljobhst recurring job. This will keep your Lawson print/job directories clean.
Login to LID (elevated admin rights required)
Go to jobdef and create a new deljobhst job
Down arrow to Form ID >> F4
Type >> F4 >> Universe >> Enter
Data Area/ID >> F4 >> JOBSCHED >> Enter
Down arrow to deljobhst >> Enter
F6 >> A. Step Parameter
Type the parameter letters you want without a dash, for this example we are just deleting old %LAWDIR%\print directory files using the r parameter and for any files > 400 days old
To Date must be in the above format of: ‘curdate’ – NumberOfDays
When the job runs on schedule, files greater than and equal to the date 400 days ago from current date will be deleted.
400 day example: Todays date is 6/7/2021 so print files as created on 5/3/2021 and older will be deleted.
Press Enter to save jobdef and go to recdef in LID
Create a new recdef entry and select the job you just created under Job Name. Select all other parameters as you normally would.
Example below: This job will run daily at 1:33pm starting 6/7/2021
That’s it and good luck.
https://www.nogalis.com/wp-content/uploads/2021/11/How-to-setup-a-Lawson-deljobhst-recurring-job-to-keep-your-Lawson-print-job-directories-clean.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-11 09:36:532021-11-05 14:41:48How to setup a Lawson deljobhst recurring job to keep your Lawson print/job directories clean
It is pretty common for a Lawson recurring job to error out and continually run for hours and days. This can build up in the waiting screen of the job scheduler (jobschd). To clean it up can be repetitive when it doesn’t have to be.
Login to LID
Go to the job scheduler by typing the jobschd command
F7 >> A. to show all user jobs
In our example we have 7 jobs, but this method works for hundreds of jobs.
On the top most job that you want to delete press the HOME key to “mark” the job. Notice the black arrow on the very left
Now scroll down or even page down to the bottom most record >> Press the END key. Notice all jobs from the top to bottom have the black arrow on the left, indicating these are selected.
Now press F9 (Delete) to remove these jobs. Press enter to confirm.
NOTE: if there are dozens or hundreds of jobs, you may need to hold Enter to continuosly delete them.
Hope this was helpful!
https://www.nogalis.com/wp-content/uploads/2021/11/How-to-mass-delete-Lawson-waiting-jobs-in-the-job-scheduler-in-LID.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-09 07:59:012021-11-05 14:36:22How to mass delete Lawson waiting jobs in the job scheduler in LID
LBI Smart Notifications are reports that are sent directly to users for reviewing vs a user logging into LBI to manually view a report. In this section we will first start off with an Intro to creating a Smart Notification. See Part 1 titled: “Creating an LBI Smart Notification Series – Creating an InfoSet (Part 1)”
Login into LBI (admin permission required) >> go to Tools >> Select Smart Notification
In Smart Notification, select Notifications at the top
If you have none, it’ll say No Selections (see screenshot), else you’ll notice a list of existing Notifications
To create a new Smart Note, click Add
Smart Notification Wizard will pop-up and starts at step 1 (Select Facts)
The Facts section is where you would connect the dataset (or InfoSet) to the notification (this can also be a document among varios other types of data).
An InfoSet is most commonly an SQL query or stored Proc that gathers data from a database.
For this example, we will assume you have an InfoSet already created. View your InfoSets by clicking Search
For our example we will be selecting the MonlthyVariance InfoSet and then select Range
At the bottom of the next page choose Select >> Add >> Ok at the very bottom
At the bottom under My Selections you should now see your InfoSet for step 1
Now click Next or select step 2 Conditions
Conditions can be added with the Add button. This lets you tailor the data to your liking. This can also be done on the InfoSet side when writing a query or stored proc.
Click Next again or select step 3 Delivery
Delivery typically is done through the Device tab which are setup email addresses in Smart Notes (See article titled “How to setup a LBI smart note delivery device”)
The Bursting tab is the alternate method. In the Bursting tab select the InfoSet, and the column to burst on which is typically a list of email addresses.
Schedule tab is similar to Device, except on a schedule which can be set elsewhere for the Notification.
Click Next again or select Step 4 Related Info
Related Info lets you link other LBI reports, shared documents, deploy in a pre-made formatted template among other customizations. This may be covered in more depth in a future article.
Click Next again or select Step 5 Save
This is where you Name, describe, set Home Page Group for your Notification.
You can also Preview, set Status, and add additional Permissions if needed.
Click Save New Item to create your new notification and view it in the Notifications Tab.
Hope this was helpful! Good luck!
https://www.nogalis.com/wp-content/uploads/2021/11/Creating-an-LBI-Smart-Notification-Series-Creating-a-Smart-Notification-Part-2.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-05 07:26:272021-11-19 15:39:28Creating an LBI Smart Notification Series – Creating a Smart Notification (Part 2)
LBI Smart Notifications are reports that are sent directly to users for reviewing vs a user logging into LBI to manually view a report. In this section we will first start off with an Intro to creating an Info Set.
Login into LBI (admin permission required) >> go to Tools >> Select Smart Notification
In Smart Notification, select Admin at the top >> Work with InfoSets
Click Add to start creating an InfoSet
InfoSet Wizard should start >> Select the type of Info Set you want
Our example will be a Relational Database (JDBC) stored procedure with a predefined Data Source
Click Next or go to Step 2 Define Info Set
In this section you will be defining your data depending on what type you select.
This data can include defining column data, number/string format etc.
Click Next or go to Step 3 Specify Links
This section allows you to add file or class links which is dependent on your organization’s needs and what the notification will be used for.
Click Next or go to Step 4 Save InfoSet
In this section you can add a Name, Description, set a group name.
Also allows you to add additional access, filter certain content, even categorize or limit the InfoSet.
Once done with Step 4, click Save As New at the bottom to finish your InfoSet
That’s it! Smart Notifications and InfoSets have a lot of customizability, most of which aren’t necessary to get it going.
https://www.nogalis.com/wp-content/uploads/2021/11/Creating-an-LBI-Smart-Notification-Series-Creating-an-Info-Set-Part-1.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-03 07:22:502021-11-19 15:39:03Creating an LBI Smart Notification Series – Creating an Info Set (Part 1)
The default behavior of the shopping screen in RQC is to now allow users to select their Requesting Company. To allow users to select the company, the rqc_config.xml file must be updated. Navigate to LAWDIR/system and open the rqc_config.xml file in a text editor. In the “client” section, update the setting “allow_company_select” to “true”. Bounce the WebSphere application server for the change to take effect.
https://www.nogalis.com/wp-content/uploads/2021/10/Allowing-company-select-in-Requisition-Center.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-01 07:52:352021-11-02 11:49:50Allowing company select in Requisition Center
This process is going to assume you already know how to build a Lawson CSV report of users to compare against. LSA Report Maintenance has these report options available for this.
Login into your windows machine and open Powershell as an Administrator.
Type in this command: Get-ADUser -Filter * -SearchBase “dc=domain,dc=local” | select Name,SID | Export-CSV
dc=domain,dc=local will need to be updated to match your organizations.
select Name,SID will extract the users Name in AD (typically First and Last Name) and their Security ID.
Since we are doing this to compare against Lawson users (assuming you’re using SSOP), you want to also include the sAMAccountName, this is login name the users use to login into their windows machine.
Export-CSV Requires a path after it including filename,
You should now be able to acquire the CSV file in your C:\ExportDirectory\ that you outputted to.
Good luck!
https://www.nogalis.com/wp-content/uploads/2021/10/How-to-Get-a-List-of-Users-from-AD-to-Compare-against-Users-in-Lawson.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-10-28 08:27:252021-10-21 11:33:21How to Get a List of Users from AD to Compare against Users in Lawson
There are two common ways to get a list of program forms and their description from Lawson. One is through LID and another is through a database application like SQL Management Studio.
Method 1: The database application method requires your user to have at least database read access to the PROD or TEST Lawson database.
Login to the PROD or TEST database through your database app (using SQL Management Studio for this example).
Expand the PROD or TEST GEN database and expand the Tables folder:
Scroll to the dbo.SCREEN table >> Right-click >> Select Top 1000 Rows
For those not familiar with SQL, simply remove the TOP 1000 portion from the code to return all records in this table.
Change from this:
To this:
Now click the Execute button:
Select all returned records at the bottom by clicking the top left box:
Right-click same box >> Copy with Headers
Paste into Excel and filter as needed:
Method 2: The LID method is simpler if you have access to Lawson Interface Desktop
Login into LID, your user will need access to rngdbdump
Change directory to a safe directory to dump a file into.
Type this command: rngdbdump -ct gen SCREEN > SCREEN.csv
This command will dump out the SCREEN database table into a csv file in your current directory
Go to that directory and open the csv file in Excel, filter down on the forms you want to view.
Good luck!
https://www.nogalis.com/wp-content/uploads/2021/10/How-to-get-a-list-of-specific-program-codes-and-screen-descriptions-in-Lawson.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-10-26 08:07:242021-10-21 11:27:17How to get a list of specific program codes and screen descriptions in Lawson