The CreatorCon Call for Content is officially open! Get started here.

Need to change location automatically based on short description

Vani14
Tera Contributor

we need to update location automatically based on short description.
ex: [S0009R01] we will get the short description like this, and we have same location 0009 is it possible to change automatically.

15 REPLIES 15

@Vani14 Can you send the screenshot?

@Vani14
Can you please set your location variable in the required field?
For Example: 
current.field_name = location;

Pick a short description from the current record like (var shortDes = current.short_description;)

Thanks,
Anshul

Hi @Vani14 ,

Can you check what is the value being returned on line no 8 locref.getUniqueValue()

I think location must be a reference field and you are setting the field with a string value like M1173 or M0001 you must use the sysid to populate the location field.