SAM: Need help to migrate fun: getTimeSpan() from UI script CalculateTotalCost into script include
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-16-2025 10:47 PM
Hi SAM team,
there is OOB UI script with the name "CalculateTotalCost", in that script there is a function with the name 'getTimeSpan'.
I need help to migrate this function as it is into script include.
the functionality should remain the same.
Please help
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-17-2025 08:58 AM
Hi @Sachin Gavhane
"Set yearly cost" business rule as similar logic. I think you can convert it into a script include.
Thanks,
Dinesh
Please accept the solution if this is helpful