Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



how to change date format in result set

From: camellia.he (2014-11-13 07:39)

Hi All,
our user need to set up an result set base on reportdate of work order on a month basis, since result set base on saved query, and there is no chance to have reportdate convert to to_char(reportdate,'mm') in the query. So is there any suggestion about this? For now we don't consider using report for this.

thanks for any comment.


From: pranjal149 (2014-11-16 02:09)

If you want this on startcenter resultset try introducing a ReportMonth field in WO and a script (at object launch point) to update this field as soon as WO is created.
Pranjal.


From: (2014-11-16 15:41)

For a startcenter resultset I'd create a view, then a relationship to the view and then use Dot. notation in the result set to show the month.(If that is what your initial question was)
-Wes
Or try Pranjal's solution

From: "camellia.he@ttc.ca [MAXIMO]" <MAXIMO@yahoogroups.com>
To: MAXIMO@yahoogroups.com
Sent: Thursday, November 13, 2014 9:39 AM
Subject: [MAXIMO List] how to change date format in result set

  Hi All,
our user need to set up an result set base on reportdate of work order on a month basis, since result set base on saved query, and there is no chance to have reportdate convert to to_char(reportdate,'mm') in the query. So is there any suggestion about this? For now we don't consider using report for this.

thanks for any comment.

#yiv5522959734 #yiv5522959734 -- #yiv5522959734ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv5522959734 #yiv5522959734ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv5522959734 #yiv5522959734ygrp-mkp #yiv5522959734hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv5522959734 #yiv5522959734ygrp-mkp #yiv5522959734ads {margin-bottom:10px;}#yiv5522959734 #yiv5522959734ygrp-mkp .yiv5522959734ad {padding:0 0;}#yiv5522959734 #yiv5522959734ygrp-mkp .yiv5522959734ad p {margin:0;}#yiv5522959734 #yiv5522959734ygrp-mkp .yiv5522959734ad a {color:#0000ff;text-decoration:none;}#yiv5522959734 #yiv5522959734ygrp-sponsor #yiv5522959734ygrp-lc {font-family:Arial;}#yiv5522959734 #yiv5522959734ygrp-sponsor #yiv5522959734ygrp-lc #yiv5522959734hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv5522959734 #yiv5522959734ygrp-sponsor #yiv5522959734ygrp-lc .yiv5522959734ad {margin-bottom:10px;padding:0 0;}#yiv5522959734 #yiv5522959734actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv5522959734 #yiv5522959734activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv5522959734 #yiv5522959734activity span {font-weight:700;}#yiv5522959734 #yiv5522959734activity span:first-child {text-transform:uppercase;}#yiv5522959734 #yiv5522959734activity span a {color:#5085b6;text-decoration:none;}#yiv5522959734 #yiv5522959734activity span span {color:#ff7900;}#yiv5522959734 #yiv5522959734activity span .yiv5522959734underline {text-decoration:underline;}#yiv5522959734 .yiv5522959734attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv5522959734 .yiv5522959734attach div a {text-decoration:none;}#yiv5522959734 .yiv5522959734attach img {border:none;padding-right:5px;}#yiv5522959734 .yiv5522959734attach label {display:block;margin-bottom:5px;}#yiv5522959734 .yiv5522959734attach label a {text-decoration:none;}#yiv5522959734 blockquote {margin:0 0 0 4px;}#yiv5522959734 .yiv5522959734bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv5522959734 .yiv5522959734bold a {text-decoration:none;}#yiv5522959734 dd.yiv5522959734last p a {font-family:Verdana;font-weight:700;}#yiv5522959734 dd.yiv5522959734last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv5522959734 dd.yiv5522959734last p span.yiv5522959734yshortcuts {margin-right:0;}#yiv5522959734 div.yiv5522959734attach-table div div a {text-decoration:none;}#yiv5522959734 div.yiv5522959734attach-table {width:400px;}#yiv5522959734 div.yiv5522959734file-title a, #yiv5522959734 div.yiv5522959734file-title a:active, #yiv5522959734 div.yiv5522959734file-title a:hover, #yiv5522959734 div.yiv5522959734file-title a:visited {text-decoration:none;}#yiv5522959734 div.yiv5522959734photo-title a, #yiv5522959734 div.yiv5522959734photo-title a:active, #yiv5522959734 div.yiv5522959734photo-title a:hover, #yiv5522959734 div.yiv5522959734photo-title a:visited {text-decoration:none;}#yiv5522959734 div#yiv5522959734ygrp-mlmsg #yiv5522959734ygrp-msg p a span.yiv5522959734yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv5522959734 .yiv5522959734green {color:#628c2a;}#yiv5522959734 .yiv5522959734MsoNormal {margin:0 0 0 0;}#yiv5522959734 o {font-size:0;}#yiv5522959734 #yiv5522959734photos div {float:left;width:72px;}#yiv5522959734 #yiv5522959734photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv5522959734 #yiv5522959734photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv5522959734 #yiv5522959734reco-category {font-size:77%;}#yiv5522959734 #yiv5522959734reco-desc {font-size:77%;}#yiv5522959734 .yiv5522959734replbq {margin:4px;}#yiv5522959734 #yiv5522959734ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv5522959734 #yiv5522959734ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv5522959734 #yiv5522959734ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv5522959734 #yiv5522959734ygrp-mlmsg select, #yiv5522959734 input, #yiv5522959734 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv5522959734 #yiv5522959734ygrp-mlmsg pre, #yiv5522959734 code {font:115% monospace;}#yiv5522959734 #yiv5522959734ygrp-mlmsg * {line-height:1.22em;}#yiv5522959734 #yiv5522959734ygrp-mlmsg #yiv5522959734logo {padding-bottom:10px;}#yiv5522959734 #yiv5522959734ygrp-msg p a {font-family:Verdana;}#yiv5522959734 #yiv5522959734ygrp-msg p#yiv5522959734attach-count span {color:#1E66AE;font-weight:700;}#yiv5522959734 #yiv5522959734ygrp-reco #yiv5522959734reco-head {color:#ff7900;font-weight:700;}#yiv5522959734 #yiv5522959734ygrp-reco {margin-bottom:20px;padding:0px;}#yiv5522959734 #yiv5522959734ygrp-sponsor #yiv5522959734ov li a {font-size:130%;text-decoration:none;}#yiv5522959734 #yiv5522959734ygrp-sponsor #yiv5522959734ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv5522959734 #yiv5522959734ygrp-sponsor #yiv5522959734ov ul {margin:0;padding:0 0 0 8px;}#yiv5522959734 #yiv5522959734ygrp-text {font-family:Georgia;}#yiv5522959734 #yiv5522959734ygrp-text p {margin:0 0 1em 0;}#yiv5522959734 #yiv5522959734ygrp-text tt {font-size:120%;}#yiv5522959734 #yiv5522959734ygrp-vital ul li:last-child {border-right:none !important;}#yiv5522959734