Need some help to understand for currency field use in ref in one of my application

Amandeep39
Tera Contributor

I am using a currency code field that references values from the fx_currency table. However, when I save the form, the currency code is not retained—the field value disappears and is not visible after saving.

Could someone please suggest why this might be happening and what configuration or issue I should check in this case?

Amandeep39_0-1766738035263.png

  

Amandeep39_1-1766738096491.png

Can anyone suggest I wanna keep the selected currency code in the form, then what kind of changes are required?

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Amandeep39 

it seems you are trying to Refer to that table while creating the dictionary?

did you try creating dictionary in normal way from sys_dictionary?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I tried using a reference field, and I also verified the dictionary configuration for that field, but it still doesn’t work or retain the value. I’m looking for guidance on the underlying structure of the currency table, as I believe understanding that may help resolve the issue. I need the code field from the fx_currency table using reference, but in that table code field is not a unique one. Have a look

Amandeep39_1-1766742446346.png

 

Amandeep39_2-1766742542960.png

 





@Amandeep39 

I didn't get your question

-> you are able to create a reference field pointing to fx_currency table

-> what is not retained?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader