Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Calculate Difference of two fields in tickets

$
0
0

Hi Shiva G, I have tried the code mentioned by you

 

this.DateTime1=this.RequestInitialReceiptTimePoint.TimePoint.DateTime.content;

this.DateTime2=this.RequestFinishedAtTimePoint.TimePoint.DateTime.content;

 

it showed me the warning in script file that

 

Assignment of DateTime.content to the type string is not possible. then I changed it to

 

this.DateTime1=this.RequestInitialReceiptTimePoint.TimePoint.DateTime.content.ToString();

this.DateTime2=this.RequestFinishedAtTimePoint.TimePoint.DateTime.content.ToString();

 

and warning is gone.

 

I have tried this is what I did:-

 

12.PNG

script file


13.PNG

BO extension

 

14.PNG

And still the fields are empty.

 

It means no values are getting copied from the timedate fields.

 

 

Thanks and Regards,

Saurabh


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>