PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10/28/2015 12:39 PM by  Mark Jorgenson
DME call returns SSORequest() - sso.js error
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Mark Jorgenson
Private
Private
Basic Member
(23 points)
Basic Member
Posts:9


Send Message:

--
10/27/2015 2:55 PM

    I'm on Lawson 10.0.3 with Workspace, this plain vanilla DME call to a custom table is returning a SSO error of:

    Reason: Invalid at the top level of the document.

    This is the DME call

     // Do DME Call to Get Supervisor Code
      var s = portalWnd.DMEPath;
      s += "?PROD="+strPDL;
      s += "&FILE=KRMGRDEPT";
      s += "&FIELD=PROCESS-LEVEL;DEPARTMENT;EFFECT-DATE;STOP-DATE;";
      s += "&INDEX=KMDSET1";
      s += "&KEY=" + vCompNum + "=" + vSuperCode;
      s += "&OUT=CSV&DELIM=~&NOHEADER";

    I get the same error making a DME call to a standard table, i.e. employee.  Interestingly, the same DME call in the API builder and within the Add-ins for Excel will return data with no errors.

     

    Does anyone know how to resolve this?

    Mark Jorgenson
    Private
    Private
    Basic Member
    (23 points)
    Basic Member
    Posts:9


    Send Message:

    --
    10/28/2015 12:39 PM
    Interestingly; if I change the "OUT=CSV" to "OUT=XML" the error goes away...
    You are not authorized to post a reply.