Design Studio AGS call delete not working

 1 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Linda Ogle
New Member
Posts: 3
New Member
    I am trying to get the AGS call below to delete a record from a file.  I have checked all the variables to make sure they are populated properly.  Is it because the form,,FE14, requires a inquire before the delete?   I am getting message nbr =11 and message "no more records for given key".  Any suggestions ?  I am new to this and therefore I am Javascript challenged!

    var s = portalWnd.AGSPath + "?_PDL=";
                      s += portalWnd.oUserProfile.getAttribute("productline");
                      s += "&_TKN=FE14.1&_EVT=CHG&_LFN=All&_RTN=DATA&_TDS=IGNORE&FC=C";
                      s += "&F26-REVIEWERr0="+vRev;
                      s += "&LINE-FCr0=D";
                      s += "&F26-COMPANYr0="+vComp;
                      s += "&F26-ACCT-UNITr0="+vAcctUnit;
                      s += "&OUT=XML&_EOT=TRUE";
                  alert("string "+s)                
                  // submit FEREVIEWER delete AGScall to server
                  var sAGSInfo = portalWnd.httpRequest(s);
    Linda Ogle
    New Member
    Posts: 3
    New Member
      Never Mind.... I found my own mistake - I was referencing the wrong field!