Override Calculated value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 11:39 AM
Hi Guys,
I am trying to call script include from Dictionary override- calculation field but it's not working .can you help me to fix this issue?
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 12:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 12:44 PM
No, that field type is "Date"-It's a custom field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 12:50 PM
Fine. But purpose of Calculated field is something different.
Look for Name field on User table its again a calculated field that has value of First Name & Last Name.
Also, in your script include you are returing gr.warranty_expiration; which is again a date value.
Try passing it as reference qualifier & then change the return to be gr.warranty_expiration.getDisplayValue();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 01:13 PM
Fine..this date field is inherited from the task table so I tried this above code in task table dictionary entry like below, it's working very fine. but I don't want this functionality for all task extension tables I want only in the incident table so I pasted this line in Dictionary Override there it's not working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2020 12:57 AM
In that case you can create a Dictonary override for the incident table.
Remove the code from the place where you have it now & in the same page scroll to the bottom to find a related list called Dictionary Override.
Once done past the code you have currently directly on the Task table.
