Sage 100

 View Only
  • 1.  Is it possible to put field-level security using C

    Posted 09-06-2013 13:46
    Is it possible to put field-level security using Custom Office and scripting, let's say for a UD FIeld in SO Entry? Meaning disable it for some and not for others?


  • 2.  RE: Is it possible to put field-level security using C

    Posted 09-06-2013 14:09
    Shouldn't need scripting for that. Can just do user-specific screen customizations.


  • 3.  RE: Is it possible to put field-level security using C

    Posted 09-06-2013 14:11
      |   view attached
    attached sample...


  • 4.  RE: Is it possible to put field-level security using C

    Posted 09-06-2013 14:12
    OK, I should have known that. That is a big duh on my part. Thanks for cleaning the cobwebs!


  • 5.  RE: Is it possible to put field-level security using C

    Posted 09-06-2013 14:14
    If like me, scripting is your hammer, you can also use a script. You can use something like: retVal = oScript.SetUIControl(""TERMSCODE"", ""DISABLE"")


  • 6.  RE: Is it possible to put field-level security using C

    Posted 09-06-2013 15:49
    @MichaelNottoli where in the script do you put in which user you want to disable from using?


  • 7.  RE: Is it possible to put field-level security using C

    Posted 09-09-2013 05:56
    I generally use role based settings, so my script would look like: retVal = oSession.AsObject(oSession.Security).IsMember(""Admin"") if retVal = 0 then retVal = oScript.SetUIControl(""TERMSCODE"", ""DISABLE"") end if BTW, oSession.UserCode will return the user code.


  • 8.  RE: Is it possible to put field-level security using C

    Posted 09-09-2013 06:00
    novice question, what does the 'o' mean?


  • 9.  RE: Is it possible to put field-level security using C

    Posted 09-09-2013 06:07
    object


  • 10.  RE: Is it possible to put field-level security using C

    Posted 09-09-2013 07:25
    Thank you!