Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Human Capital Management
Lawson S3 HR/Payroll/Benefits
retrieving AGS data in custom ESS form?
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jeffin Joy
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
71
Members:
0
Total:
71
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Human Capital Management
Lawson S3 HR/Payroll/Benefits
retrieving AGS data in custom ESS form?
Please
login
to post a reply.
0 Replies
0
Subscribed to this topic
69 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
David Cron
Basic Member
Posts: 13
New Poster
Congrats on posting!
6/21/2012 8:48 PM
What I'm trying to do is to customize the Open Enrollment welcome screen by reading the BS01 end date for the employee group specific to the user. I have run a DME query to retrieve the first row of the table and that works fine but when I switch to an AGS call it doesn't allow me to progress to the next function.
Also once the data is retrieved, how is it addressed? I see several instances in Lawson code where AGS is used to retrun data but I never see where it's stored of addressed.
Here's the AGS call
function getEnrEndDate()
{
// change to use BS09 so we can be direct to the employee's specific rules
var obj = new AGSObject(authUser.prodline,"BS09.1")
obj.event = "ADD"
obj.rtn = "DATA"
obj.longNames = true
obj.tds = false
obj.out = "XML"
obj.field = "FC=I"
+ "&BAE-COMPANY=" + escape(authUser.company)
+ "&BAE-EMPLOYEE=" + escape(authUser.employee)
+ "&BAE-RULE-TYPE=A"
obj.debug = false
obj.func = "WelcomeScreen()"
AGS(obj,"jsreturn")
}
It never gets to the "WelcomeScreen" function I get an object expected message from IE on /lawson/xhrnet/dot.htm. Below is my iframe setup on the page. (I removed the tag markers because that inhibited the text in the topic display)
iframe name="jsreturn" src="https://www.lawsonguru.com/lawson/xhrnet/dot.htm" style="visibility:hidden;height:0px;width:0px;"
iframe name="lawheader" src="https://www.lawsonguru.com/lawson/xbnnet/besslawheader.htm" style="visibility:hidden;height:0px;width:0px;"
Anyone have an idea of what's wrong or how to address this?
Thanks in advance
David
Please
login
to post a reply.