Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
Lawson Data Column Xref
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
TJA
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
5242
People Online:
Visitors:
261
Members:
0
Total:
261
Online Now:
New Topics
S3 Systems Administration
Lawson Security Admin (LSA) - Securing Print Manager to self only
10/24/2025 6:27 PM
Looking for someone who would be willing to share
Lawson Add-Ins for Microsoft Office
Lawson Add-in
9/30/2025 6:51 PM
I am looking for a Lawson Add-ins query to add new
Lawson S3 Procurement
Anyone getting PO 0000 not found for company error in PO23?
9/30/2025 2:45 AM
Anyone getting PO 0000 not found for company error
Lawson Add-Ins for Microsoft Office
PO20 - Cancel PO via Add-in
9/25/2025 8:03 PM
Is it possible to cancel PO's using add-ins? I
S3 Systems Administration
S3 Payroll - PayStubs
9/18/2025 6:58 PM
Looking for a reliable solution to streamline the
S3 Systems Administration
Quick Access report
8/25/2025 7:17 PM
Looking for a good way to see who has access Lawso
S3 Customization/Development
LP01 hiding a PTO plan from the list
8/13/2025 4:44 PM
Hi all. is there a way to hide a specific PTO&n
Lawson Business Intelligence/Reporting/Crystal
GLTrans - PO Line/MAInvdtl
8/6/2025 6:13 PM
Hello, we have an existing tabular model for fina
IPA/ProcessFlow
Retrieving GUID from InforOS
7/25/2025 2:22 AM
Hello everyone, I was wondering if there is a way
IPA/ProcessFlow
IPA for forwarding cost messages (MA64/MA66.3)
7/23/2025 6:07 PM
When a buyer has an invoice cost message where the
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chesca
1042
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Infor / Lawson Platforms
S3 Systems Administration
Lawson Data Column Xref
Please
login
to post a reply.
5 Replies
0
Subscribed to this topic
27 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Joe O'Toole
Veteran Member
Posts: 314
2/23/2012 7:07 PM
We are conducting a change impact analysis and need to find every table in Lawson that contains "DEPARTMENT". I have the technical documents in PDF but does anyone know where or how can this be determined within Lawson or via SQL? Thanks.
Chris Martin
Veteran Member
Posts: 277
2/23/2012 7:32 PM
Split
Are you Oracle, SQL, or DB2?
John Henley
Posts: 3362
2/23/2012 7:32 PM
Split
SELECT DISTINCT FILENAME FROM GEN.FILEFLD WHERE PRODUCTLINE = 'PROD' AND (FIELDNAME = 'DEPARTMENT' OR ELEMENTNAME = 'DEPARTMENT')
Chris Martin
Veteran Member
Posts: 277
2/23/2012 7:41 PM
Split
I don't have the SQL or DB2 query handy, but you can do this in Oracle with something along these lines:
SELECT DISTINCT TABLE_NAME, COLUMN_NAME
FROM ALL_TAB_COLUMNS
WHERE OWNER =
'PROD'
AND (COLUMN_NAME = 'DEPARTMENT' OR
COLUMN_NAME LIKE '%DEPT%' OR
COLUMN_NAME LIKE '%DPT%')
You will need to replace
'PROD'
with the schema name where your Lawson tables reside.
Joe O'Toole
Veteran Member
Posts: 314
2/23/2012 9:22 PM
Split
We are on MS SQL - not sure what the equivalent of all_tab_columns is in SQL but John's query worked - just had to change column name from "fieldname" to "fldname".
Thanks guys!
Joe O'Toole
Veteran Member
Posts: 314
2/27/2012 9:19 PM
Split
Here is another way if anyone is interested - this came from Lawson:
o into dbdef, select the productline, Click F6 and choose A. Files, Enter a table into the File Name field, like EMPLOYEE, which contains the DEPARTMENT field.
Click F5 and choose A. Field Usage Report.
Please
login
to post a reply.