Auto Calculate the field value and store in the another filed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 01:01 AM
Hi @Madhuavandhy this is pretty much easy as you need to use function field see below document
Please mark my answer Helpful/Correct
Regards,
Siddharam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 01:10 AM
@Madhuavandhy You can use Business Rules to perform your Business Logics. Write an Insert/Update Business Rule with the required logic.
Example:-
current.total= current.a+current.b+current.c+current.d+current.e;
Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 01:10 AM
Hi @Madhuavandhy ,
Create a Before Insert and Update Business Rule.
Then in advance write this script.
var a=current.a;
var b = current.b;
var totalLCAllocation=a+b;
current.total_lc_allocation=totalLCAllocation;
Regards,
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 01:18 AM
You can easly calculate value of fields by creating simple business rule BEFORE insert and update checked. Check Advanced checkbox and write code to calculate value of your fields. You can perform any operaion you need using javascript.
current.u_field_name_c =parseInt(current.u_field_name_a) + parseInt(current.u_field_name_b);
current.u_field_name_d = parseInt(current.u_field_name_a) - parseInt(current.u_field_name_b);