Location populating as object Glide Record

Simran321
Tera Expert

Hi there,

Can anyone help with the code?

 

I am trying to Orientation Location which is reference field to cmn
_location table. 

 

Simran321_0-1729038052188.png

 

1 ACCEPTED SOLUTION
17 REPLIES 17

Thanks @Bert_c1 

Gangadhar Ravi
Giga Sage
Giga Sage

@Simran321 you can directly set it. i don't think you need GlideRecord something like below

 

if u_orientation_location is reference field 

current.u_orientation_location = "sys_id_of_remote"; 

 

if u_orientation_location is string field 

 

current.u_orientation_location = "remote"; 

 

Please mark my answer correct and helpful if this works for you.

 

@Gangadhar Ravi - I tried that but it did not work.