Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Section Visibility Issue with Positioning Subtotals
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Raju
Past 24 Hours:
1
Prev. 24 Hours:
2
Overall:
5205
People Online:
Visitors:
296
Members:
0
Total:
296
Online Now:
New Topics
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 Smart Office
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor CloudSuite
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:39 PM
Hi, I need help with an error on syteline while us
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
1369
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
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Section Visibility Issue with Positioning Subtotals
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Paul4
New Member
Posts: 3
8/13/2009 2:08 PM
I apologize in advance for the long post but I want to provide as much detail as possible on the issue I am trying to resolve.
I am creating an income statement using crystal reports 2008 for a hospital which has 9 corpoations and is implementing Lawson 9.0. I am having a problem with the way the income statement displays that I believe relates to the way I am using conditional suppression of section footers.
The income statement is set up to group accounts by GLCHARTDTL.Sumry_Acct_ID which aggregate debits and credits (using a Running Total formula) from GLAMOUNTS into Specified Groups such as ‘Inpatient Revenue’, ‘Outpatient Revenue’, ‘Salaries & Benefits’, ‘Medical Supplies’, etc..,
My problem is with sub-totals such as Gross Patient Revenue (this subtotal is a manual total, or Global Number Variable, that aggregates Inpatient Revenue and Outpatient Revenue) The problem with the subtotals is not that they are not calculating correctly but with the display of those sub-totals at the appropriate point in the presentation of the Income Statement.
In Group Footer 1a I have the Running Totals by Specified Group (e.g. Inpatient Revenue, Outpatient Revenue) and this is working fine. In Group Footers 1b through 1g I have the manual totals for Gross Patient Revenue, Net Patient Revenue, Other Operating Revenue, Operating Expenses, Net Income etc..,
I am using the Section Expert to conditionally suppress each of these subtotals until the final named group that makes up that sub-total has been passed. For Example Gross Patient Revenue (in Group footer 1b) is made up of the specified groups Inpatient Revenue and then Outpatient Revenue and I am using the conditional suppression in Section Expert to tell the report to only show the subtotal Gross Patient Revenue after the specified group Outpatient Revenue has been passed (or if there is no Outpatient Revenue after Inpatient Revenue). The same applies to the subtotal Net Patient Revenue (in Group Footer 1c) which should only display after the specified group Charity Care (or if there is no Charity Care then after Deductions from Revenue) has been passed. The output (with annotation) should appear as below:
(GF1a) Inpatient Revenue 5,000
(GF1a)Outpatient Revenue 3,000
-------
(GF1b)Gross Patient Revenue 8,000
(GF1a) Deductions from Revenue 2,000
(GF1a) Charity Care 1,000
-------
(GF1c) Net Patient Revenue 5,000
This is working fine for those corporations within the hospital that have values in GLAMOUNTS for the specified group ‘Outpatient Revenue’. However for those corporations that do not have values in the Specified Group ‘Outpatient Revenue’ the formula which conditionally suppresses based on the condition below is not being triggered as there are no values for that corporation in the database (or rather in the tables GLAMOUNTS, FBDETAIL or GLCHARTDTL) for “Outpatient Revenue” and therefore the Subtotal does not display.
Here is the conditional Suppression Formula I am using on Group Footer 1b:
GroupName ({GLCHARTDTL.SUMRY_ACCT_ID}) <> "Outpatient Revenue"
However if I do not conditionally suppress the subtotal “Gross Patient Revenue’ in Group Footer 1a the subtotal will show up after every Specified Group.
Have any users encountered this problem or a similar problem before? Does anyone have any ideas as to how to get the subtotals to only display where appropriate? Perhaps I am approaching the presentation issue in the wrong way (using conditional suppression). Any ideas to resolve this issue are much appreciated.
Also please let me know if I can provide further detail or clarification as to the reports design to assist in troubleshooting. Once again apologies if the post is a little long-winded
.
Adam Jacobson
Veteran Member
Posts: 69
8/13/2009 6:23 PM
I'm not sure how you might fix your crystal, or whether you could, but I think if you change your query, you might have better luck.
The problem you state is that sometimes there are no postings in GLAMOUNTS (GLAMOUNTS doesn't get created for p&L accounts until something posts).
However, there is ALWAYS a record in GLMASTER. So, you might want to go from your chart, to GLMASTER and then left outer join to GLAMOUNTS so you always have some record for the account even if the amount is zero. I'm guessing that you already have programming to calculate the proper period amount from the array in GLAMOUNTS so now you can add logic that if GLAMOUNTS is null the amount is zero.
good luck.
Char
Veteran Member
Posts: 62
8/13/2009 7:53 PM
I handle these types of Income Statement reports by creating layers of groups - I would have a group 1 for example as Gross Patient Revenue and Group 2 would be the Inpatient and Out Patient - then you can use summaries (running totals are much slower) because they happen WHILEPRINTINGRECORDS like variables so I try to avoid them.
Also, when using GLAmounts with FBDetail in the same report. Sometimes you'll have actual and no budget and sometimes budget and no actual so I always create a SQL command and alias a column called Type as either Actual or Budget and then union them together.
Paul4
New Member
Posts: 3
8/13/2009 9:10 PM
Thanks to both of you for your suggestions. I am currently experimenting with Adam's suggestion as I agree that the problem with the way that I am currently structuring the report is that it cannot process totals correctly when there is no record in either GLAMOUNTS or FBDETAIL. I am hoping that by using GLMASTER, as suggested, I can force my crystal report to evaluate every account regardless of activity.
I like your idea Char of creating layers of groups and regret that it is not the path I originally chose when I approached this project as I think it is more efficient than the one I have chosen. My problem is that our Go Live is September 30th and I have already based a great number of report variations on my original logic. Now having made that choice I am going to have to make the fix that is easiest to propagate across all these reports.
After the crunch of GoLive is over I think I will certainly be redesigning and redesigning some of these reports along the lines suggested. Right now I am looking for a quick fix! I greatly appreciate both your suggestions and will let you know once I have tested both approaches. Thanks again!
Char
Veteran Member
Posts: 62
8/14/2009 12:28 PM
When you revisit them, if you want the SQL you can email me at ccraig@crystaladvantage.com; I have it for both Oracle and SQL Server to union GLAmounts with FBDetail. I also wrote a view that does the union and puts the 12 months of columns in GLAmounts and FBDetail in a a single column called Period with columns for Balance, YTD and Period Activity. I don't like using myself because returning more rows makes the query less efficent but clients that want to write thier own Crystal reports love it because they don't have to write complex formulas to get finanacials. Good luck with go-live!
Please
login
to post a reply.