Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
tonymag01
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4995
People Online:
Visitors:
60
Members:
0
Total:
60
Online Now:
New Topics
Lawson S3 Procurement
Freight Costs
7/23/2014 3:47 PM
Is there a report that I can run that details the
Lawson S3 Procurement
Freight Charges
11/9/2026 6:50 PM
Would anyone have either an Add-Ins or a Crystal R
Lawson S3 HR/Payroll/Benefits
On demand checks
8/11/2026 2:56 PM
Hello.To be in compliance with a union contract, P
Lawson S3 HR/Payroll/Benefits
Off Cycle Payments
8/10/2026 9:04 PM
Hello.To be in compliance with a union contract Pa
Lawson S3 Procurement
One Procurement Group, Item Group and Vendor Group for 3 Company setup
7/24/2026 5:38 PM
Hi,Is it recommended to use One Procurement Group,
Lawson Portal
Has anyone applied Lawson Portal / Design Studio 10.1.0.40 patches for Chrome XSLT Deprecation? Any impact on custom forms?
7/10/2026 5:55 PM
Hello everyone,We are preparing for Chrome’s upcom
Lawson Portal
Need to limit available values in Manager Self-Service based on Action
4/16/2026 1:47 PM
Hello, Our managers have the ability in M
Lawson Portal
Lawson HR170 Jobs Index
3/30/2026 7:35 PM
Hi All, I am new in my role. The organization h
IPA/ProcessFlow
IPA Question - Filtering Employees by XRef Cost Center Across Person and HR Modules
3/2/2026 4:29 PM
Hello Everyone, I am building an IPA process in
Lawson S3 Financials
Lawson S3 to SAP S/4 Hana Migration
2/12/2026 8:54 PM
Can anyone recommend a consulting company who has
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3296
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
HTML/Javascript DME function for LOGAN
Please
login
to post a reply.
3 Replies
0
Subscribed to this topic
19 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Roger French
Veteran Member
Posts: 549
New Poster
Congrats on posting!
12/3/2010 3:55 PM
I'm doing some portal customizations where I need to use the DME() function. I've used it OK before with application productlines with no issues, but I need to use it to query some LOGAN tables.
I've tried various things within the DME function, but it's not working. It is always bombing out on the data.js function. I've reviewed it several times but haven't figured it out yet.
Does anyone have an example of a javascript function where it successfully works by querying LOGAN? Do I need to use the object.logan field? Here is a copy of the function I'm trying to use (hey and no laughing too hard ok?)
Thank you...
-R
function GetMMDistInfo(workUnit,field,seq)
{
var logancall = new DMEObject("LOGAN", "WFVARIABLE")
logancall.out = "JAVASCRIPT"
logancall.field = "workunit;variable-name;wf-seq-nbr;variable-value"
logancall.index = "wfvset1"
logancall.max = "1"
logancall.xida = true
logancall.key = workUnit + "=" + field + "=" + seq
logancall.func = "FinishMMDist()"
DME(logancall, "jsreturn")
return FinishMMDist()
}
function FinishMMDist()
{ var fieldvalue
for(var i=0;i
{ var pObj = self.logancall.record
;
fieldvalue = pObj.variable_value;
}
return fieldvalue;
}
Will Hoover
New Member
Posts: 1
3/18/2011 12:04 PM
Split
[CODE] function GetMMDistInfo(workUnit,field,seq) { var logancall = new DMEObject("LOGAN", "WFVARIABLE") logancall.out = "JAVASCRIPT" logancall.field = "workunit;variable-name;wf-seq-nbr;variable-value" logancall.index = "wfvset1" logancall.max = "1" logancall.xida = true logancall.key = workUnit + "=" + field + "=" + seq logancall.func = "FinishMMDist()" DME(logancall, "jsreturn") // you cannot return the results from this function -> return FinishMMDist() } function FinishMMDist() { var record1 = window.jsreturn.record[0]; // do something with the 1st record } [CODE]
Jeff Pratte
Basic Member
Posts: 13
12/23/2013 7:00 PM
Split
I tried:
function CheckForDupTwo()
{
var workUnit = 0;
var field = 0;
var seq = 0;
//function GetMMDistInfo(workUnit,field,seq) {
var logancall = new DMEObject("LOGAN", "WFVARIABLE")
logancall.out = "JAVASCRIPT"
logancall.field = "workunit;variable-name;wf-seq-nbr;variable-value"
logancall.index = "wfvset1"
logancall.max = "1"
logancall.xida = true
logancall.key = workUnit + "=" + field + "=" + seq
logancall.func = "FinishMMDist()"
DME(logancall, "jsreturn")
// you cannot return the results from this function -> return FinishMMDist()
return thisDup ;
}
function FinishMMDist() {
var record1 = window.jsreturn.record[0];
// do something with the 1st record
alert('jsreturn=' + jsreturn);
}
and I got this error message: SCRIPT5009: 'DMEObject' is undefined
Can you point me in the direction I should be looking?
Thanks, Jeff
Scott Perrier
Veteran Member
Posts: 39
New Poster
Congrats on posting!
1/31/2014 4:23 PM
Split
Jeff - the code above only works if you are on LAUA security and using the older dme format prior to environment 8.1. it will need to be tweeked to run the latest DME calls. Out=Javascript is no longer used out=XML or CSV are the 2 choices under the new AGS functions. See the developers guide for AGS calls on the support site. I am going through the very same issue now with my customizations. I have my AGS calls working but need to figure out how to process the xml returned.
Please
login
to post a reply.