- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 07:17 AM
Hello Community,
Is there possible to configure the way that the values from Summary tab in Risk Event (sn_risk_advanced_event) are calculated? (Indirect amount, Rapid recovery amount, Recovered amount etc.)
I was looking for any configuration in System Definition -> Tables. I investigated all of the fields I am interested to change calculation, but I couldn't find it.
I attached the screenshot.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 12:42 AM
Hi,
You can provide a custom script for the fields to calculate the value. To achieve this, you can follow the below steps:
1. Open the dictionary field.
2. Go to "advanced view" under related links for the dictionary field.
3. Check the "calculated" check box under the "calculated value".
4. Provide the script.
Regards,
Regards,
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 12:42 AM
Hi,
You can provide a custom script for the fields to calculate the value. To achieve this, you can follow the below steps:
1. Open the dictionary field.
2. Go to "advanced view" under related links for the dictionary field.
3. Check the "calculated" check box under the "calculated value".
4. Provide the script.
Regards,
Regards,
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 05:55 AM
Hello,
Thanks, that is very usefull 🙂
Do you have idea how should a script look like if I want to implement for example this:
Indirect amount = Gross loss - Net loss
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 09:46 AM
Hi @bartykowalsky ,
The current object would have the information about the risk event records. It can used to get the values of different fields using the column names and use them like:
return current.gross_loss - current.net_loss.
If this solves your query, please mark the response as helpful.
Regards,
Regards,
Jai