SAM: Need help to migrate fun: getTimeSpan() from UI script CalculateTotalCost into script include

Sachin Gavhane
Giga Guru

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

Dinesh Reddy By
Kilo Sage

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