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
How to make a DME call in LSF
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
LindseyC
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5183
People Online:
Visitors:
238
Members:
0
Total:
238
Online Now:
New Topics
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
S3 Systems Administration
How to make a DME call in LSF
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Scott Perrier
Veteran Member
Posts: 39
12/26/2013 11:39 PM
Per Infor Support, I need to convert the DME data pulls used to enhance RQC limited item information by using existing related tables with in lawson. My current use of a DME call works with LAUA but does not work with LSF 9. Here is what Lawson/Infor stated: "We believe that you will need to modify your /cgi-lawson/dme.exe call to be a /servlet/Router/Data/Erp ". I need to understand the difference and how to format a pull of data from lawson into rqc using a LSF.
here is the dme in case it helps.
https://{ServerName}/cgi-lawson/dme.exe?PROD=TEST&FILE=REQLINE&OUT=JAVASCRIPT&INDEX=RLNSET5&FIELD=QUANTITY;ENTERED-UOM;R EQ-DEL-DATE;ITEM;&KEY=0015=40705=&SELECT=DER-CLOSE-STAT%3DPROCESSED%7CDER-CLOSE-STAT%3DUNREL EASED%7CDER-CLOSE-STAT%3DNEEDS+APPROVAL%7CDER-CLOSE-STAT%3DIN+PROCESS&FUNC=getRQ42Die()
John Henley
Senior Member
Posts: 3348
12/30/2013 2:25 PM
Change:
https://{server}/cgi-lawson/dme.exe?
to:
https://{server}/servlet/Router/Data/Erp?
David Britton
Veteran Member
Posts: 53
12/30/2013 7:54 PM
I have a number of dashboard links that make DME calls to generate various forms such as Jobs in Needs Recovery, Jobs with Invalid parameters.
The data is returned as an HTML page with an embedded table presenting the data.
We are moving to Lawson Security which I presume will require the links to be changed to use "servlet/Router/... ". However the only output options are XML and CSV.
Is there a way to format the data as a table with the servlet call?
SAMPLES Below:
http ://lawsonsrv.mydomain/cgi-lawson/dme.exe?PROD=GEN&FILE=QUEUEDJOB&FIELD=JOBNAME;USERNAME;STATUS;STOPDATE&SELECT=STATUS=34&MAX=ALL&SORTASC=USERNAME
returns the data as an HTML table.
http ://lawsonsrv.mydomain/servlet/Router/Data/Erp?PROD=GEN&FILE=QUEUEDJOB&FIELD=JOBNAME;USERNAME;STATUS;STOPDATE&SELECT=STATUS=34&MAX=ALL&SORTASC=USERNAME&OUT=XML
- OR -
http ://lawsonsrv.mydomain/servlet/Router/Data/Erp?PROD=GEN&FILE=QUEUEDJOB&FIELD=JOBNAME;USERNAME;STATUS;STOPDATE&SELECT=STATUS=34&MAX=ALL&SORTASC=USERNAME
Returns XML formatted data
http ://lawsonsrv.mydomain/servlet/Router/Data/Erp?PROD=GEN&FILE=QUEUEDJOB&FIELD=JOBNAME;USERNAME;STATUS;STOPDATE&SELECT=STATUS=34&MAX=ALL&SORTASC=USERNAME&OUT=CSV
returns CSV formatted data all on one line such as:
JOBNAME,USERNAME,STATUS,STOPDATE "WH130JW","fijwilliam",34,"12/24/2013" "GENCAPPROJ","fitim",34,"12/09/2013" "PARKING","fitim",34,"12/10/2013"
John Henley
Senior Member
Posts: 3348
12/30/2013 8:52 PM
Not aware of any option for table formats, just XML and CSV.
Scott Perrier
Veteran Member
Posts: 39
1/31/2014 9:09 PM
i was able to make the change to a DME call that i run in RQC. The issue is now that it is in XML format and need some way to parse it, is there a predefined lawson function that does this. i would assume yes otherwise how did they make thier calls.
Scott Perrier
Veteran Member
Posts: 39
1/31/2014 9:13 PM
function getCSCItems(idString)
{
// /servlet/Router/Data/Erp?PROD=TEST&FILE=CMALLOCINT&FIELD=ITEM-NUM;STOCK-UOM;AVAILABLE;LOCATION;
// &INDEX=CMISET1&KEY=10=01100;01101;=1129;1130;1131;1132;1133&OUT=XML
//alert("getCSCItems idString=" + idString);
var dmeObj = new DMEObject(mainWnd.user.prodline,"CMALLOCINT");
dmeObj.index = "CMISET1";
dmeObj.out = "XML";
dmeObj.field = "ITEM-NUM;STOCK-UOM;AVAILABLE;LOCATION"
//dmeObj.max = "1";
dmeObj.key = "10=01100;01101=" + idString;
dmeObj.debug=false;
DME(dmeObj,"cscData");
statusWinCSC=self.cscData;
}
You are not authorized to post a reply.