GlideRecord setValue

setValue(String name, Object value)

Sets the specified field to the specified value.
Normally a script would do a direct assignment, for example, gr.category = value. However, if in a script the element name is a variable, then gr.setValue(elementName, value) can be used. When setting a value, ensure the data type of the field matches the data type of the value you enter. This method cannot be used on journal fields.



If the value parameter is null, the record is not updated, and an error is not thrown


Comments

  1. software is important for automation of the organisation’s tasks as well as reporting the progress or lags in the organisation’s activities. This improves company’s efficiency and effectiveness of the company’s activities. The software reduces the workload and automation of activities. It also assists in elimination of human errors, as a result, improves effectiveness and consistency.www.inetsoft.com

    ReplyDelete
  2. The article you've shared here is fantastic because it provides some excellent information that will be incredibly beneficial to me. Thank you for sharing that. Keep up the good work. Indonesia Import Data

    ReplyDelete

Post a Comment

Popular posts from this blog

URL link in addInfoMessage