Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
Retrieve AGS call data into 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:
Jessica
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5164
People Online:
Visitors:
318
Members:
0
Total:
318
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 Customization/Development
Retrieve AGS call data into custom ESS form.
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
David Cron
Basic Member
Posts: 13
6/20/2012 2:22 PM
This is weird. I can run a DME call from the same page without an error (saving to the same iframe)
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.
Anyone have an idea of what's wrong or how to address this?
Thanks in advance
David
David Cron
Basic Member
Posts: 13
6/20/2012 2:24 PM
BTW I can execute the code in the URL line of the browser and it returns the XML exactly as expected.
David Cron
Basic Member
Posts: 13
6/21/2012 8:23 PM
Looks like the iframe setup didn't copy. Here it is: (removed the tag markers)
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;"
I am still getting the error on dot.htm which is where (obviously) jsreturn is located. From other parts of the code it appears the data should be in the "lawheader" frame but no amount of coercing seems to be able to address it./
Thanks for helping.
D
You are not authorized to post a reply.