Add Cache MethodAttribute to Display Method
[SysClientCacheDataMethodAttribute(true)]
How to convert from date to string using x++ in X++
void DateTStringConvert() { date today=today(); str TodayDate; ; TodayDate = date2str( today,321,DateDay::Digits2,DateSeparator::Slash,DateMonth::Digits2,DateSeparator::Slash,DateYear::Digits4); info(TodayDate ); }