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

Re: Unable to enhance a screen

$
0
0

Which is this XBO we are talking about?

Is LastUpdated an extended field at root level? If not, do you have any standard field with same name at Root level?

 

If you want to store this duration, then you need an additional extended field defined in your xbo and then refer it in your code in place of this.LastUpdated but if you don't want to store and just use for processing, you can use implicit declarations like,

var LastUpdate = this.LastActivityDate.Delta(Context.GetCurrentUserDate()).ConvertToDays();

In this case, datatype of LastUpdate variable is automatically set to Duration!


Viewing all articles
Browse latest Browse all 9091

Trending Articles



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