How to set value to reference field using sys_id

peshwen
Giga Contributor

Hi all,

I am having sys_id of company name and i want to set that company name to reference field using sys_id.So how to do it?Please anyone can tell?

25 REPLIES 25

Tejas Tamboli
Giga Guru

Hello Peshwen,

 

If I understand correctly you want to set a reference field using a sys_id.

 

 

You should do it like below:

 

 

current.yourfieldname = sys_id of the record that you want to set.

 

 

Hope that helps.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.


Thanks and Regards,

Tejas