Quantcast
Channel: SCN : Discussion List - SAP for Mobile
Viewing all articles
Browse latest Browse all 5806

Date & Time field formatting in Agentry / SSLM (initial value)

$
0
0

Hi,

 

Was wondering if someone could help me with the actual formatting of 'Date & Time' fields in Agentry. Purpose is to set an initial value for some of these field types in the mobile UI. While there are a couple of standard examples related to date and time calculations, setting a default value looks like an easy one, but seems to be a pain?

 

I used the initial value rule in combination with the 'transaction' properties (e.g. ActivityEmptyAdd). This location was fine since I was able to perform a test by using a constant date (this one got refelected on the device).

 

My (custom) initial value rule should default the minutes and seconds to '00' (by preference I would even like to get rid of the seconds entry from the ipad's 'scrollwheel' --> guess this is not possible). So basically, current date & time going from e.g. "09/12/2014 15:34:45" to "09/12/2014 15:00:00".

While I have no clue about the date returned (apparantly it's a date on which the USSR and China resume diplomatic relations), the formatting seems to be the desired one.

Pic01.png

 

This again gives me a completely different result in the Sales Manager app on iOS:

Pic02.png

Any ideas on how I can achieve this straigthforward requirement?

 

Thank you,

 

Sebastiaan.


Viewing all articles
Browse latest Browse all 5806

Trending Articles



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