var obj = new AGSObject(authUser.prodline, "ZY92.1"); obj.evt = "CHG"; obj.rtn = "DATA"; obj.lfn = "ALL"; obj.tds = "IGNORE"; obj.out = "XML"; obj.field = "FC=" + fc // fc = 'I' first time through, then '+' (%2b) with subsequent calls until no additional records remain. + "&DKEY-PROTECTED=" + nxtGroup // 'nxtGroup is populated with the DKEY-PROTECTED value from the previous return (or zeros if 'I') + "&HSU-COMPANY=1" + "&HSU-EMPLOYEE=" + empU + "&AGS-FLAG=1" + "&YEAR-SEL=" + year; obj.func = "parent.processTotals(parent.year, parent.fc, '92')"; obj.debug = false; AGS(obj, "jsreturn");
var obj = new AGSObject(authUser.prodline, "ZY92.1"); obj.event = "CHANGE"; obj.rtn = "DATA"; obj.lfn = "ALL"; obj.tds = "IGNORE"; obj.out = "XML"; obj.field = "FC=" + fc // fc = 'I' first time through, then '+' (%2b) with subsequent calls until no additional records remain. + "&DKEY-PROTECTED=" + nxtGroup // 'nxtGroup is populated with the DKEY-PROTECTED value from the previous return (or zeros if 'I') + "&HSU-COMPANY=1" + "&HSU-EMPLOYEE=" + empU + "&AGS-FLAG=1" + "&YEAR-SEL=" + year; obj.func = "parent.processTotals(parent.year, parent.fc, '92')"; obj.debug = false; AGS(obj, "jsreturn");