ESS Benefits Enrollment - My DME and AGS calls Not Working

 9 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
agersh
Veteran Member Send Private Message
Posts: 81
Veteran Member

I added the following two functions and SRC references to the ESS Benefits Enrollment disp_ben_01.htm file to retrieve and update the HL_COV_PROOF field in the PAEMPLOYEE table. Both functions die at the DME and AGS call which causes Benefits Enrollment to display continuously a "Processing..." message. Does anyone know why I am experiencing this issue with my DME and AGS calls? function getSpouseHealthCoverageHR11() {  var dmeObj = new DMEObject(authUser.prodline, "paemployee");  dmeObj.out = "JAVASCRIPT";  dmeObj.prod = authUser.prodline;  dmeObj.field = "hl-cov-proof"  dmeObj.max = "1";  dmeObj.otmmax = "1";  dmeObj.key = parseInt(authUser.company,10) +"="+ parseInt(authUser.employee,10);  dmeObj.func = "";  parent.DME(dmeObj,"jsreturn");    if (parent.jsreturn.record[0].hl-cov-proof == 'N')   return 'checked';  else   return ''; } function updateSpouseHealthCoverageHR11() {   var tmp='Y';  if (self.document.getElementById("SpouseCoverage").checked == true)   tmp='N';  var obj = new parent.AGSObject(parent.prodline,"HR11.1")  obj.event="CHG"  obj.rtn="DATA"  obj.longNames=true  obj.tds=false  obj.field="FC=C"   + "&EMP-COMPANY=" + escape(parent.company)   + "&EMP-EMPLOYEE=" + escape(parent.employee)   + "&PEM-HL-COV-PROOF=" + tmp   + "&EFFECT-DATE=" + ymdtoday  obj.func=""  obj.debug=false  parent.AGS(obj,"jsreturn") }

Judy Consoli
Veteran Member Send Private Message
Posts: 43
Veteran Member
Do you have Fiddler installed on your desktop?  If not, get it.  It's free   .http://www.telerik.com/fiddler Install it and then cut and paste the DME and or AGS call into your url address and execute the command - this will give you a hint about what's not working.
Judy Consoli
Veteran Member Send Private Message
Posts: 43
Veteran Member
Sorry - should have said cut and paste the URL from the fiddler detail for the DME or AGS call
agersh
Veteran Member Send Private Message
Posts: 81
Veteran Member
Hi Judy, I have Fiddler. The last URL listed in the fiddler traffic window is for the disp_ben_01.htm file. The are no URL's listed or details before or after the disp_ben_01.htm file showing the above DME or AGS call being called. When the disp_ben_01.htm file is loaded the DME call should have been called. If I comment out the parent.DME(dmeObj,"jsreturn") line of code the disp_ben_01.htm loads and display fine.
Judy Consoli
Veteran Member Send Private Message
Posts: 43
Veteran Member
Then it sounds like that line is failing. Do you have an iframe at the bottom of your html for "jsreturn" Sounds like it's failing on the DME call because you are missing jsreturn Check out benannenroll.htm - you just can't insert the AGS DME calls without the "infrastructure" around it.
agersh
Veteran Member Send Private Message
Posts: 81
Veteran Member
Hi Judy, I want to thank you in advance for your help. Even after looking at benannenroll.htm and adding to my disp_ben_01.htm file anything infrastructure related to "jsreturn" the DME call is still falling. I have included in this replay every line of code that I added to disp_ben_01.htm related to the DME and AGS calls in hopes that may you will see something that I am missing.  <!-- A.Gersh 2014.07 Added --> <!-- A.Gersh 2014.07 --> <!-- A.Gersh 2014.07 Added -->   <!-- A.Gersh 2014.07 -->
       
  
 
 
  
  
 

Judy Consoli
Veteran Member Send Private Message
Posts: 43
Veteran Member
email me at judy.consoli@cms.k12.nc.us
agersh
Veteran Member Send Private Message
Posts: 81
Veteran Member
Judy, I want to verify that you got the email I sent you earlier. My email address is... alan.gersh@martinhealth.org
Judy Consoli
Veteran Member Send Private Message
Posts: 43
Veteran Member
Yes -I have sent you seveal emails - did you not receive? J
Judy Consoli
Veteran Member Send Private Message
Posts: 43
Veteran Member
Alan:  I am receiving your emails - not sure why you are not getting mine. send me your phone number and I will call you. J