How to fetch total cost field in contract record an

chandana karnat
Tera Contributor

Hi,

 

I need to fetch total cost field from selected contract record in my catalog item and auto populate that fetched total cost value into cost variable (single line text)

 

Thanks in Advance

1 ACCEPTED SOLUTION

Chandana,

My thoughts on this relate to the system locale of the user. It's possible that the contract value in the cataogue item (e.g. Euro) is in a different currency to the value (e.g. US dollars) in the contract record.

 

If the country set up in your sys_user record is a country where Euro is the currency, then this will display in the catalogue item.

View solution in original post

10 REPLIES 10

@chandana karnat 

it worked fine for me as admin

Is it not working for you as admin and non-admin both or only admin it's working?

AnkurBawiskar_0-1769766877592.png

 

Output:

auto populate.gif

💡 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

@Ankur Bawiskar 
same i did even for admin as well it not working for me

@chandana karnat 

for admin also it's not working.

means you didn't configure it properly

share your single line text variable configuration

Is that cost field on contract encrypted at field level?

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

@Ankur Bawiskar 

chandanakarnat_0-1769768662855.pngchandanakarnat_1-1769768691188.png

Yeah, we have one attribute at dictionary Omit sys original for this total cost field will this effect in fetching the value from total cost field of contract record?
Regards
Chandana

@chandana karnat 

share dictionary config screenshot for that field

did you try some other cost field and see if that auto populates?

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