Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Financial Management
Lawson S3 Financials
Chart of Acct query
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
441
Members:
0
Total:
441
Online Now:
New Topics
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Financial Management
Lawson S3 Financials
Chart of Acct query
Please
login
to post a reply.
5 Replies
0
Subscribed to this topic
43 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Don
New Member
Posts: 2
5/4/2012 2:41 PM
Hi There,
I am totally new to lawson. I just start to look at the tables on GLs, and try to build chart of account hierachy, for top to detail GL. I look at two tables, GLCHARTDTL and GLCHARTSUM and I knnow ChartName, so here is my query:
SELECT S.CHART_NAME, D.SUMRY_ACCT_ID, D.CHART_SECTION, D.ACCOUNT, D.SUB_ACCOUNT,D.ACCOUNT_DESC, S.SUMMARY_ACCT,S.ACCOUNT_DESC, S.TOTAL_DESC,S.PARENT_OBJ_ID
FROM dbo.GLCHARTDTL D
inner JOIN GLCHARTSUM S ON D.SUMRY_ACCT_ID = S.SUMRY_ACCT_ID
--WHERE D.CHART_NAME='CHART' AND D.SUMRY_ACCT_ID=56
GROUP BY S.CHART_NAME, D.SUMRY_ACCT_ID, D.CHART_SECTION, D.ACCOUNT, D.SUB_ACCOUNT,D.ACCOUNT_DESC, S.SUMMARY_ACCT, S.ACCOUNT_DESC,S.TOTAL_DESC,S.PARENT_OBJ_ID
HAVING S.CHART_NAME='CHART' AND S.CHART_SECTION=2
But this is not giving me the result I expect, Do I use the right tables?
Thanks
Gail Gudgel
Basic Member
Posts: 14
5/4/2012 8:56 PM
Don, would a GL200 provide what you need? that's Lawson's report for the Chart of Accounts Listing.
Don
New Member
Posts: 2
5/7/2012 12:08 PM
Gail,
Thanks for reply. But I don't see GL200 table in our lawson database, in fact, there is no tables name with number after GL, they are like GLTRANS, GLSYSJE, etc.
Do I miss anything?
John Henley
Posts: 3353
5/7/2012 12:41 PM
GL200 is a batch job, not a table.
TimF
Basic Member
Posts: 4
5/7/2012 1:18 PM
The GL200 utilized the tables GLCHARTSUM and GLCHARTDTL for summary and detail information respectively.
From: forums-s3-financials@lawsonguru.com [mailto:forums-s3-financials@lawsonguru.com]
Sent: Monday, May 07, 2012 8:22 AM
To: Ferguson, Tim
Subject: RE: Chart of Acct query [00009767:00018832]
[LawsonGuru.com Logo]<
https://www.lawsonguru.com/
>
Lawson S3 Financials Forum Notification
A message was posted to a thread you are tracking.
RE: Chart of Acct query
Posted by: Don
05/07/2012 07:08 AM
Gail,
Thanks for reply. But I don't see GL200 table in our lawson database, in fact, there is no tables name with number after GL, they are like GLTRANS, GLSYSJE, etc.
Do I miss anything?
________________________________
To view the complete thread and reply via your browser, please visit:
https://www.lawsonguru.co...chart-of-acct-query/
You were sent this email because you opted to receive email notifications when someone posted and/or responded to a message on this forum.
To unsubscribe to this thread please visit your user profile page and change your subscription options.
Thank you,
LawsonGuru.com
amynelson
Advanced Member
Posts: 25
5/7/2012 2:50 PM
Try something like this query:
SELECT
GDT.ACCOUNT,
GDT.ACCOUNT_DESC,
GCS.SUMMARY_ACCT AS LVL1,
GCS.ACCOUNT_DESC AS LVL1_DESC,
GCS.SUMRY_ACCT_ID AS LVL1_NUM,
GCSb.SUMMARY_ACCT AS LVL2,
GCSb.ACCOUNT_DESC AS LVL2_DESC,
GCSb.SUMRY_ACCT_ID AS LVL2_NUM,
GCSc.SUMMARY_ACCT AS LVL3,
GCSc.ACCOUNT_DESC AS LVL3_DESC,
GCSc.SUMRY_ACCT_ID AS LVL3_NUM,
GCSd.SUMMARY_ACCT AS LVL4,
GCSd.ACCOUNT_DESC AS LVL4_DESC,
GCSd.SUMRY_ACCT_ID AS LVL4_NUM
FROM lawdbo.GLCHARTDTL GDT
INNER JOIN lawdbo.GLCHARTSUM GCS ON GDT.CHART_NAME=GCS.CHART_NAME AND GDT.SUMRY_ACCT_ID=GCS.SUMRY_ACCT_ID
LEFT OUTER JOIN lawdbo.GLCHARTSUM GCSb ON GCS.PARENT_OBJ_ID=GCSb.SUMRY_ACCT_ID
LEFT OUTER JOIN lawdbo.GLCHARTSUM GCSc ON GCSb.PARENT_OBJ_ID=GCSc.SUMRY_ACCT_ID
LEFT OUTER JOIN lawdbo.GLCHARTSUM GCSd ON GCSc.PARENT_OBJ_ID=GCSd.SUMRY_ACCT_ID
LEFT OUTER JOIN lawdbo.GLCHARTSUM GCSe ON GCSd.PARENT_OBJ_ID=GCSe.SUMRY_ACCT_ID
You'll have to join to GLCHARTSUM as many times as needed to incorporate all the levels of your chart.
Hope this helps,
Amy
Please
login
to post a reply.