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
lsDrillAround Syntax
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
222
Members:
0
Total:
222
Online Now:
New Topics
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson Business Intelligence/Reporting/Crystal
lsDrillAround Syntax
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Page 1 of 2
1
2
>
>>
Author
Messages
Bob Beverley
Advanced Member
Posts: 31
1/19/2007 5:53 PM
I'm on RS 1.3 and Crystal RAS 10. When I format an _DRILL field from a Lawson Report (not from RW) I can't get it to display as a hyperlink (not to mention it doesn't drill, but I'll address that later). When I publish and view it the drill field appears with the suyntax.
John Henley
Senior Member
Posts: 3348
1/19/2007 7:24 PM
Hi Bob,
When you create the "drillable" field on the report, you need to right-click the field in the Crystal designer, select 'Format Field', then click on the 'Hyperlink' tab. On that tab, select Hyperlink type as 'A Website on the Internet'.
You need then to click on the formula button next to the website address and create a formula to generate the URL.
I've attached a copy of some slides from one of my user group sessions which should give you an example to use.
Attachments
1119252962571.pdf
Bob Beverley
Advanced Member
Posts: 31
1/20/2007 5:46 PM
Thanks, John. I've done the formatting of the field as you mention - however my syntax, based on what I get from Enterprise Reporting User Guide (v10-pg.57), is nothing like what you have. Obviously your's works so I'm not questioning what you have - but where did you get the syntax? Here's mine:
"parent.parent(‘CrystalViewerToolbar’).lsDrillAround(’’,’"+{Command.GlcControlGroup_DRILL}+"’,’’);"
mine has a Command field instead of an ado since it is coming from a Lawson Report via OLEDB.
John Henley
Senior Member
Posts: 3348
1/23/2007 6:46 PM
The syntax is really the same concept:
- Yours is just getting passed thru JavaScript to open the DrillAround within Portal.
- Mine is opening a separate window for Drillaround (since in my case the report wasn't being viewed inside portal)
The _DRILL fields are only added to the resultset on FORM queries and RW100 reports.
What is your report's data source?
Bob Beverley
Advanced Member
Posts: 31
1/23/2007 7:35 PM
This is from a GL245 - and I see _DRILL fields on many standard lawson reports.
John Henley
Senior Member
Posts: 3348
1/23/2007 7:47 PM
Do you have the j-a-v-a-script: in there?
Bob Beverley
Advanced Member
Posts: 31
1/23/2007 8:40 PM
I believe so - this is what the GLCONTROLGROUP_DRILL field translates to - _TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++31&GI=++++++31&GIS=&
Bob Beverley
Advanced Member
Posts: 31
1/23/2007 8:42 PM
Sorry, here's the java script from the formatted field in crystal - "parent.parent(‘CrystalViewerToolbar’).lsDrillAround(,{Command.GlcControlGroup_DRILL},);"
Bob Beverley
Advanced Member
Posts: 31
1/23/2007 8:43 PM
"parent.parent(‘CrystalViewerToolbar’).lsDrillAround(,{Command.GlcControlGroup_DRILL},);"
Bob Beverley
Advanced Member
Posts: 31
1/23/2007 8:46 PM
Somehow the forum's web page is removing the intitial ""
Bob Beverley
Advanced Member
Posts: 31
1/23/2007 8:48 PM
beteween the quotes is the word javascript - maybe this is my problem, perhaps I need to find a way to retain that word in the crystal formatting - it's there in the dialogue box but perhaps it's not being translated?
John Henley
Senior Member
Posts: 3348
1/23/2007 8:58 PM
Yes, the forum web page does remove javascript tags to keep from a hacker from injecting stuff...a frustration when trying to converse about something like this
If you want to reply (use the reply link, NOT the quick reply box), you can post the report or a screen shot of your formula...
Stupid question: when you're testing this, are you testing the DrillAround from within the Crystal Designer or within Portal?
Bob Beverley
Advanced Member
Posts: 31
1/23/2007 9:12 PM
No, that's a good question - the answer is that it looks the same in Lawson ers \published view as it does in crystal.
When I use Reply I get this error:
Cannot redirect after HTTP headers have been sent.
Bob Beverley
Advanced Member
Posts: 31
1/23/2007 9:20 PM
By the way - I've tried to get GSC to work on this and they've only given me very weak answers and then try to sell me services!
Bob Beverley
Advanced Member
Posts: 31
1/24/2007 6:48 PM
Here are my rs admin settings - does anything look wierd to you?
Budgeting Log Page rw
Budgeting Path
Drill Around Debug Mode 1
Drill Explorer Path \lawson\portal\epm\drill\
ERS Administrator Enabled
ERS Administrator Role
ERS Archive Path D:\LawsonArchives\
ERS Crystal Report Viewer CrystalReportViewer
ERS File Size Upload Limit 5242880
ERS Path D:\LawsonDocuments\
Framework Location
http://MCHERP03:8282/efs/
Lawson Domain lawson.mch.com
Lawson Server
http://MCHERP01
Scheduler Home D:\FrameworkServices\jakarta-tomcat-4.0.6\webapps\ers\scheduler
Scheduler Host
Scheduler ID Sched1
Scheduler Port
John Henley
Senior Member
Posts: 3348
1/24/2007 7:05 PM
Can you try the 'reply option' again and post a screen shot of your formula, or the .rpt file itself...
Bob Beverley
Advanced Member
Posts: 31
1/24/2007 7:41 PM
<blockquote class='NTForums_Quote'>Posted By Bob Beverley on 1/24/2007 1:48 PM
Here are my rs admin settings - does anything look wierd to you?
Budgeting Log Page rw
Budgeting Path
Drill Around Debug Mode 1
Drill Explorer Path \lawson\portal\epm\drill\
ERS Administrator Enabled
ERS Administrator Role
ERS Archive Path D:\LawsonArchives\
ERS Crystal Report Viewer CrystalReportViewer
ERS File Size Upload Limit 5242880
ERS Path D:\LawsonDocuments\
Framework Location
http://MCHERP03:8282/efs/
Lawson Domain lawson.mch.com
Lawson Server
http://MCHERP01
Scheduler Home D:\FrameworkServices\jakarta-tomcat-4.0.6\webapps\ers\scheduler
Scheduler Host
Scheduler ID Sched1
Scheduler Port
</blockquote>
here's the crystal formula - "parent.parent(‘CrystalViewerToolbar’).lsDrillAround(,{Command.GlcControlGroup_DRILL},);"
here's the 'translated' _DRILL field for the GLCCONTROLGROUP (JE #)
_TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++31&GI=++++++31&GIS=&
Unfortunately, I still can't paste a print screen
Bob Beverley
Advanced Member
Posts: 31
1/24/2007 8:00 PM
<blockquote class='NTForums_Quote'>Posted By Bob Beverley on 1/24/2007 2:41 PM
<blockquote class='NTForums_Quote'>Posted By Bob Beverley on 1/24/2007 1:48 PM
Here are my rs admin settings - does anything look wierd to you?
Budgeting Log Page rw
Budgeting Path
Drill Around Debug Mode 1
Drill Explorer Path \lawson\portal\epm\drill\
ERS Administrator Enabled
ERS Administrator Role
ERS Archive Path D:\LawsonArchives\
ERS Crystal Report Viewer CrystalReportViewer
ERS File Size Upload Limit 5242880
ERS Path D:\LawsonDocuments\
Framework Location
http://MCHERP03:8282/efs/
Lawson Domain lawson.mch.com
Lawson Server
http://MCHERP01
Scheduler Home D:\FrameworkServices\jakarta-tomcat-4.0.6\webapps\ers\scheduler
Scheduler Host
Scheduler ID Sched1
Scheduler Port
</blockquote>
here's the crystal formula - "parent.parent(‘CrystalViewerToolbar’).lsDrillAround(,{Command.GlcControlGroup_DRILL},);"
here's the 'translated' _DRILL field for the GLCCONTROLGROUP (JE #)
_TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++31&GI=++++++31&GIS=&
Unfortunately, I still can't paste a print screen</blockquote>
This is the data as it appears in Crystal:
GlcCo GlcControlGroup_DRILL
31 _TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++31&GI=++++++31&GIS=&
41 _TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++41&GI=++++++41&GIS=&
49 _TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++49&GI=++++++49&GIS=&
56 _TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++56&GI=++++++56&GIS=&
82 _TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++82&GI=++++++82&GIS=&
93 _TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++93&GI=++++++93&GIS=&
Here's how it appears in Lawson RS:
GlcCGlcControlGroup_DRILL
31_TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++31&GI=++++++31&GIS=&
41_TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++41&GI=++++++41&GIS=&
49_TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++49&GI=++++++49&GIS=&
56_TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++56&GI=++++++56&GIS=&
82_TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++82&GI=++++++82&GIS=&
93_TYP=DT&_UNM=NT00000001&_ENM=&_PDL=PROD&_SYS=GL&_KNB=GI&_SKN=&_LKN=&01=+++1&06=2006&GP=+6&GS=GL&GK=A&@cf=++++++93&GI=++++++93&GIS=&
John Henley
Senior Member
Posts: 3348
1/24/2007 8:05 PM
Sorry, I should have said 'attach' a print screen, not 'paste'. When you use the 'reply' link instead of 'quick reply', you should see options to post attachments.
You can also email me the .rpt or screen show...
John Henley
Senior Member
Posts: 3348
1/24/2007 8:06 PM
You should be able to take one of those drill strings and append it to
http://server/cgi-lawson/ida.exe?
and open the drill in a browser window....
John Henley
Senior Member
Posts: 3348
1/24/2007 8:11 PM
In your rs admin settings, the drill explorer path should have forward slashes (/), not back slashes (\).
Bob Beverley
Advanced Member
Posts: 31
1/24/2007 8:17 PM
Thanks John, I think we're on to something - I'll let you know what it was if/when we get it.
Bob Beverley
Advanced Member
Posts: 31
1/24/2007 8:38 PM
Ok, now I am getting to the drill page when I put the ida string directly in a browser window's address bar. However, when I click on the formatted field in Lawson RS viewer it doesn't execute the drill, I just get 'Error On Page'
Bob Beverley
Advanced Member
Posts: 31
1/24/2007 8:47 PM
I'm using 'Reply' but I still don't see anything related to post attachments or anything of the sort. I'l email you my errored Lawson RS print screen.
John Henley
Senior Member
Posts: 3348
1/24/2007 8:50 PM
BTW, what version of RS are you running?
Check those slashes again in the drill parameter in admin.... (need forward, not backward)
Go back to your formula.
Make sure you have (i.e. javascript followed by a colon...)
"j-a-v-a-s-c-r-i-p-t:parent.parent(‘CrystalViewerToolbar’).lsDrillAround(’’,’"+{Command.GlcControlGroup_DRILL}+"’,’’);"
So that the result of the formula has your Drill command embedded between single quotes.
You are not authorized to post a reply.
Page 1 of 2
1
2
>
>>