Sage 100

 View Only
  • 1.  V51 premium. Button in item inquiry that runs a sc

    Posted 08-08-2016 08:29
    V51 premium. Button in item inquiry that runs a script not working for select users. Error is GB security access denied. Pretty sure it is role permissions. Does anyone know where it is?


  • 2.  RE: V51 premium. Button in item inquiry that runs a sc

    Posted 08-08-2016 08:34
    The users will at least need ""View"" permissions for any business object you open in the script. The setting is in roll maintenance.


  • 3.  RE: V51 premium. Button in item inquiry that runs a sc

    Posted 08-08-2016 08:38
    Whenever accessing a business object within a script, I always put in an error if there is a permission problem. oAlias = oSession.GetObject(""IM_AliasItem_svc"") if oAlias <> 0 then Set oAlias = oSession.AsObject(oAlias) else retVal = oSession.AsObject(oSession.UI).MessageBox("""", ""Access to IM_AliasItem_svc is required for the script to work."") 'exit sub end if If you're using SQL commands directly in the script, then the applicable Windows userid will need permission to the database being accessed. Running from the client vs running from the server matters...


  • 4.  RE: V51 premium. Button in item inquiry that runs a sc

    Posted 08-08-2016 08:43
    leaning toward local computer or network permissions now. I logged in to Sage 100 with a user with full admin rights and getting the same message. It works from another workstation.