Sage 100

 View Only
  • 1.  In Customizer, when placing a UDF on the screen an

    Posted 07-21-2012 09:17
    In Customizer, when placing a UDF on the screen and wanting to have it 'uneditable' by the user, when do I use Disabled and when do I use Locked? This particular UDF has some custom programming attached to it and will be incrementing by 1 based on criteria, so thinking in this case 'Locked' but not sure when to use either. Thanks


  • 2.  RE: In Customizer, when placing a UDF on the screen an

    Posted 07-21-2012 10:54
    Disabled = Select this check box to prevent data from being entered into the control. Locked = Select this check box to prevent the value from being changed. Not much of a difference it appears, just kind of subtle. I'd test it both ways.


  • 3.  RE: In Customizer, when placing a UDF on the screen an

    Posted 07-21-2012 11:00
    Use Locked unless it's a Date field I will explain later (if you want)


  • 4.  RE: In Customizer, when placing a UDF on the screen an

    Posted 07-21-2012 11:01
    Thanks Alnoor, if you get a chance, I would like to know the explanation for future use.


  • 5.  RE: In Customizer, when placing a UDF on the screen an

    Posted 07-22-2012 11:56
      |   view attached
    Disabled means both the UI (the user looking at the screen) and programming can't access it. Locked means programming can still change the value of the field. Date fields are different in that they have a calendar control as well (the little date picker that makes it easy to select a date). The problem with locking a date field is the user can still change the date field by using the date picker even though they can't type in a new date. So what you do in those situations where you need programming to be able to change a date field is choose Locked + 1 of these 2 options: 1. Make a backup of the .M4L file in question under your MM\Custom folder (where MM is the module code). Then DFDM it and find the record for the date field (yes you can view a screen library with DFDM). Once found find the column with the ""C"" and change to a ""Q"". In example attached, I'm on SO Entry 4.50 PU2 and it's a UDF date for a new tab/panel I added. In this case it's Field 34 where you change the ""C"" to a ""Q"". 2. Ask your programming dept to write a quick script to change a Nomads property of the date field. Specifically change value of Associated Object from Calendar to Query.


  • 6.  RE: In Customizer, when placing a UDF on the screen an

    Posted 07-29-2012 18:33
    Thanks Alnoor, I appreciate your explanation so I can understand it better.