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.



Information Message Creation

From: Jr (2015-06-02 13:58)

Hello Maximo User Group,
We are currently running Maximo 7.5.0.5 and trying to utilize the automation scripts to produce an information message when a PO is created from a PR with a priority greater than 0.We are certain it can be done because the same functionality is setup out of the box to inform a user when a work order is created that has an asset with an active warranty against it.
I have tried creating an automation script using an attribute launch point using the following code:
mboServer.getMboSet("PO").getMbo(0)
if PRIORITY>0:
  infogroup = "CL_PRIORITY"
  infokey = "customPRmsg"
It has been suggested I create an error message instead but I get the same results. I have tried creating a variable, and I have tried getMboSet("PR") and I have also and also tried creating a script using an object start point.This seems like it shouldn't be this difficult and maybe I am overthinking the process.Does anyone have any suggestions how to get this to work?
Thank you in advance for the time and help,Cal


From: Chris Lawless (2015-06-02 10:18)

When is the value of PRIORITY getting set?
What are you expecting to get from mboServer.getMboSet("PO").getMbo(0) ? Is
mboServer an MXServer connection? Without restricting the result set this
is pretty much going to just give you a random PO.
Are you trying to display a message if the priority field for the PO has
been set to something greater than zero?
Chris.
On Tue, Jun 2, 2015 at 9:58 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> Hello Maximo User Group,
> We are currently running Maximo 7.5.0.5 and trying to utilize the
> automation scripts to produce an information message when a PO is created
> from a PR with a priority greater than 0.We are certain it can be done
> because the same functionality is setup out of the box to inform a user
> when a work order is created that has an asset with an active warranty
> against it.
> I have tried creating an automation script using an attribute launch point
> using the following code:
> mboServer.getMboSet("PO").getMbo(0)
> if PRIORITY>0:
> infogroup = "CL_PRIORITY"
> infokey = "customPRmsg"
>
> It has been suggested I create an error message instead but I get the same
> results. I have tried creating a variable, and I have tried getMboSet("PR")
> and I have also and also tried creating a script using an object start
> point.This seems like it shouldn't be this difficult and maybe I am
> overthinking the process.Does anyone have any suggestions how to get this
> to work?
> Thank you in advance for the time and help,Cal
>
>
>
>
>


From: Jr (2015-06-02 14:38)

Good morning Chris,
The "mboServer.getMboSet("PO").getMbo(0)" was suggested from another admin, so I tried it. I have also tried just using the "if PRIORITY>0" without any kind of MBO connection and get nothing.
Basically, what the user would like is if a PR has a priority greater than 0 (we have a priority of  0 = routine, 1 = urgent and 2= emergency) and a PO is created from a PR, once it is created they would like a message to appear to show the buyer opening the newly created PO that it is either an urgent or emergency. I have verified that the priority field in the PO module is pulled over from the PR module if the PR was used to create the PO.
The message that we would like to appear is just a simple "This PO has a priority!". I know there are ways to show what priority it is and the value of it, but for now this is good enough just so we can verify the message works.
Cal
  From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <MAXIMO@yahoogroups.com>
To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
Sent: Tuesday, June 2, 2015 10:18 AM
Subject: Re: [MAXIMO List] Information Message Creation

  When is the value of PRIORITY getting set?
What are you expecting to get from mboServer.getMboSet("PO").getMbo(0) ? Is
mboServer an MXServer connection? Without restricting the result set this
is pretty much going to just give you a random PO.
Are you trying to display a message if the priority field for the PO has
been set to something greater than zero?
Chris.
On Tue, Jun 2, 2015 at 9:58 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> Hello Maximo User Group,
> We are currently running Maximo 7.5.0.5 and trying to utilize the
> automation scripts to produce an information message when a PO is created
> from a PR with a priority greater than 0.We are certain it can be done
> because the same functionality is setup out of the box to inform a user
> when a work order is created that has an asset with an active warranty
> against it.
> I have tried creating an automation script using an attribute launch point
> using the following code:
> mboServer.getMboSet("PO").getMbo(0)
> if PRIORITY>0:
> infogroup = "CL_PRIORITY"
> infokey = "customPRmsg"
>
> It has been suggested I create an error message instead but I get the same
> results. I have tried creating a variable, and I have tried getMboSet("PR")
> and I have also and also tried creating a script using an object start
> point.This seems like it shouldn't be this difficult and maybe I am
> overthinking the process.Does anyone have any suggestions how to get this
> to work?
> Thank you in advance for the time and help,Cal
>
>
>
>
>
#yiv6382845698 #yiv6382845698 -- #yiv6382845698ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv6382845698 #yiv6382845698ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv6382845698 #yiv6382845698ygrp-mkp #yiv6382845698hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv6382845698 #yiv6382845698ygrp-mkp #yiv6382845698ads {margin-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad {padding:0 0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad p {margin:0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad a {color:#0000ff;text-decoration:none;}#yiv6382845698 #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc {font-family:Arial;}#yiv6382845698 #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc #yiv6382845698hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv6382845698 #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc .yiv6382845698ad {margin-bottom:10px;padding:0 0;}#yiv6382845698 #yiv6382845698actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv6382845698 #yiv6382845698activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv6382845698 #yiv6382845698activity span {font-weight:700;}#yiv6382845698 #yiv6382845698activity span:first-child {text-transform:uppercase;}#yiv6382845698 #yiv6382845698activity span a {color:#5085b6;text-decoration:none;}#yiv6382845698 #yiv6382845698activity span span {color:#ff7900;}#yiv6382845698 #yiv6382845698activity span .yiv6382845698underline {text-decoration:underline;}#yiv6382845698 .yiv6382845698attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv6382845698 .yiv6382845698attach div a {text-decoration:none;}#yiv6382845698 .yiv6382845698attach img {border:none;padding-right:5px;}#yiv6382845698 .yiv6382845698attach label {display:block;margin-bottom:5px;}#yiv6382845698 .yiv6382845698attach label a {text-decoration:none;}#yiv6382845698 blockquote {margin:0 0 0 4px;}#yiv6382845698 .yiv6382845698bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv6382845698 .yiv6382845698bold a {text-decoration:none;}#yiv6382845698 dd.yiv6382845698last p a {font-family:Verdana;font-weight:700;}#yiv6382845698 dd.yiv6382845698last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv6382845698 dd.yiv6382845698last p span.yiv6382845698yshortcuts {margin-right:0;}#yiv6382845698 div.yiv6382845698attach-table div div a {text-decoration:none;}#yiv6382845698 div.yiv6382845698attach-table {width:400px;}#yiv6382845698 div.yiv6382845698file-title a, #yiv6382845698 div.yiv6382845698file-title a:active, #yiv6382845698 div.yiv6382845698file-title a:hover, #yiv6382845698 div.yiv6382845698file-title a:visited {text-decoration:none;}#yiv6382845698 div.yiv6382845698photo-title a, #yiv6382845698 div.yiv6382845698photo-title a:active, #yiv6382845698 div.yiv6382845698photo-title a:hover, #yiv6382845698 div.yiv6382845698photo-title a:visited {text-decoration:none;}#yiv6382845698 div#yiv6382845698ygrp-mlmsg #yiv6382845698ygrp-msg p a span.yiv6382845698yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv6382845698 .yiv6382845698green {color:#628c2a;}#yiv6382845698 .yiv6382845698MsoNormal {margin:0 0 0 0;}#yiv6382845698 o {font-size:0;}#yiv6382845698 #yiv6382845698photos div {float:left;width:72px;}#yiv6382845698 #yiv6382845698photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv6382845698 #yiv6382845698photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv6382845698 #yiv6382845698reco-category {font-size:77%;}#yiv6382845698 #yiv6382845698reco-desc {font-size:77%;}#yiv6382845698 .yiv6382845698replbq {margin:4px;}#yiv6382845698 #yiv6382845698ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv6382845698 #yiv6382845698ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv6382845698 #yiv6382845698ygrp-mlmsg select, #yiv6382845698 input, #yiv6382845698 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg pre, #yiv6382845698 code {font:115% monospace;}#yiv6382845698 #yiv6382845698ygrp-mlmsg * {line-height:1.22em;}#yiv6382845698 #yiv6382845698ygrp-mlmsg #yiv6382845698logo {padding-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-msg p a {font-family:Verdana;}#yiv6382845698 #yiv6382845698ygrp-msg p#yiv6382845698attach-count span {color:#1E66AE;font-weight:700;}#yiv6382845698 #yiv6382845698ygrp-reco #yiv6382845698reco-head {color:#ff7900;font-weight:700;}#yiv6382845698 #yiv6382845698ygrp-reco {margin-bottom:20px;padding:0px;}#yiv6382845698 #yiv6382845698ygrp-sponsor #yiv6382845698ov li a {font-size:130%;text-decoration:none;}#yiv6382845698 #yiv6382845698ygrp-sponsor #yiv6382845698ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv6382845698 #yiv6382845698ygrp-sponsor #yiv6382845698ov ul {margin:0;padding:0 0 0 8px;}#yiv6382845698 #yiv6382845698ygrp-text {font-family:Georgia;}#yiv6382845698 #yiv6382845698ygrp-text p {margin:0 0 1em 0;}#yiv6382845698 #yiv6382845698ygrp-text tt {font-size:120%;}#yiv6382845698 #yiv6382845698ygrp-vital ul li:last-child {border-right:none !important;}#yiv6382845698


From: Chris Lawless (2015-06-02 10:52)

Let's make sure we're on the same page.... I create two PR's, the first has
priority 0 (zero) and the second priority 1, I save them and they become
PO's.
A buyer views my two PO's (one at a time), for the first you want nothing
special to happen but for the second you want a popup saying "Hey look I'm
urgent" ?
On Tue, Jun 2, 2015 at 10:38 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> Good morning Chris,
> The "mboServer.getMboSet("PO").getMbo(0)" was suggested from another
> admin, so I tried it. I have also tried just using the "if PRIORITY>0"
> without any kind of MBO connection and get nothing.
> Basically, what the user would like is if a PR has a priority greater than
> 0 (we have a priority of 0 = routine, 1 = urgent and 2= emergency)
> and a PO is created from a PR, once it is created they would like a message
> to appear to show the buyer opening the newly created PO that it is either
> an urgent or emergency. I have verified that the priority field in the PO
> module is pulled over from the PR module if the PR was used to create the
> PO.
> The message that we would like to appear is just a simple "This PO has a
> priority!". I know there are ways to show what priority it is and the value
> of it, but for now this is good enough just so we can verify the message
> works.
> Cal
> From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <
> MAXIMO@yahoogroups.com>
> To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
> Sent: Tuesday, June 2, 2015 10:18 AM
> Subject: Re: [MAXIMO List] Information Message Creation
>
> When is the value of PRIORITY getting set?
>
> What are you expecting to get from mboServer.getMboSet("PO").getMbo(0) ? Is
> mboServer an MXServer connection? Without restricting the result set this
> is pretty much going to just give you a random PO.
>
> Are you trying to display a message if the priority field for the PO has
> been set to something greater than zero?
>
> Chris.
>
> On Tue, Jun 2, 2015 at 9:58 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
> MAXIMO@yahoogroups.com> wrote:
>
> >
> >
> > Hello Maximo User Group,
> > We are currently running Maximo 7.5.0.5 and trying to utilize the
> > automation scripts to produce an information message when a PO is created
> > from a PR with a priority greater than 0.We are certain it can be done
> > because the same functionality is setup out of the box to inform a user
> > when a work order is created that has an asset with an active warranty
> > against it.
> > I have tried creating an automation script using an attribute launch
> point
> > using the following code:
> > mboServer.getMboSet("PO").getMbo(0)
> > if PRIORITY>0:
> > infogroup = "CL_PRIORITY"
> > infokey = "customPRmsg"
> >
> > It has been suggested I create an error message instead but I get the
> same
> > results. I have tried creating a variable, and I have tried
> getMboSet("PR")
> > and I have also and also tried creating a script using an object start
> > point.This seems like it shouldn't be this difficult and maybe I am
> > overthinking the process.Does anyone have any suggestions how to get this
> > to work?
> > Thank you in advance for the time and help,Cal
> >
> >
> >
> >
> >
>
>
>
> #yiv6382845698 #yiv6382845698 -- #yiv6382845698ygrp-mkp {border:1px solid
> #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv6382845698
> #yiv6382845698ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv6382845698
> #yiv6382845698ygrp-mkp #yiv6382845698hd
> {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
> 0;}#yiv6382845698 #yiv6382845698ygrp-mkp #yiv6382845698ads
> {margin-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad
> {padding:0 0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad p
> {margin:0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad a
> {color:#0000ff;text-decoration:none;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc
> {font-family:Arial;}#yiv6382845698 #yiv6382845698ygrp-sponsor
> #yiv6382845698ygrp-lc #yiv6382845698hd {margin:10px
> 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc .yiv6382845698ad
> {margin-bottom:10px;padding:0 0;}#yiv6382845698 #yiv6382845698actions
> {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv6382845698
> #yiv6382845698activity
> {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv6382845698
> #yiv6382845698activity span {font-weight:700;}#yiv6382845698
> #yiv6382845698activity span:first-child
> {text-transform:uppercase;}#yiv6382845698 #yiv6382845698activity span a
> {color:#5085b6;text-decoration:none;}#yiv6382845698 #yiv6382845698activity
> span span {color:#ff7900;}#yiv6382845698 #yiv6382845698activity span
> .yiv6382845698underline {text-decoration:underline;}#yiv6382845698
> .yiv6382845698attach
> {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
> 0;width:400px;}#yiv6382845698 .yiv6382845698attach div a
> {text-decoration:none;}#yiv6382845698 .yiv6382845698attach img
> {border:none;padding-right:5px;}#yiv6382845698 .yiv6382845698attach label
> {display:block;margin-bottom:5px;}#yiv6382845698 .yiv6382845698attach label
> a {text-decoration:none;}#yiv6382845698 blockquote {margin:0 0 0
> 4px;}#yiv6382845698 .yiv6382845698bold
> {font-family:Arial;font-size:13px;font-weight:700;}#yiv6382845698
> .yiv6382845698bold a {text-decoration:none;}#yiv6382845698
> dd.yiv6382845698last p a
> {font-family:Verdana;font-weight:700;}#yiv6382845698 dd.yiv6382845698last p
> span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv6382845698
> dd.yiv6382845698last p span.yiv6382845698yshortcuts
> {margin-right:0;}#yiv6382845698 div.yiv6382845698attach-table div div a
> {text-decoration:none;}#yiv6382845698 div.yiv6382845698attach-table
> {width:400px;}#yiv6382845698 div.yiv6382845698file-title a, #yiv6382845698
> div.yiv6382845698file-title a:active, #yiv6382845698
> div.yiv6382845698file-title a:hover, #yiv6382845698
> div.yiv6382845698file-title a:visited {text-decoration:none;}#yiv6382845698
> div.yiv6382845698photo-title a, #yiv6382845698 div.yiv6382845698photo-title
> a:active, #yiv6382845698 div.yiv6382845698photo-title a:hover,
> #yiv6382845698 div.yiv6382845698photo-title a:visited
> {text-decoration:none;}#yiv6382845698 div#yiv6382845698ygrp-mlmsg
> #yiv6382845698ygrp-msg p a span.yiv6382845698yshortcuts
> {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv6382845698
> .yiv6382845698green {color:#628c2a;}#yiv6382845698 .yiv6382845698MsoNormal
> {margin:0 0 0 0;}#yiv6382845698 o {font-size:0;}#yiv6382845698
> #yiv6382845698photos div {float:left;width:72px;}#yiv6382845698
> #yiv6382845698photos div div {border:1px solid
> #666666;height:62px;overflow:hidden;width:62px;}#yiv6382845698
> #yiv6382845698photos div label
> {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv6382845698
> #yiv6382845698reco-category {font-size:77%;}#yiv6382845698
> #yiv6382845698reco-desc {font-size:77%;}#yiv6382845698 .yiv6382845698replbq
> {margin:4px;}#yiv6382845698 #yiv6382845698ygrp-actbar div a:first-child
> {margin-right:2px;padding-right:5px;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica,
> clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg table
> {font-size:inherit;font:100%;}#yiv6382845698 #yiv6382845698ygrp-mlmsg
> select, #yiv6382845698 input, #yiv6382845698 textarea {font:99% Arial,
> Helvetica, clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg pre,
> #yiv6382845698 code {font:115% monospace;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg * {line-height:1.22em;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg #yiv6382845698logo
> {padding-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-msg p a
> {font-family:Verdana;}#yiv6382845698 #yiv6382845698ygrp-msg
> p#yiv6382845698attach-count span
> {color:#1E66AE;font-weight:700;}#yiv6382845698 #yiv6382845698ygrp-reco
> #yiv6382845698reco-head {color:#ff7900;font-weight:700;}#yiv6382845698
> #yiv6382845698ygrp-reco {margin-bottom:20px;padding:0px;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov li a
> {font-size:130%;text-decoration:none;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov li
> {font-size:77%;list-style-type:square;padding:6px 0;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov ul {margin:0;padding:0 0 0
> 8px;}#yiv6382845698 #yiv6382845698ygrp-text
> {font-family:Georgia;}#yiv6382845698 #yiv6382845698ygrp-text p {margin:0 0
> 1em 0;}#yiv6382845698 #yiv6382845698ygrp-text tt
> {font-size:120%;}#yiv6382845698 #yiv6382845698ygrp-vital ul li:last-child
> {border-right:none !important;}#yiv6382845698
>
>
>
>
>


From: Jr (2015-06-02 15:25)

That is exactly right! a PR with a priority of 0 should have no effect and not show a message.
  From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <MAXIMO@yahoogroups.com>
To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
Sent: Tuesday, June 2, 2015 10:52 AM
Subject: Re: [MAXIMO List] Information Message Creation

  Let's make sure we're on the same page.... I create two PR's, the first has
priority 0 (zero) and the second priority 1, I save them and they become
PO's.
A buyer views my two PO's (one at a time), for the first you want nothing
special to happen but for the second you want a popup saying "Hey look I'm
urgent" ?
On Tue, Jun 2, 2015 at 10:38 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> Good morning Chris,
> The "mboServer.getMboSet("PO").getMbo(0)" was suggested from another
> admin, so I tried it. I have also tried just using the "if PRIORITY>0"
> without any kind of MBO connection and get nothing.
> Basically, what the user would like is if a PR has a priority greater than
> 0 (we have a priority of 0 = routine, 1 = urgent and 2= emergency)
> and a PO is created from a PR, once it is created they would like a message
> to appear to show the buyer opening the newly created PO that it is either
> an urgent or emergency. I have verified that the priority field in the PO
> module is pulled over from the PR module if the PR was used to create the
> PO.
> The message that we would like to appear is just a simple "This PO has a
> priority!". I know there are ways to show what priority it is and the value
> of it, but for now this is good enough just so we can verify the message
> works.
> Cal
> From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <
> MAXIMO@yahoogroups.com>
> To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
> Sent: Tuesday, June 2, 2015 10:18 AM
> Subject: Re: [MAXIMO List] Information Message Creation
>
> When is the value of PRIORITY getting set?
>
> What are you expecting to get from mboServer.getMboSet("PO").getMbo(0) ? Is
> mboServer an MXServer connection? Without restricting the result set this
> is pretty much going to just give you a random PO.
>
> Are you trying to display a message if the priority field for the PO has
> been set to something greater than zero?
>
> Chris.
>
> On Tue, Jun 2, 2015 at 9:58 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
> MAXIMO@yahoogroups.com> wrote:
>
> >
> >
> > Hello Maximo User Group,
> > We are currently running Maximo 7.5.0.5 and trying to utilize the
> > automation scripts to produce an information message when a PO is created
> > from a PR with a priority greater than 0.We are certain it can be done
> > because the same functionality is setup out of the box to inform a user
> > when a work order is created that has an asset with an active warranty
> > against it.
> > I have tried creating an automation script using an attribute launch
> point
> > using the following code:
> > mboServer.getMboSet("PO").getMbo(0)
> > if PRIORITY>0:
> > infogroup = "CL_PRIORITY"
> > infokey = "customPRmsg"
> >
> > It has been suggested I create an error message instead but I get the
> same
> > results. I have tried creating a variable, and I have tried
> getMboSet("PR")
> > and I have also and also tried creating a script using an object start
> > point.This seems like it shouldn't be this difficult and maybe I am
> > overthinking the process.Does anyone have any suggestions how to get this
> > to work?
> > Thank you in advance for the time and help,Cal
> >
> >
> >
> >
> >
>
>
>
> #yiv6382845698 #yiv6382845698 -- #yiv6382845698ygrp-mkp {border:1px solid
> #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv6382845698
> #yiv6382845698ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv6382845698
> #yiv6382845698ygrp-mkp #yiv6382845698hd
> {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
> 0;}#yiv6382845698 #yiv6382845698ygrp-mkp #yiv6382845698ads
> {margin-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad
> {padding:0 0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad p
> {margin:0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad a
> {color:#0000ff;text-decoration:none;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc
> {font-family:Arial;}#yiv6382845698 #yiv6382845698ygrp-sponsor
> #yiv6382845698ygrp-lc #yiv6382845698hd {margin:10px
> 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc .yiv6382845698ad
> {margin-bottom:10px;padding:0 0;}#yiv6382845698 #yiv6382845698actions
> {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv6382845698
> #yiv6382845698activity
> {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv6382845698
> #yiv6382845698activity span {font-weight:700;}#yiv6382845698
> #yiv6382845698activity span:first-child
> {text-transform:uppercase;}#yiv6382845698 #yiv6382845698activity span a
> {color:#5085b6;text-decoration:none;}#yiv6382845698 #yiv6382845698activity
> span span {color:#ff7900;}#yiv6382845698 #yiv6382845698activity span
> .yiv6382845698underline {text-decoration:underline;}#yiv6382845698
> .yiv6382845698attach
> {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
> 0;width:400px;}#yiv6382845698 .yiv6382845698attach div a
> {text-decoration:none;}#yiv6382845698 .yiv6382845698attach img
> {border:none;padding-right:5px;}#yiv6382845698 .yiv6382845698attach label
> {display:block;margin-bottom:5px;}#yiv6382845698 .yiv6382845698attach label
> a {text-decoration:none;}#yiv6382845698 blockquote {margin:0 0 0
> 4px;}#yiv6382845698 .yiv6382845698bold
> {font-family:Arial;font-size:13px;font-weight:700;}#yiv6382845698
> .yiv6382845698bold a {text-decoration:none;}#yiv6382845698
> dd.yiv6382845698last p a
> {font-family:Verdana;font-weight:700;}#yiv6382845698 dd.yiv6382845698last p
> span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv6382845698
> dd.yiv6382845698last p span.yiv6382845698yshortcuts
> {margin-right:0;}#yiv6382845698 div.yiv6382845698attach-table div div a
> {text-decoration:none;}#yiv6382845698 div.yiv6382845698attach-table
> {width:400px;}#yiv6382845698 div.yiv6382845698file-title a, #yiv6382845698
> div.yiv6382845698file-title a:active, #yiv6382845698
> div.yiv6382845698file-title a:hover, #yiv6382845698
> div.yiv6382845698file-title a:visited {text-decoration:none;}#yiv6382845698
> div.yiv6382845698photo-title a, #yiv6382845698 div.yiv6382845698photo-title
> a:active, #yiv6382845698 div.yiv6382845698photo-title a:hover,
> #yiv6382845698 div.yiv6382845698photo-title a:visited
> {text-decoration:none;}#yiv6382845698 div#yiv6382845698ygrp-mlmsg
> #yiv6382845698ygrp-msg p a span.yiv6382845698yshortcuts
> {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv6382845698
> .yiv6382845698green {color:#628c2a;}#yiv6382845698 .yiv6382845698MsoNormal
> {margin:0 0 0 0;}#yiv6382845698 o {font-size:0;}#yiv6382845698
> #yiv6382845698photos div {float:left;width:72px;}#yiv6382845698
> #yiv6382845698photos div div {border:1px solid
> #666666;height:62px;overflow:hidden;width:62px;}#yiv6382845698
> #yiv6382845698photos div label
> {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv6382845698
> #yiv6382845698reco-category {font-size:77%;}#yiv6382845698
> #yiv6382845698reco-desc {font-size:77%;}#yiv6382845698 .yiv6382845698replbq
> {margin:4px;}#yiv6382845698 #yiv6382845698ygrp-actbar div a:first-child
> {margin-right:2px;padding-right:5px;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica,
> clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg table
> {font-size:inherit;font:100%;}#yiv6382845698 #yiv6382845698ygrp-mlmsg
> select, #yiv6382845698 input, #yiv6382845698 textarea {font:99% Arial,
> Helvetica, clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg pre,
> #yiv6382845698 code {font:115% monospace;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg * {line-height:1.22em;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg #yiv6382845698logo
> {padding-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-msg p a
> {font-family:Verdana;}#yiv6382845698 #yiv6382845698ygrp-msg
> p#yiv6382845698attach-count span
> {color:#1E66AE;font-weight:700;}#yiv6382845698 #yiv6382845698ygrp-reco
> #yiv6382845698reco-head {color:#ff7900;font-weight:700;}#yiv6382845698
> #yiv6382845698ygrp-reco {margin-bottom:20px;padding:0px;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov li a
> {font-size:130%;text-decoration:none;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov li
> {font-size:77%;list-style-type:square;padding:6px 0;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov ul {margin:0;padding:0 0 0
> 8px;}#yiv6382845698 #yiv6382845698ygrp-text
> {font-family:Georgia;}#yiv6382845698 #yiv6382845698ygrp-text p {margin:0 0
> 1em 0;}#yiv6382845698 #yiv6382845698ygrp-text tt
> {font-size:120%;}#yiv6382845698 #yiv6382845698ygrp-vital ul li:last-child
> {border-right:none !important;}#yiv6382845698
>
>
>
>
>
#yiv8101898820 #yiv8101898820 -- #yiv8101898820ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8101898820 #yiv8101898820ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8101898820 #yiv8101898820ygrp-mkp #yiv8101898820hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv8101898820 #yiv8101898820ygrp-mkp #yiv8101898820ads {margin-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad {padding:0 0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad p {margin:0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad a {color:#0000ff;text-decoration:none;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc {font-family:Arial;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc #yiv8101898820hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc .yiv8101898820ad {margin-bottom:10px;padding:0 0;}#yiv8101898820 #yiv8101898820actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8101898820 #yiv8101898820activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8101898820 #yiv8101898820activity span {font-weight:700;}#yiv8101898820 #yiv8101898820activity span:first-child {text-transform:uppercase;}#yiv8101898820 #yiv8101898820activity span a {color:#5085b6;text-decoration:none;}#yiv8101898820 #yiv8101898820activity span span {color:#ff7900;}#yiv8101898820 #yiv8101898820activity span .yiv8101898820underline {text-decoration:underline;}#yiv8101898820 .yiv8101898820attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv8101898820 .yiv8101898820attach div a {text-decoration:none;}#yiv8101898820 .yiv8101898820attach img {border:none;padding-right:5px;}#yiv8101898820 .yiv8101898820attach label {display:block;margin-bottom:5px;}#yiv8101898820 .yiv8101898820attach label a {text-decoration:none;}#yiv8101898820 blockquote {margin:0 0 0 4px;}#yiv8101898820 .yiv8101898820bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv8101898820 .yiv8101898820bold a {text-decoration:none;}#yiv8101898820 dd.yiv8101898820last p a {font-family:Verdana;font-weight:700;}#yiv8101898820 dd.yiv8101898820last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8101898820 dd.yiv8101898820last p span.yiv8101898820yshortcuts {margin-right:0;}#yiv8101898820 div.yiv8101898820attach-table div div a {text-decoration:none;}#yiv8101898820 div.yiv8101898820attach-table {width:400px;}#yiv8101898820 div.yiv8101898820file-title a, #yiv8101898820 div.yiv8101898820file-title a:active, #yiv8101898820 div.yiv8101898820file-title a:hover, #yiv8101898820 div.yiv8101898820file-title a:visited {text-decoration:none;}#yiv8101898820 div.yiv8101898820photo-title a, #yiv8101898820 div.yiv8101898820photo-title a:active, #yiv8101898820 div.yiv8101898820photo-title a:hover, #yiv8101898820 div.yiv8101898820photo-title a:visited {text-decoration:none;}#yiv8101898820 div#yiv8101898820ygrp-mlmsg #yiv8101898820ygrp-msg p a span.yiv8101898820yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8101898820 .yiv8101898820green {color:#628c2a;}#yiv8101898820 .yiv8101898820MsoNormal {margin:0 0 0 0;}#yiv8101898820 o {font-size:0;}#yiv8101898820 #yiv8101898820photos div {float:left;width:72px;}#yiv8101898820 #yiv8101898820photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv8101898820 #yiv8101898820photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8101898820 #yiv8101898820reco-category {font-size:77%;}#yiv8101898820 #yiv8101898820reco-desc {font-size:77%;}#yiv8101898820 .yiv8101898820replbq {margin:4px;}#yiv8101898820 #yiv8101898820ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv8101898820 #yiv8101898820ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv8101898820 #yiv8101898820ygrp-mlmsg select, #yiv8101898820 input, #yiv8101898820 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg pre, #yiv8101898820 code {font:115% monospace;}#yiv8101898820 #yiv8101898820ygrp-mlmsg * {line-height:1.22em;}#yiv8101898820 #yiv8101898820ygrp-mlmsg #yiv8101898820logo {padding-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-msg p a {font-family:Verdana;}#yiv8101898820 #yiv8101898820ygrp-msg p#yiv8101898820attach-count span {color:#1E66AE;font-weight:700;}#yiv8101898820 #yiv8101898820ygrp-reco #yiv8101898820reco-head {color:#ff7900;font-weight:700;}#yiv8101898820 #yiv8101898820ygrp-reco {margin-bottom:20px;padding:0px;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ov li a {font-size:130%;text-decoration:none;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ov ul {margin:0;padding:0 0 0 8px;}#yiv8101898820 #yiv8101898820ygrp-text {font-family:Georgia;}#yiv8101898820 #yiv8101898820ygrp-text p {margin:0 0 1em 0;}#yiv8101898820 #yiv8101898820ygrp-text tt {font-size:120%;}#yiv8101898820 #yiv8101898820ygrp-vital ul li:last-child {border-right:none !important;}#yiv8101898820


From: Chris Lawless (2015-06-02 11:34)

I would suggest you reconsider your approach, on the "display" of a record
I think the only real event that you could tap in to is the init() which
would cause you a bunch of other problems if you tried to display a dialog.
The init() "fires" when the record is initialized, as such it will fire for
every record displayed on the list page when you do a search - basically
you don't want code in there unless you really, really have to.
I think the "Maximo Way" would be to use the conditional UI to provide a
visual indicator of the importance of your higher priority PO, maybe make
the priority field a different color or hide/show a screen component
containing a message saying "I am really, really important" or whatever.
There may be options in extending the java bean for the application or the
init for a field (rather than the mbo) that is on the screen but not on the
list tab but you'd be well advised (IMHO) to utilize what we know "fits"
and adjust you requirement to suit the configuration tools rather than
adding comparatively complex code to get it just the way you envision it.
I'd suggest the "Maximo way" would be conditional UI plus, if it is really
critical, maybe combine with escalations to send email notifications and/or
escalate if the PO isn't handled within your defined timeframe for urgency.
Chris.
On Tue, Jun 2, 2015 at 11:25 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> That is exactly right! a PR with a priority of 0 should have no
> effect and not show a message.
> From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <
> MAXIMO@yahoogroups.com>
> To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
> Sent: Tuesday, June 2, 2015 10:52 AM
>
> Subject: Re: [MAXIMO List] Information Message Creation
>
> Let's make sure we're on the same page.... I create two PR's, the first
> has
> priority 0 (zero) and the second priority 1, I save them and they become
> PO's.
>
> A buyer views my two PO's (one at a time), for the first you want nothing
> special to happen but for the second you want a popup saying "Hey look I'm
> urgent" ?
>
> On Tue, Jun 2, 2015 at 10:38 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
> MAXIMO@yahoogroups.com> wrote:
>
> >
> >
> > Good morning Chris,
> > The "mboServer.getMboSet("PO").getMbo(0)" was suggested from another
> > admin, so I tried it. I have also tried just using the "if PRIORITY>0"
> > without any kind of MBO connection and get nothing.
> > Basically, what the user would like is if a PR has a priority greater
> than
> > 0 (we have a priority of 0 = routine, 1 = urgent and 2= emergency)
> > and a PO is created from a PR, once it is created they would like a
> message
> > to appear to show the buyer opening the newly created PO that it is
> either
> > an urgent or emergency. I have verified that the priority field in the PO
> > module is pulled over from the PR module if the PR was used to create the
> > PO.
> > The message that we would like to appear is just a simple "This PO has a
> > priority!". I know there are ways to show what priority it is and the
> value
> > of it, but for now this is good enough just so we can verify the message
> > works.
> > Cal
> > From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <
> > MAXIMO@yahoogroups.com>
> > To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
> > Sent: Tuesday, June 2, 2015 10:18 AM
> > Subject: Re: [MAXIMO List] Information Message Creation
> >
> > When is the value of PRIORITY getting set?
> >
> > What are you expecting to get from mboServer.getMboSet("PO").getMbo(0) ?
> Is
> > mboServer an MXServer connection? Without restricting the result set this
> > is pretty much going to just give you a random PO.
> >
> > Are you trying to display a message if the priority field for the PO has
> > been set to something greater than zero?
> >
> > Chris.
> >
> > On Tue, Jun 2, 2015 at 9:58 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
> > MAXIMO@yahoogroups.com> wrote:
> >
> > >
> > >
> > > Hello Maximo User Group,
> > > We are currently running Maximo 7.5.0.5 and trying to utilize the
> > > automation scripts to produce an information message when a PO is
> created
> > > from a PR with a priority greater than 0.We are certain it can be done
> > > because the same functionality is setup out of the box to inform a user
> > > when a work order is created that has an asset with an active warranty
> > > against it.
> > > I have tried creating an automation script using an attribute launch
> > point
> > > using the following code:
> > > mboServer.getMboSet("PO").getMbo(0)
> > > if PRIORITY>0:
> > > infogroup = "CL_PRIORITY"
> > > infokey = "customPRmsg"
> > >
> > > It has been suggested I create an error message instead but I get the
> > same
> > > results. I have tried creating a variable, and I have tried
> > getMboSet("PR")
> > > and I have also and also tried creating a script using an object start
> > > point.This seems like it shouldn't be this difficult and maybe I am
> > > overthinking the process.Does anyone have any suggestions how to get
> this
> > > to work?
> > > Thank you in advance for the time and help,Cal
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > #yiv6382845698 #yiv6382845698 -- #yiv6382845698ygrp-mkp {border:1px solid
> > #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv6382845698
> > #yiv6382845698ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv6382845698
> > #yiv6382845698ygrp-mkp #yiv6382845698hd
> > {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
> > 0;}#yiv6382845698 #yiv6382845698ygrp-mkp #yiv6382845698ads
> > {margin-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-mkp
> .yiv6382845698ad
> > {padding:0 0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad p
> > {margin:0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad a
> > {color:#0000ff;text-decoration:none;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc
> > {font-family:Arial;}#yiv6382845698 #yiv6382845698ygrp-sponsor
> > #yiv6382845698ygrp-lc #yiv6382845698hd {margin:10px
> > 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc .yiv6382845698ad
> > {margin-bottom:10px;padding:0 0;}#yiv6382845698 #yiv6382845698actions
> > {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv6382845698
> > #yiv6382845698activity
> >
> {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv6382845698
> > #yiv6382845698activity span {font-weight:700;}#yiv6382845698
> > #yiv6382845698activity span:first-child
> > {text-transform:uppercase;}#yiv6382845698 #yiv6382845698activity span a
> > {color:#5085b6;text-decoration:none;}#yiv6382845698
> #yiv6382845698activity
> > span span {color:#ff7900;}#yiv6382845698 #yiv6382845698activity span
> > .yiv6382845698underline {text-decoration:underline;}#yiv6382845698
> > .yiv6382845698attach
> > {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
> > 0;width:400px;}#yiv6382845698 .yiv6382845698attach div a
> > {text-decoration:none;}#yiv6382845698 .yiv6382845698attach img
> > {border:none;padding-right:5px;}#yiv6382845698 .yiv6382845698attach label
> > {display:block;margin-bottom:5px;}#yiv6382845698 .yiv6382845698attach
> label
> > a {text-decoration:none;}#yiv6382845698 blockquote {margin:0 0 0
> > 4px;}#yiv6382845698 .yiv6382845698bold
> > {font-family:Arial;font-size:13px;font-weight:700;}#yiv6382845698
> > .yiv6382845698bold a {text-decoration:none;}#yiv6382845698
> > dd.yiv6382845698last p a
> > {font-family:Verdana;font-weight:700;}#yiv6382845698
> dd.yiv6382845698last p
> > span
> {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv6382845698
> > dd.yiv6382845698last p span.yiv6382845698yshortcuts
> > {margin-right:0;}#yiv6382845698 div.yiv6382845698attach-table div div a
> > {text-decoration:none;}#yiv6382845698 div.yiv6382845698attach-table
> > {width:400px;}#yiv6382845698 div.yiv6382845698file-title a,
> #yiv6382845698
> > div.yiv6382845698file-title a:active, #yiv6382845698
> > div.yiv6382845698file-title a:hover, #yiv6382845698
> > div.yiv6382845698file-title a:visited
> {text-decoration:none;}#yiv6382845698
> > div.yiv6382845698photo-title a, #yiv6382845698
> div.yiv6382845698photo-title
> > a:active, #yiv6382845698 div.yiv6382845698photo-title a:hover,
> > #yiv6382845698 div.yiv6382845698photo-title a:visited
> > {text-decoration:none;}#yiv6382845698 div#yiv6382845698ygrp-mlmsg
> > #yiv6382845698ygrp-msg p a span.yiv6382845698yshortcuts
> > {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv6382845698
> > .yiv6382845698green {color:#628c2a;}#yiv6382845698
> .yiv6382845698MsoNormal
> > {margin:0 0 0 0;}#yiv6382845698 o {font-size:0;}#yiv6382845698
> > #yiv6382845698photos div {float:left;width:72px;}#yiv6382845698
> > #yiv6382845698photos div div {border:1px solid
> > #666666;height:62px;overflow:hidden;width:62px;}#yiv6382845698
> > #yiv6382845698photos div label
> >
> {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv6382845698
> > #yiv6382845698reco-category {font-size:77%;}#yiv6382845698
> > #yiv6382845698reco-desc {font-size:77%;}#yiv6382845698
> .yiv6382845698replbq
> > {margin:4px;}#yiv6382845698 #yiv6382845698ygrp-actbar div a:first-child
> > {margin-right:2px;padding-right:5px;}#yiv6382845698
> > #yiv6382845698ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica,
> > clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg table
> > {font-size:inherit;font:100%;}#yiv6382845698 #yiv6382845698ygrp-mlmsg
> > select, #yiv6382845698 input, #yiv6382845698 textarea {font:99% Arial,
> > Helvetica, clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg
> pre,
> > #yiv6382845698 code {font:115% monospace;}#yiv6382845698
> > #yiv6382845698ygrp-mlmsg * {line-height:1.22em;}#yiv6382845698
> > #yiv6382845698ygrp-mlmsg #yiv6382845698logo
> > {padding-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-msg p a
> > {font-family:Verdana;}#yiv6382845698 #yiv6382845698ygrp-msg
> > p#yiv6382845698attach-count span
> > {color:#1E66AE;font-weight:700;}#yiv6382845698 #yiv6382845698ygrp-reco
> > #yiv6382845698reco-head {color:#ff7900;font-weight:700;}#yiv6382845698
> > #yiv6382845698ygrp-reco {margin-bottom:20px;padding:0px;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ov li a
> > {font-size:130%;text-decoration:none;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ov li
> > {font-size:77%;list-style-type:square;padding:6px 0;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ov ul {margin:0;padding:0 0 0
> > 8px;}#yiv6382845698 #yiv6382845698ygrp-text
> > {font-family:Georgia;}#yiv6382845698 #yiv6382845698ygrp-text p {margin:0
> 0
> > 1em 0;}#yiv6382845698 #yiv6382845698ygrp-text tt
> > {font-size:120%;}#yiv6382845698 #yiv6382845698ygrp-vital ul li:last-child
> > {border-right:none !important;}#yiv6382845698
> >
> >
> >
> >
> >
>
>
>
> #yiv8101898820 #yiv8101898820 -- #yiv8101898820ygrp-mkp {border:1px solid
> #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8101898820
> #yiv8101898820ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8101898820
> #yiv8101898820ygrp-mkp #yiv8101898820hd
> {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
> 0;}#yiv8101898820 #yiv8101898820ygrp-mkp #yiv8101898820ads
> {margin-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad
> {padding:0 0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad p
> {margin:0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad a
> {color:#0000ff;text-decoration:none;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc
> {font-family:Arial;}#yiv8101898820 #yiv8101898820ygrp-sponsor
> #yiv8101898820ygrp-lc #yiv8101898820hd {margin:10px
> 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc .yiv8101898820ad
> {margin-bottom:10px;padding:0 0;}#yiv8101898820 #yiv8101898820actions
> {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8101898820
> #yiv8101898820activity
> {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8101898820
> #yiv8101898820activity span {font-weight:700;}#yiv8101898820
> #yiv8101898820activity span:first-child
> {text-transform:uppercase;}#yiv8101898820 #yiv8101898820activity span a
> {color:#5085b6;text-decoration:none;}#yiv8101898820 #yiv8101898820activity
> span span {color:#ff7900;}#yiv8101898820 #yiv8101898820activity span
> .yiv8101898820underline {text-decoration:underline;}#yiv8101898820
> .yiv8101898820attach
> {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
> 0;width:400px;}#yiv8101898820 .yiv8101898820attach div a
> {text-decoration:none;}#yiv8101898820 .yiv8101898820attach img
> {border:none;padding-right:5px;}#yiv8101898820 .yiv8101898820attach label
> {display:block;margin-bottom:5px;}#yiv8101898820 .yiv8101898820attach label
> a {text-decoration:none;}#yiv8101898820 blockquote {margin:0 0 0
> 4px;}#yiv8101898820 .yiv8101898820bold
> {font-family:Arial;font-size:13px;font-weight:700;}#yiv8101898820
> .yiv8101898820bold a {text-decoration:none;}#yiv8101898820
> dd.yiv8101898820last p a
> {font-family:Verdana;font-weight:700;}#yiv8101898820 dd.yiv8101898820last p
> span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8101898820
> dd.yiv8101898820last p span.yiv8101898820yshortcuts
> {margin-right:0;}#yiv8101898820 div.yiv8101898820attach-table div div a
> {text-decoration:none;}#yiv8101898820 div.yiv8101898820attach-table
> {width:400px;}#yiv8101898820 div.yiv8101898820file-title a, #yiv8101898820
> div.yiv8101898820file-title a:active, #yiv8101898820
> div.yiv8101898820file-title a:hover, #yiv8101898820
> div.yiv8101898820file-title a:visited {text-decoration:none;}#yiv8101898820
> div.yiv8101898820photo-title a, #yiv8101898820 div.yiv8101898820photo-title
> a:active, #yiv8101898820 div.yiv8101898820photo-title a:hover,
> #yiv8101898820 div.yiv8101898820photo-title a:visited
> {text-decoration:none;}#yiv8101898820 div#yiv8101898820ygrp-mlmsg
> #yiv8101898820ygrp-msg p a span.yiv8101898820yshortcuts
> {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8101898820
> .yiv8101898820green {color:#628c2a;}#yiv8101898820 .yiv8101898820MsoNormal
> {margin:0 0 0 0;}#yiv8101898820 o {font-size:0;}#yiv8101898820
> #yiv8101898820photos div {float:left;width:72px;}#yiv8101898820
> #yiv8101898820photos div div {border:1px solid
> #666666;height:62px;overflow:hidden;width:62px;}#yiv8101898820
> #yiv8101898820photos div label
> {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8101898820
> #yiv8101898820reco-category {font-size:77%;}#yiv8101898820
> #yiv8101898820reco-desc {font-size:77%;}#yiv8101898820 .yiv8101898820replbq
> {margin:4px;}#yiv8101898820 #yiv8101898820ygrp-actbar div a:first-child
> {margin-right:2px;padding-right:5px;}#yiv8101898820
> #yiv8101898820ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica,
> clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg table
> {font-size:inherit;font:100%;}#yiv8101898820 #yiv8101898820ygrp-mlmsg
> select, #yiv8101898820 input, #yiv8101898820 textarea {font:99% Arial,
> Helvetica, clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg pre,
> #yiv8101898820 code {font:115% monospace;}#yiv8101898820
> #yiv8101898820ygrp-mlmsg * {line-height:1.22em;}#yiv8101898820
> #yiv8101898820ygrp-mlmsg #yiv8101898820logo
> {padding-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-msg p a
> {font-family:Verdana;}#yiv8101898820 #yiv8101898820ygrp-msg
> p#yiv8101898820attach-count span
> {color:#1E66AE;font-weight:700;}#yiv8101898820 #yiv8101898820ygrp-reco
> #yiv8101898820reco-head {color:#ff7900;font-weight:700;}#yiv8101898820
> #yiv8101898820ygrp-reco {margin-bottom:20px;padding:0px;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ov li a
> {font-size:130%;text-decoration:none;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ov li
> {font-size:77%;list-style-type:square;padding:6px 0;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ov ul {margin:0;padding:0 0 0
> 8px;}#yiv8101898820 #yiv8101898820ygrp-text
> {font-family:Georgia;}#yiv8101898820 #yiv8101898820ygrp-text p {margin:0 0
> 1em 0;}#yiv8101898820 #yiv8101898820ygrp-text tt
> {font-size:120%;}#yiv8101898820 #yiv8101898820ygrp-vital ul li:last-child
> {border-right:none !important;}#yiv8101898820
>
>
>
>
>


From: Incomm Solutions (2015-06-02 09:41)


Why not just put some conditional display to change the Priority field to red? You can do that in application designer with no coding.
Shannon

Sent from my wonderful BlackBerry Z30 smartphone!
  Original Message  
From: Jr theonlyjr@yahoo.com [MAXIMO]
Sent: Tuesday, June 2, 2015 9:25 AM
To: MAXIMO@yahoogroups.com
Reply To: MAXIMO@yahoogroups.com
Subject: Re: [MAXIMO List] Information Message Creation
That is exactly right! a PR with a priority of 0 should have no effect and not show a message.
  From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <MAXIMO@yahoogroups.com>
To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
Sent: Tuesday, June 2, 2015 10:52 AM
Subject: Re: [MAXIMO List] Information Message Creation
  Let's make sure we're on the same page.... I create two PR's, the first has
priority 0 (zero) and the second priority 1, I save them and they become
PO's.
A buyer views my two PO's (one at a time), for the first you want nothing
special to happen but for the second you want a popup saying "Hey look I'm
urgent" ?
On Tue, Jun 2, 2015 at 10:38 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> Good morning Chris,
> The "mboServer.getMboSet("PO").getMbo(0)" was suggested from another
> admin, so I tried it. I have also tried just using the "if PRIORITY>0"
> without any kind of MBO connection and get nothing.
> Basically, what the user would like is if a PR has a priority greater than
> 0 (we have a priority of 0 = routine, 1 = urgent and 2= emergency)
> and a PO is created from a PR, once it is created they would like a message
> to appear to show the buyer opening the newly created PO that it is either
> an urgent or emergency. I have verified that the priority field in the PO
> module is pulled over from the PR module if the PR was used to create the
> PO.
> The message that we would like to appear is just a simple "This PO has a
> priority!". I know there are ways to show what priority it is and the value
> of it, but for now this is good enough just so we can verify the message
> works.
> Cal
> From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <
> MAXIMO@yahoogroups.com>
> To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
> Sent: Tuesday, June 2, 2015 10:18 AM
> Subject: Re: [MAXIMO List] Information Message Creation
>
> When is the value of PRIORITY getting set?
>
> What are you expecting to get from mboServer.getMboSet("PO").getMbo(0) ? Is
> mboServer an MXServer connection? Without restricting the result set this
> is pretty much going to just give you a random PO.
>
> Are you trying to display a message if the priority field for the PO has
> been set to something greater than zero?
>
> Chris.
>
> On Tue, Jun 2, 2015 at 9:58 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
> MAXIMO@yahoogroups.com> wrote:
>
> >
> >
> > Hello Maximo User Group,
> > We are currently running Maximo 7.5.0.5 and trying to utilize the
> > automation scripts to produce an information message when a PO is created
> > from a PR with a priority greater than 0.We are certain it can be done
> > because the same functionality is setup out of the box to inform a user
> > when a work order is created that has an asset with an active warranty
> > against it.
> > I have tried creating an automation script using an attribute launch
> point
> > using the following code:
> > mboServer.getMboSet("PO").getMbo(0)
> > if PRIORITY>0:
> > infogroup = "CL_PRIORITY"
> > infokey = "customPRmsg"
> >
> > It has been suggested I create an error message instead but I get the
> same
> > results. I have tried creating a variable, and I have tried
> getMboSet("PR")
> > and I have also and also tried creating a script using an object start
> > point.This seems like it shouldn't be this difficult and maybe I am
> > overthinking the process.Does anyone have any suggestions how to get this
> > to work?
> > Thank you in advance for the time and help,Cal
> >
> >
> >
> >
> >
>
>
>
> #yiv6382845698 #yiv6382845698 -- #yiv6382845698ygrp-mkp {border:1px solid
> #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv6382845698
> #yiv6382845698ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv6382845698
> #yiv6382845698ygrp-mkp #yiv6382845698hd
> {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
> 0;}#yiv6382845698 #yiv6382845698ygrp-mkp #yiv6382845698ads
> {margin-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad
> {padding:0 0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad p
> {margin:0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad a
> {color:#0000ff;text-decoration:none;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc
> {font-family:Arial;}#yiv6382845698 #yiv6382845698ygrp-sponsor
> #yiv6382845698ygrp-lc #yiv6382845698hd {margin:10px
> 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc .yiv6382845698ad
> {margin-bottom:10px;padding:0 0;}#yiv6382845698 #yiv6382845698actions
> {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv6382845698
> #yiv6382845698activity
> {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv6382845698
> #yiv6382845698activity span {font-weight:700;}#yiv6382845698
> #yiv6382845698activity span:first-child
> {text-transform:uppercase;}#yiv6382845698 #yiv6382845698activity span a
> {color:#5085b6;text-decoration:none;}#yiv6382845698 #yiv6382845698activity
> span span {color:#ff7900;}#yiv6382845698 #yiv6382845698activity span
> .yiv6382845698underline {text-decoration:underline;}#yiv6382845698
> .yiv6382845698attach
> {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
> 0;width:400px;}#yiv6382845698 .yiv6382845698attach div a
> {text-decoration:none;}#yiv6382845698 .yiv6382845698attach img
> {border:none;padding-right:5px;}#yiv6382845698 .yiv6382845698attach label
> {display:block;margin-bottom:5px;}#yiv6382845698 .yiv6382845698attach label
> a {text-decoration:none;}#yiv6382845698 blockquote {margin:0 0 0
> 4px;}#yiv6382845698 .yiv6382845698bold
> {font-family:Arial;font-size:13px;font-weight:700;}#yiv6382845698
> .yiv6382845698bold a {text-decoration:none;}#yiv6382845698
> dd.yiv6382845698last p a
> {font-family:Verdana;font-weight:700;}#yiv6382845698 dd.yiv6382845698last p
> span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv6382845698
> dd.yiv6382845698last p span.yiv6382845698yshortcuts
> {margin-right:0;}#yiv6382845698 div.yiv6382845698attach-table div div a
> {text-decoration:none;}#yiv6382845698 div.yiv6382845698attach-table
> {width:400px;}#yiv6382845698 div.yiv6382845698file-title a, #yiv6382845698
> div.yiv6382845698file-title a:active, #yiv6382845698
> div.yiv6382845698file-title a:hover, #yiv6382845698
> div.yiv6382845698file-title a:visited {text-decoration:none;}#yiv6382845698
> div.yiv6382845698photo-title a, #yiv6382845698 div.yiv6382845698photo-title
> a:active, #yiv6382845698 div.yiv6382845698photo-title a:hover,
> #yiv6382845698 div.yiv6382845698photo-title a:visited
> {text-decoration:none;}#yiv6382845698 div#yiv6382845698ygrp-mlmsg
> #yiv6382845698ygrp-msg p a span.yiv6382845698yshortcuts
> {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv6382845698
> .yiv6382845698green {color:#628c2a;}#yiv6382845698 .yiv6382845698MsoNormal
> {margin:0 0 0 0;}#yiv6382845698 o {font-size:0;}#yiv6382845698
> #yiv6382845698photos div {float:left;width:72px;}#yiv6382845698
> #yiv6382845698photos div div {border:1px solid
> #666666;height:62px;overflow:hidden;width:62px;}#yiv6382845698
> #yiv6382845698photos div label
> {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv6382845698
> #yiv6382845698reco-category {font-size:77%;}#yiv6382845698
> #yiv6382845698reco-desc {font-size:77%;}#yiv6382845698 .yiv6382845698replbq
> {margin:4px;}#yiv6382845698 #yiv6382845698ygrp-actbar div a:first-child
> {margin-right:2px;padding-right:5px;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica,
> clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg table
> {font-size:inherit;font:100%;}#yiv6382845698 #yiv6382845698ygrp-mlmsg
> select, #yiv6382845698 input, #yiv6382845698 textarea {font:99% Arial,
> Helvetica, clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg pre,
> #yiv6382845698 code {font:115% monospace;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg * {line-height:1.22em;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg #yiv6382845698logo
> {padding-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-msg p a
> {font-family:Verdana;}#yiv6382845698 #yiv6382845698ygrp-msg
> p#yiv6382845698attach-count span
> {color:#1E66AE;font-weight:700;}#yiv6382845698 #yiv6382845698ygrp-reco
> #yiv6382845698reco-head {color:#ff7900;font-weight:700;}#yiv6382845698
> #yiv6382845698ygrp-reco {margin-bottom:20px;padding:0px;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov li a
> {font-size:130%;text-decoration:none;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov li
> {font-size:77%;list-style-type:square;padding:6px 0;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov ul {margin:0;padding:0 0 0
> 8px;}#yiv6382845698 #yiv6382845698ygrp-text
> {font-family:Georgia;}#yiv6382845698 #yiv6382845698ygrp-text p {margin:0 0
> 1em 0;}#yiv6382845698 #yiv6382845698ygrp-text tt
> {font-size:120%;}#yiv6382845698 #yiv6382845698ygrp-vital ul li:last-child
> {border-right:none !important;}#yiv6382845698
>
>
>
>
>
#yiv8101898820 #yiv8101898820 -- #yiv8101898820ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8101898820 #yiv8101898820ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8101898820 #yiv8101898820ygrp-mkp #yiv8101898820hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv8101898820 #yiv8101898820ygrp-mkp #yiv8101898820ads {margin-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad {padding:0 0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad p {margin:0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad a {color:#0000ff;text-decoration:none;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc {font-family:Arial;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc #yiv8101898820hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc .yiv8101898820ad {margin-bottom:10px;padding:0 0;}#yiv8101898820 #yiv8101898820actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8101898820 #yiv8101898820activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8101898820 #yiv8101898820activity span {font-weight:700;}#yiv8101898820 #yiv8101898820activity span:first-child {text-transform:uppercase;}#yiv8101898820 #yiv8101898820activity span a {color:#5085b6;text-decoration:none;}#yiv8101898820 #yiv8101898820activity span span {color:#ff7900;}#yiv8101898820 #yiv8101898820activity span .yiv8101898820underline {text-decoration:underline;}#yiv8101898820 .yiv8101898820attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv8101898820 .yiv8101898820attach div a {text-decoration:none;}#yiv8101898820 .yiv8101898820attach img {border:none;padding-right:5px;}#yiv8101898820 .yiv8101898820attach label {display:block;margin-bottom:5px;}#yiv8101898820 .yiv8101898820attach label a {text-decoration:none;}#yiv8101898820 blockquote {margin:0 0 0 4px;}#yiv8101898820 .yiv8101898820bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv8101898820 .yiv8101898820bold a {text-decoration:none;}#yiv8101898820 dd.yiv8101898820last p a {font-family:Verdana;font-weight:700;}#yiv8101898820 dd.yiv8101898820last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8101898820 dd.yiv8101898820last p span.yiv8101898820yshortcuts {margin-right:0;}#yiv8101898820 div.yiv8101898820attach-table div div a {text-decoration:none;}#yiv8101898820 div.yiv8101898820attach-table {width:400px;}#yiv8101898820 div.yiv8101898820file-title a, #yiv8101898820 div.yiv8101898820file-title a:active, #yiv8101898820 div.yiv8101898820file-title a:hover, #yiv8101898820 div.yiv8101898820file-title a:visited {text-decoration:none;}#yiv8101898820 div.yiv8101898820photo-title a, #yiv8101898820 div.yiv8101898820photo-title a:active, #yiv8101898820 div.yiv8101898820photo-title a:hover, #yiv8101898820 div.yiv8101898820photo-title a:visited {text-decoration:none;}#yiv8101898820 div#yiv8101898820ygrp-mlmsg #yiv8101898820ygrp-msg p a span.yiv8101898820yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8101898820 .yiv8101898820green {color:#628c2a;}#yiv8101898820 .yiv8101898820MsoNormal {margin:0 0 0 0;}#yiv8101898820 o {font-size:0;}#yiv8101898820 #yiv8101898820photos div {float:left;width:72px;}#yiv8101898820 #yiv8101898820photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv8101898820 #yiv8101898820photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8101898820 #yiv8101898820reco-category {font-size:77%;}#yiv8101898820 #yiv8101898820reco-desc {font-size:77%;}#yiv8101898820 .yiv8101898820replbq {margin:4px;}#yiv8101898820 #yiv8101898820ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv8101898820 #yiv8101898820ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv8101898820 #yiv8101898820ygrp-mlmsg select, #yiv8101898820 input, #yiv8101898820 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg pre, #yiv8101898820 code {font:115% monospace;}#yiv8101898820 #yiv8101898820ygrp-mlmsg * {line-height:1.22em;}#yiv8101898820 #yiv8101898820ygrp-mlmsg #yiv8101898820logo {padding-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-msg p a {font-family:Verdana;}#yiv8101898820 #yiv8101898820ygrp-msg p#yiv8101898820attach-count span {color:#1E66AE;font-weight:700;}#yiv8101898820 #yiv8101898820ygrp-reco #yiv8101898820reco-head {color:#ff7900;font-weight:700;}#yiv8101898820 #yiv8101898820ygrp-reco {margin-bottom:20px;padding:0px;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ov li a {font-size:130%;text-decoration:none;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ov ul {margin:0;padding:0 0 0 8px;}#yiv8101898820 #yiv8101898820ygrp-text {font-family:Georgia;}#yiv8101898820 #yiv8101898820ygrp-text p {margin:0 0 1em 0;}#yiv8101898820 #yiv8101898820ygrp-text tt {font-size:120%;}#yiv8101898820 #yiv8101898820ygrp-vital ul li:last-child {border-right:none !important;}#yiv8101898820


From: Jr (2015-06-02 17:36)

Thank you Chris, I will take that advice and make that work since it seems like a much simpler fix.Have a great day.
  From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <MAXIMO@yahoogroups.com>
To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
Sent: Tuesday, June 2, 2015 11:34 AM
Subject: Re: [MAXIMO List] Information Message Creation

  I would suggest you reconsider your approach, on the "display" of a record
I think the only real event that you could tap in to is the init() which
would cause you a bunch of other problems if you tried to display a dialog.
The init() "fires" when the record is initialized, as such it will fire for
every record displayed on the list page when you do a search - basically
you don't want code in there unless you really, really have to.
I think the "Maximo Way" would be to use the conditional UI to provide a
visual indicator of the importance of your higher priority PO, maybe make
the priority field a different color or hide/show a screen component
containing a message saying "I am really, really important" or whatever.
There may be options in extending the java bean for the application or the
init for a field (rather than the mbo) that is on the screen but not on the
list tab but you'd be well advised (IMHO) to utilize what we know "fits"
and adjust you requirement to suit the configuration tools rather than
adding comparatively complex code to get it just the way you envision it.
I'd suggest the "Maximo way" would be conditional UI plus, if it is really
critical, maybe combine with escalations to send email notifications and/or
escalate if the PO isn't handled within your defined timeframe for urgency.
Chris.
On Tue, Jun 2, 2015 at 11:25 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> That is exactly right! a PR with a priority of 0 should have no
> effect and not show a message.
> From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <
> MAXIMO@yahoogroups.com>
> To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
> Sent: Tuesday, June 2, 2015 10:52 AM
>
> Subject: Re: [MAXIMO List] Information Message Creation
>
> Let's make sure we're on the same page.... I create two PR's, the first
> has
> priority 0 (zero) and the second priority 1, I save them and they become
> PO's.
>
> A buyer views my two PO's (one at a time), for the first you want nothing
> special to happen but for the second you want a popup saying "Hey look I'm
> urgent" ?
>
> On Tue, Jun 2, 2015 at 10:38 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
> MAXIMO@yahoogroups.com> wrote:
>
> >
> >
> > Good morning Chris,
> > The "mboServer.getMboSet("PO").getMbo(0)" was suggested from another
> > admin, so I tried it. I have also tried just using the "if PRIORITY>0"
> > without any kind of MBO connection and get nothing.
> > Basically, what the user would like is if a PR has a priority greater
> than
> > 0 (we have a priority of 0 = routine, 1 = urgent and 2= emergency)
> > and a PO is created from a PR, once it is created they would like a
> message
> > to appear to show the buyer opening the newly created PO that it is
> either
> > an urgent or emergency. I have verified that the priority field in the PO
> > module is pulled over from the PR module if the PR was used to create the
> > PO.
> > The message that we would like to appear is just a simple "This PO has a
> > priority!". I know there are ways to show what priority it is and the
> value
> > of it, but for now this is good enough just so we can verify the message
> > works.
> > Cal
> > From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <
> > MAXIMO@yahoogroups.com>
> > To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
> > Sent: Tuesday, June 2, 2015 10:18 AM
> > Subject: Re: [MAXIMO List] Information Message Creation
> >
> > When is the value of PRIORITY getting set?
> >
> > What are you expecting to get from mboServer.getMboSet("PO").getMbo(0) ?
> Is
> > mboServer an MXServer connection? Without restricting the result set this
> > is pretty much going to just give you a random PO.
> >
> > Are you trying to display a message if the priority field for the PO has
> > been set to something greater than zero?
> >
> > Chris.
> >
> > On Tue, Jun 2, 2015 at 9:58 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
> > MAXIMO@yahoogroups.com> wrote:
> >
> > >
> > >
> > > Hello Maximo User Group,
> > > We are currently running Maximo 7.5.0.5 and trying to utilize the
> > > automation scripts to produce an information message when a PO is
> created
> > > from a PR with a priority greater than 0.We are certain it can be done
> > > because the same functionality is setup out of the box to inform a user
> > > when a work order is created that has an asset with an active warranty
> > > against it.
> > > I have tried creating an automation script using an attribute launch
> > point
> > > using the following code:
> > > mboServer.getMboSet("PO").getMbo(0)
> > > if PRIORITY>0:
> > > infogroup = "CL_PRIORITY"
> > > infokey = "customPRmsg"
> > >
> > > It has been suggested I create an error message instead but I get the
> > same
> > > results. I have tried creating a variable, and I have tried
> > getMboSet("PR")
> > > and I have also and also tried creating a script using an object start
> > > point.This seems like it shouldn't be this difficult and maybe I am
> > > overthinking the process.Does anyone have any suggestions how to get
> this
> > > to work?
> > > Thank you in advance for the time and help,Cal
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > #yiv6382845698 #yiv6382845698 -- #yiv6382845698ygrp-mkp {border:1px solid
> > #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv6382845698
> > #yiv6382845698ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv6382845698
> > #yiv6382845698ygrp-mkp #yiv6382845698hd
> > {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
> > 0;}#yiv6382845698 #yiv6382845698ygrp-mkp #yiv6382845698ads
> > {margin-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-mkp
> .yiv6382845698ad
> > {padding:0 0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad p
> > {margin:0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad a
> > {color:#0000ff;text-decoration:none;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc
> > {font-family:Arial;}#yiv6382845698 #yiv6382845698ygrp-sponsor
> > #yiv6382845698ygrp-lc #yiv6382845698hd {margin:10px
> > 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc .yiv6382845698ad
> > {margin-bottom:10px;padding:0 0;}#yiv6382845698 #yiv6382845698actions
> > {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv6382845698
> > #yiv6382845698activity
> >
> {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv6382845698
> > #yiv6382845698activity span {font-weight:700;}#yiv6382845698
> > #yiv6382845698activity span:first-child
> > {text-transform:uppercase;}#yiv6382845698 #yiv6382845698activity span a
> > {color:#5085b6;text-decoration:none;}#yiv6382845698
> #yiv6382845698activity
> > span span {color:#ff7900;}#yiv6382845698 #yiv6382845698activity span
> > .yiv6382845698underline {text-decoration:underline;}#yiv6382845698
> > .yiv6382845698attach
> > {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
> > 0;width:400px;}#yiv6382845698 .yiv6382845698attach div a
> > {text-decoration:none;}#yiv6382845698 .yiv6382845698attach img
> > {border:none;padding-right:5px;}#yiv6382845698 .yiv6382845698attach label
> > {display:block;margin-bottom:5px;}#yiv6382845698 .yiv6382845698attach
> label
> > a {text-decoration:none;}#yiv6382845698 blockquote {margin:0 0 0
> > 4px;}#yiv6382845698 .yiv6382845698bold
> > {font-family:Arial;font-size:13px;font-weight:700;}#yiv6382845698
> > .yiv6382845698bold a {text-decoration:none;}#yiv6382845698
> > dd.yiv6382845698last p a
> > {font-family:Verdana;font-weight:700;}#yiv6382845698
> dd.yiv6382845698last p
> > span
> {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv6382845698
> > dd.yiv6382845698last p span.yiv6382845698yshortcuts
> > {margin-right:0;}#yiv6382845698 div.yiv6382845698attach-table div div a
> > {text-decoration:none;}#yiv6382845698 div.yiv6382845698attach-table
> > {width:400px;}#yiv6382845698 div.yiv6382845698file-title a,
> #yiv6382845698
> > div.yiv6382845698file-title a:active, #yiv6382845698
> > div.yiv6382845698file-title a:hover, #yiv6382845698
> > div.yiv6382845698file-title a:visited
> {text-decoration:none;}#yiv6382845698
> > div.yiv6382845698photo-title a, #yiv6382845698
> div.yiv6382845698photo-title
> > a:active, #yiv6382845698 div.yiv6382845698photo-title a:hover,
> > #yiv6382845698 div.yiv6382845698photo-title a:visited
> > {text-decoration:none;}#yiv6382845698 div#yiv6382845698ygrp-mlmsg
> > #yiv6382845698ygrp-msg p a span.yiv6382845698yshortcuts
> > {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv6382845698
> > .yiv6382845698green {color:#628c2a;}#yiv6382845698
> .yiv6382845698MsoNormal
> > {margin:0 0 0 0;}#yiv6382845698 o {font-size:0;}#yiv6382845698
> > #yiv6382845698photos div {float:left;width:72px;}#yiv6382845698
> > #yiv6382845698photos div div {border:1px solid
> > #666666;height:62px;overflow:hidden;width:62px;}#yiv6382845698
> > #yiv6382845698photos div label
> >
> {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv6382845698
> > #yiv6382845698reco-category {font-size:77%;}#yiv6382845698
> > #yiv6382845698reco-desc {font-size:77%;}#yiv6382845698
> .yiv6382845698replbq
> > {margin:4px;}#yiv6382845698 #yiv6382845698ygrp-actbar div a:first-child
> > {margin-right:2px;padding-right:5px;}#yiv6382845698
> > #yiv6382845698ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica,
> > clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg table
> > {font-size:inherit;font:100%;}#yiv6382845698 #yiv6382845698ygrp-mlmsg
> > select, #yiv6382845698 input, #yiv6382845698 textarea {font:99% Arial,
> > Helvetica, clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg
> pre,
> > #yiv6382845698 code {font:115% monospace;}#yiv6382845698
> > #yiv6382845698ygrp-mlmsg * {line-height:1.22em;}#yiv6382845698
> > #yiv6382845698ygrp-mlmsg #yiv6382845698logo
> > {padding-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-msg p a
> > {font-family:Verdana;}#yiv6382845698 #yiv6382845698ygrp-msg
> > p#yiv6382845698attach-count span
> > {color:#1E66AE;font-weight:700;}#yiv6382845698 #yiv6382845698ygrp-reco
> > #yiv6382845698reco-head {color:#ff7900;font-weight:700;}#yiv6382845698
> > #yiv6382845698ygrp-reco {margin-bottom:20px;padding:0px;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ov li a
> > {font-size:130%;text-decoration:none;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ov li
> > {font-size:77%;list-style-type:square;padding:6px 0;}#yiv6382845698
> > #yiv6382845698ygrp-sponsor #yiv6382845698ov ul {margin:0;padding:0 0 0
> > 8px;}#yiv6382845698 #yiv6382845698ygrp-text
> > {font-family:Georgia;}#yiv6382845698 #yiv6382845698ygrp-text p {margin:0
> 0
> > 1em 0;}#yiv6382845698 #yiv6382845698ygrp-text tt
> > {font-size:120%;}#yiv6382845698 #yiv6382845698ygrp-vital ul li:last-child
> > {border-right:none !important;}#yiv6382845698
> >
> >
> >
> >
> >
>
>
>
> #yiv8101898820 #yiv8101898820 -- #yiv8101898820ygrp-mkp {border:1px solid
> #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8101898820
> #yiv8101898820ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8101898820
> #yiv8101898820ygrp-mkp #yiv8101898820hd
> {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
> 0;}#yiv8101898820 #yiv8101898820ygrp-mkp #yiv8101898820ads
> {margin-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad
> {padding:0 0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad p
> {margin:0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad a
> {color:#0000ff;text-decoration:none;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc
> {font-family:Arial;}#yiv8101898820 #yiv8101898820ygrp-sponsor
> #yiv8101898820ygrp-lc #yiv8101898820hd {margin:10px
> 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc .yiv8101898820ad
> {margin-bottom:10px;padding:0 0;}#yiv8101898820 #yiv8101898820actions
> {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8101898820
> #yiv8101898820activity
> {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8101898820
> #yiv8101898820activity span {font-weight:700;}#yiv8101898820
> #yiv8101898820activity span:first-child
> {text-transform:uppercase;}#yiv8101898820 #yiv8101898820activity span a
> {color:#5085b6;text-decoration:none;}#yiv8101898820 #yiv8101898820activity
> span span {color:#ff7900;}#yiv8101898820 #yiv8101898820activity span
> .yiv8101898820underline {text-decoration:underline;}#yiv8101898820
> .yiv8101898820attach
> {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
> 0;width:400px;}#yiv8101898820 .yiv8101898820attach div a
> {text-decoration:none;}#yiv8101898820 .yiv8101898820attach img
> {border:none;padding-right:5px;}#yiv8101898820 .yiv8101898820attach label
> {display:block;margin-bottom:5px;}#yiv8101898820 .yiv8101898820attach label
> a {text-decoration:none;}#yiv8101898820 blockquote {margin:0 0 0
> 4px;}#yiv8101898820 .yiv8101898820bold
> {font-family:Arial;font-size:13px;font-weight:700;}#yiv8101898820
> .yiv8101898820bold a {text-decoration:none;}#yiv8101898820
> dd.yiv8101898820last p a
> {font-family:Verdana;font-weight:700;}#yiv8101898820 dd.yiv8101898820last p
> span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8101898820
> dd.yiv8101898820last p span.yiv8101898820yshortcuts
> {margin-right:0;}#yiv8101898820 div.yiv8101898820attach-table div div a
> {text-decoration:none;}#yiv8101898820 div.yiv8101898820attach-table
> {width:400px;}#yiv8101898820 div.yiv8101898820file-title a, #yiv8101898820
> div.yiv8101898820file-title a:active, #yiv8101898820
> div.yiv8101898820file-title a:hover, #yiv8101898820
> div.yiv8101898820file-title a:visited {text-decoration:none;}#yiv8101898820
> div.yiv8101898820photo-title a, #yiv8101898820 div.yiv8101898820photo-title
> a:active, #yiv8101898820 div.yiv8101898820photo-title a:hover,
> #yiv8101898820 div.yiv8101898820photo-title a:visited
> {text-decoration:none;}#yiv8101898820 div#yiv8101898820ygrp-mlmsg
> #yiv8101898820ygrp-msg p a span.yiv8101898820yshortcuts
> {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8101898820
> .yiv8101898820green {color:#628c2a;}#yiv8101898820 .yiv8101898820MsoNormal
> {margin:0 0 0 0;}#yiv8101898820 o {font-size:0;}#yiv8101898820
> #yiv8101898820photos div {float:left;width:72px;}#yiv8101898820
> #yiv8101898820photos div div {border:1px solid
> #666666;height:62px;overflow:hidden;width:62px;}#yiv8101898820
> #yiv8101898820photos div label
> {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8101898820
> #yiv8101898820reco-category {font-size:77%;}#yiv8101898820
> #yiv8101898820reco-desc {font-size:77%;}#yiv8101898820 .yiv8101898820replbq
> {margin:4px;}#yiv8101898820 #yiv8101898820ygrp-actbar div a:first-child
> {margin-right:2px;padding-right:5px;}#yiv8101898820
> #yiv8101898820ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica,
> clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg table
> {font-size:inherit;font:100%;}#yiv8101898820 #yiv8101898820ygrp-mlmsg
> select, #yiv8101898820 input, #yiv8101898820 textarea {font:99% Arial,
> Helvetica, clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg pre,
> #yiv8101898820 code {font:115% monospace;}#yiv8101898820
> #yiv8101898820ygrp-mlmsg * {line-height:1.22em;}#yiv8101898820
> #yiv8101898820ygrp-mlmsg #yiv8101898820logo
> {padding-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-msg p a
> {font-family:Verdana;}#yiv8101898820 #yiv8101898820ygrp-msg
> p#yiv8101898820attach-count span
> {color:#1E66AE;font-weight:700;}#yiv8101898820 #yiv8101898820ygrp-reco
> #yiv8101898820reco-head {color:#ff7900;font-weight:700;}#yiv8101898820
> #yiv8101898820ygrp-reco {margin-bottom:20px;padding:0px;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ov li a
> {font-size:130%;text-decoration:none;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ov li
> {font-size:77%;list-style-type:square;padding:6px 0;}#yiv8101898820
> #yiv8101898820ygrp-sponsor #yiv8101898820ov ul {margin:0;padding:0 0 0
> 8px;}#yiv8101898820 #yiv8101898820ygrp-text
> {font-family:Georgia;}#yiv8101898820 #yiv8101898820ygrp-text p {margin:0 0
> 1em 0;}#yiv8101898820 #yiv8101898820ygrp-text tt
> {font-size:120%;}#yiv8101898820 #yiv8101898820ygrp-vital ul li:last-child
> {border-right:none !important;}#yiv8101898820
>
>
>
>
>
#yiv7821608794 #yiv7821608794 -- #yiv7821608794ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv7821608794 #yiv7821608794ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv7821608794 #yiv7821608794ygrp-mkp #yiv7821608794hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv7821608794 #yiv7821608794ygrp-mkp #yiv7821608794ads {margin-bottom:10px;}#yiv7821608794 #yiv7821608794ygrp-mkp .yiv7821608794ad {padding:0 0;}#yiv7821608794 #yiv7821608794ygrp-mkp .yiv7821608794ad p {margin:0;}#yiv7821608794 #yiv7821608794ygrp-mkp .yiv7821608794ad a {color:#0000ff;text-decoration:none;}#yiv7821608794 #yiv7821608794ygrp-sponsor #yiv7821608794ygrp-lc {font-family:Arial;}#yiv7821608794 #yiv7821608794ygrp-sponsor #yiv7821608794ygrp-lc #yiv7821608794hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv7821608794 #yiv7821608794ygrp-sponsor #yiv7821608794ygrp-lc .yiv7821608794ad {margin-bottom:10px;padding:0 0;}#yiv7821608794 #yiv7821608794actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv7821608794 #yiv7821608794activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv7821608794 #yiv7821608794activity span {font-weight:700;}#yiv7821608794 #yiv7821608794activity span:first-child {text-transform:uppercase;}#yiv7821608794 #yiv7821608794activity span a {color:#5085b6;text-decoration:none;}#yiv7821608794 #yiv7821608794activity span span {color:#ff7900;}#yiv7821608794 #yiv7821608794activity span .yiv7821608794underline {text-decoration:underline;}#yiv7821608794 .yiv7821608794attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv7821608794 .yiv7821608794attach div a {text-decoration:none;}#yiv7821608794 .yiv7821608794attach img {border:none;padding-right:5px;}#yiv7821608794 .yiv7821608794attach label {display:block;margin-bottom:5px;}#yiv7821608794 .yiv7821608794attach label a {text-decoration:none;}#yiv7821608794 blockquote {margin:0 0 0 4px;}#yiv7821608794 .yiv7821608794bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv7821608794 .yiv7821608794bold a {text-decoration:none;}#yiv7821608794 dd.yiv7821608794last p a {font-family:Verdana;font-weight:700;}#yiv7821608794 dd.yiv7821608794last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv7821608794 dd.yiv7821608794last p span.yiv7821608794yshortcuts {margin-right:0;}#yiv7821608794 div.yiv7821608794attach-table div div a {text-decoration:none;}#yiv7821608794 div.yiv7821608794attach-table {width:400px;}#yiv7821608794 div.yiv7821608794file-title a, #yiv7821608794 div.yiv7821608794file-title a:active, #yiv7821608794 div.yiv7821608794file-title a:hover, #yiv7821608794 div.yiv7821608794file-title a:visited {text-decoration:none;}#yiv7821608794 div.yiv7821608794photo-title a, #yiv7821608794 div.yiv7821608794photo-title a:active, #yiv7821608794 div.yiv7821608794photo-title a:hover, #yiv7821608794 div.yiv7821608794photo-title a:visited {text-decoration:none;}#yiv7821608794 div#yiv7821608794ygrp-mlmsg #yiv7821608794ygrp-msg p a span.yiv7821608794yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv7821608794 .yiv7821608794green {color:#628c2a;}#yiv7821608794 .yiv7821608794MsoNormal {margin:0 0 0 0;}#yiv7821608794 o {font-size:0;}#yiv7821608794 #yiv7821608794photos div {float:left;width:72px;}#yiv7821608794 #yiv7821608794photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv7821608794 #yiv7821608794photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv7821608794 #yiv7821608794reco-category {font-size:77%;}#yiv7821608794 #yiv7821608794reco-desc {font-size:77%;}#yiv7821608794 .yiv7821608794replbq {margin:4px;}#yiv7821608794 #yiv7821608794ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv7821608794 #yiv7821608794ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv7821608794 #yiv7821608794ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv7821608794 #yiv7821608794ygrp-mlmsg select, #yiv7821608794 input, #yiv7821608794 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv7821608794 #yiv7821608794ygrp-mlmsg pre, #yiv7821608794 code {font:115% monospace;}#yiv7821608794 #yiv7821608794ygrp-mlmsg * {line-height:1.22em;}#yiv7821608794 #yiv7821608794ygrp-mlmsg #yiv7821608794logo {padding-bottom:10px;}#yiv7821608794 #yiv7821608794ygrp-msg p a {font-family:Verdana;}#yiv7821608794 #yiv7821608794ygrp-msg p#yiv7821608794attach-count span {color:#1E66AE;font-weight:700;}#yiv7821608794 #yiv7821608794ygrp-reco #yiv7821608794reco-head {color:#ff7900;font-weight:700;}#yiv7821608794 #yiv7821608794ygrp-reco {margin-bottom:20px;padding:0px;}#yiv7821608794 #yiv7821608794ygrp-sponsor #yiv7821608794ov li a {font-size:130%;text-decoration:none;}#yiv7821608794 #yiv7821608794ygrp-sponsor #yiv7821608794ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv7821608794 #yiv7821608794ygrp-sponsor #yiv7821608794ov ul {margin:0;padding:0 0 0 8px;}#yiv7821608794 #yiv7821608794ygrp-text {font-family:Georgia;}#yiv7821608794 #yiv7821608794ygrp-text p {margin:0 0 1em 0;}#yiv7821608794 #yiv7821608794ygrp-text tt {font-size:120%;}#yiv7821608794 #yiv7821608794ygrp-vital ul li:last-child {border-right:none !important;}#yiv7821608794


From: Jr (2015-06-02 17:37)

Shannon,
Thank you for the idea. Chris Lawless suggested the same idea. I think I will go with that and save myself some heartburn.Have a good day.
Cal
  From: "Incomm Solutions incomm@shaw.ca [MAXIMO]" <MAXIMO@yahoogroups.com>
To: "Jr theonlyjr@yahoo.com [MAXIMO]" <MAXIMO@yahoogroups.com>; MAXIMO@yahoogroups.com
Sent: Tuesday, June 2, 2015 11:41 AM
Subject: Re: [MAXIMO List] Information Message Creation

 
Why not just put some conditional display to change the Priority field to red? You can do that in application designer with no coding.
Shannon

Sent from my wonderful BlackBerry Z30 smartphone!
  Original Message  
From: Jr theonlyjr@yahoo.com [MAXIMO]
Sent: Tuesday, June 2, 2015 9:25 AM
To: MAXIMO@yahoogroups.com
Reply To: MAXIMO@yahoogroups.com
Subject: Re: [MAXIMO List] Information Message Creation
That is exactly right! a PR with a priority of 0 should have no effect and not show a message.
  From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <MAXIMO@yahoogroups.com>
To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
Sent: Tuesday, June 2, 2015 10:52 AM
Subject: Re: [MAXIMO List] Information Message Creation
  Let's make sure we're on the same page.... I create two PR's, the first has
priority 0 (zero) and the second priority 1, I save them and they become
PO's.
A buyer views my two PO's (one at a time), for the first you want nothing
special to happen but for the second you want a popup saying "Hey look I'm
urgent" ?
On Tue, Jun 2, 2015 at 10:38 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> Good morning Chris,
> The "mboServer.getMboSet("PO").getMbo(0)" was suggested from another
> admin, so I tried it. I have also tried just using the "if PRIORITY>0"
> without any kind of MBO connection and get nothing.
> Basically, what the user would like is if a PR has a priority greater than
> 0 (we have a priority of 0 = routine, 1 = urgent and 2= emergency)
> and a PO is created from a PR, once it is created they would like a message
> to appear to show the buyer opening the newly created PO that it is either
> an urgent or emergency. I have verified that the priority field in the PO
> module is pulled over from the PR module if the PR was used to create the
> PO.
> The message that we would like to appear is just a simple "This PO has a
> priority!". I know there are ways to show what priority it is and the value
> of it, but for now this is good enough just so we can verify the message
> works.
> Cal
> From: "Chris Lawless lawlessc@gmail.com [MAXIMO]" <
> MAXIMO@yahoogroups.com>
> To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
> Sent: Tuesday, June 2, 2015 10:18 AM
> Subject: Re: [MAXIMO List] Information Message Creation
>
> When is the value of PRIORITY getting set?
>
> What are you expecting to get from mboServer.getMboSet("PO").getMbo(0) ? Is
> mboServer an MXServer connection? Without restricting the result set this
> is pretty much going to just give you a random PO.
>
> Are you trying to display a message if the priority field for the PO has
> been set to something greater than zero?
>
> Chris.
>
> On Tue, Jun 2, 2015 at 9:58 AM, Jr theonlyjr@yahoo.com [MAXIMO] <
> MAXIMO@yahoogroups.com> wrote:
>
> >
> >
> > Hello Maximo User Group,
> > We are currently running Maximo 7.5.0.5 and trying to utilize the
> > automation scripts to produce an information message when a PO is created
> > from a PR with a priority greater than 0.We are certain it can be done
> > because the same functionality is setup out of the box to inform a user
> > when a work order is created that has an asset with an active warranty
> > against it.
> > I have tried creating an automation script using an attribute launch
> point
> > using the following code:
> > mboServer.getMboSet("PO").getMbo(0)
> > if PRIORITY>0:
> > infogroup = "CL_PRIORITY"
> > infokey = "customPRmsg"
> >
> > It has been suggested I create an error message instead but I get the
> same
> > results. I have tried creating a variable, and I have tried
> getMboSet("PR")
> > and I have also and also tried creating a script using an object start
> > point.This seems like it shouldn't be this difficult and maybe I am
> > overthinking the process.Does anyone have any suggestions how to get this
> > to work?
> > Thank you in advance for the time and help,Cal
> >
> >
> >
> >
> >
>
>
>
> #yiv6382845698 #yiv6382845698 -- #yiv6382845698ygrp-mkp {border:1px solid
> #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv6382845698
> #yiv6382845698ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv6382845698
> #yiv6382845698ygrp-mkp #yiv6382845698hd
> {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
> 0;}#yiv6382845698 #yiv6382845698ygrp-mkp #yiv6382845698ads
> {margin-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad
> {padding:0 0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad p
> {margin:0;}#yiv6382845698 #yiv6382845698ygrp-mkp .yiv6382845698ad a
> {color:#0000ff;text-decoration:none;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc
> {font-family:Arial;}#yiv6382845698 #yiv6382845698ygrp-sponsor
> #yiv6382845698ygrp-lc #yiv6382845698hd {margin:10px
> 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ygrp-lc .yiv6382845698ad
> {margin-bottom:10px;padding:0 0;}#yiv6382845698 #yiv6382845698actions
> {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv6382845698
> #yiv6382845698activity
> {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv6382845698
> #yiv6382845698activity span {font-weight:700;}#yiv6382845698
> #yiv6382845698activity span:first-child
> {text-transform:uppercase;}#yiv6382845698 #yiv6382845698activity span a
> {color:#5085b6;text-decoration:none;}#yiv6382845698 #yiv6382845698activity
> span span {color:#ff7900;}#yiv6382845698 #yiv6382845698activity span
> .yiv6382845698underline {text-decoration:underline;}#yiv6382845698
> .yiv6382845698attach
> {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
> 0;width:400px;}#yiv6382845698 .yiv6382845698attach div a
> {text-decoration:none;}#yiv6382845698 .yiv6382845698attach img
> {border:none;padding-right:5px;}#yiv6382845698 .yiv6382845698attach label
> {display:block;margin-bottom:5px;}#yiv6382845698 .yiv6382845698attach label
> a {text-decoration:none;}#yiv6382845698 blockquote {margin:0 0 0
> 4px;}#yiv6382845698 .yiv6382845698bold
> {font-family:Arial;font-size:13px;font-weight:700;}#yiv6382845698
> .yiv6382845698bold a {text-decoration:none;}#yiv6382845698
> dd.yiv6382845698last p a
> {font-family:Verdana;font-weight:700;}#yiv6382845698 dd.yiv6382845698last p
> span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv6382845698
> dd.yiv6382845698last p span.yiv6382845698yshortcuts
> {margin-right:0;}#yiv6382845698 div.yiv6382845698attach-table div div a
> {text-decoration:none;}#yiv6382845698 div.yiv6382845698attach-table
> {width:400px;}#yiv6382845698 div.yiv6382845698file-title a, #yiv6382845698
> div.yiv6382845698file-title a:active, #yiv6382845698
> div.yiv6382845698file-title a:hover, #yiv6382845698
> div.yiv6382845698file-title a:visited {text-decoration:none;}#yiv6382845698
> div.yiv6382845698photo-title a, #yiv6382845698 div.yiv6382845698photo-title
> a:active, #yiv6382845698 div.yiv6382845698photo-title a:hover,
> #yiv6382845698 div.yiv6382845698photo-title a:visited
> {text-decoration:none;}#yiv6382845698 div#yiv6382845698ygrp-mlmsg
> #yiv6382845698ygrp-msg p a span.yiv6382845698yshortcuts
> {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv6382845698
> .yiv6382845698green {color:#628c2a;}#yiv6382845698 .yiv6382845698MsoNormal
> {margin:0 0 0 0;}#yiv6382845698 o {font-size:0;}#yiv6382845698
> #yiv6382845698photos div {float:left;width:72px;}#yiv6382845698
> #yiv6382845698photos div div {border:1px solid
> #666666;height:62px;overflow:hidden;width:62px;}#yiv6382845698
> #yiv6382845698photos div label
> {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv6382845698
> #yiv6382845698reco-category {font-size:77%;}#yiv6382845698
> #yiv6382845698reco-desc {font-size:77%;}#yiv6382845698 .yiv6382845698replbq
> {margin:4px;}#yiv6382845698 #yiv6382845698ygrp-actbar div a:first-child
> {margin-right:2px;padding-right:5px;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica,
> clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg table
> {font-size:inherit;font:100%;}#yiv6382845698 #yiv6382845698ygrp-mlmsg
> select, #yiv6382845698 input, #yiv6382845698 textarea {font:99% Arial,
> Helvetica, clean, sans-serif;}#yiv6382845698 #yiv6382845698ygrp-mlmsg pre,
> #yiv6382845698 code {font:115% monospace;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg * {line-height:1.22em;}#yiv6382845698
> #yiv6382845698ygrp-mlmsg #yiv6382845698logo
> {padding-bottom:10px;}#yiv6382845698 #yiv6382845698ygrp-msg p a
> {font-family:Verdana;}#yiv6382845698 #yiv6382845698ygrp-msg
> p#yiv6382845698attach-count span
> {color:#1E66AE;font-weight:700;}#yiv6382845698 #yiv6382845698ygrp-reco
> #yiv6382845698reco-head {color:#ff7900;font-weight:700;}#yiv6382845698
> #yiv6382845698ygrp-reco {margin-bottom:20px;padding:0px;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov li a
> {font-size:130%;text-decoration:none;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov li
> {font-size:77%;list-style-type:square;padding:6px 0;}#yiv6382845698
> #yiv6382845698ygrp-sponsor #yiv6382845698ov ul {margin:0;padding:0 0 0
> 8px;}#yiv6382845698 #yiv6382845698ygrp-text
> {font-family:Georgia;}#yiv6382845698 #yiv6382845698ygrp-text p {margin:0 0
> 1em 0;}#yiv6382845698 #yiv6382845698ygrp-text tt
> {font-size:120%;}#yiv6382845698 #yiv6382845698ygrp-vital ul li:last-child
> {border-right:none !important;}#yiv6382845698
>
>
>
>
>
#yiv8101898820 #yiv8101898820 -- #yiv8101898820ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8101898820 #yiv8101898820ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8101898820 #yiv8101898820ygrp-mkp #yiv8101898820hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv8101898820 #yiv8101898820ygrp-mkp #yiv8101898820ads {margin-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad {padding:0 0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad p {margin:0;}#yiv8101898820 #yiv8101898820ygrp-mkp .yiv8101898820ad a {color:#0000ff;text-decoration:none;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc {font-family:Arial;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc #yiv8101898820hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ygrp-lc .yiv8101898820ad {margin-bottom:10px;padding:0 0;}#yiv8101898820 #yiv8101898820actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8101898820 #yiv8101898820activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8101898820 #yiv8101898820activity span {font-weight:700;}#yiv8101898820 #yiv8101898820activity span:first-child {text-transform:uppercase;}#yiv8101898820 #yiv8101898820activity span a {color:#5085b6;text-decoration:none;}#yiv8101898820 #yiv8101898820activity span span {color:#ff7900;}#yiv8101898820 #yiv8101898820activity span .yiv8101898820underline {text-decoration:underline;}#yiv8101898820 .yiv8101898820attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv8101898820 .yiv8101898820attach div a {text-decoration:none;}#yiv8101898820 .yiv8101898820attach img {border:none;padding-right:5px;}#yiv8101898820 .yiv8101898820attach label {display:block;margin-bottom:5px;}#yiv8101898820 .yiv8101898820attach label a {text-decoration:none;}#yiv8101898820 blockquote {margin:0 0 0 4px;}#yiv8101898820 .yiv8101898820bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv8101898820 .yiv8101898820bold a {text-decoration:none;}#yiv8101898820 dd.yiv8101898820last p a {font-family:Verdana;font-weight:700;}#yiv8101898820 dd.yiv8101898820last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8101898820 dd.yiv8101898820last p span.yiv8101898820yshortcuts {margin-right:0;}#yiv8101898820 div.yiv8101898820attach-table div div a {text-decoration:none;}#yiv8101898820 div.yiv8101898820attach-table {width:400px;}#yiv8101898820 div.yiv8101898820file-title a, #yiv8101898820 div.yiv8101898820file-title a:active, #yiv8101898820 div.yiv8101898820file-title a:hover, #yiv8101898820 div.yiv8101898820file-title a:visited {text-decoration:none;}#yiv8101898820 div.yiv8101898820photo-title a, #yiv8101898820 div.yiv8101898820photo-title a:active, #yiv8101898820 div.yiv8101898820photo-title a:hover, #yiv8101898820 div.yiv8101898820photo-title a:visited {text-decoration:none;}#yiv8101898820 div#yiv8101898820ygrp-mlmsg #yiv8101898820ygrp-msg p a span.yiv8101898820yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8101898820 .yiv8101898820green {color:#628c2a;}#yiv8101898820 .yiv8101898820MsoNormal {margin:0 0 0 0;}#yiv8101898820 o {font-size:0;}#yiv8101898820 #yiv8101898820photos div {float:left;width:72px;}#yiv8101898820 #yiv8101898820photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv8101898820 #yiv8101898820photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8101898820 #yiv8101898820reco-category {font-size:77%;}#yiv8101898820 #yiv8101898820reco-desc {font-size:77%;}#yiv8101898820 .yiv8101898820replbq {margin:4px;}#yiv8101898820 #yiv8101898820ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv8101898820 #yiv8101898820ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv8101898820 #yiv8101898820ygrp-mlmsg select, #yiv8101898820 input, #yiv8101898820 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv8101898820 #yiv8101898820ygrp-mlmsg pre, #yiv8101898820 code {font:115% monospace;}#yiv8101898820 #yiv8101898820ygrp-mlmsg * {line-height:1.22em;}#yiv8101898820 #yiv8101898820ygrp-mlmsg #yiv8101898820logo {padding-bottom:10px;}#yiv8101898820 #yiv8101898820ygrp-msg p a {font-family:Verdana;}#yiv8101898820 #yiv8101898820ygrp-msg p#yiv8101898820attach-count span {color:#1E66AE;font-weight:700;}#yiv8101898820 #yiv8101898820ygrp-reco #yiv8101898820reco-head {color:#ff7900;font-weight:700;}#yiv8101898820 #yiv8101898820ygrp-reco {margin-bottom:20px;padding:0px;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ov li a {font-size:130%;text-decoration:none;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv8101898820 #yiv8101898820ygrp-sponsor #yiv8101898820ov ul {margin:0;padding:0 0 0 8px;}#yiv8101898820 #yiv8101898820ygrp-text {font-family:Georgia;}#yiv8101898820 #yiv8101898820ygrp-text p {margin:0 0 1em 0;}#yiv8101898820 #yiv8101898820ygrp-text tt {font-size:120%;}#yiv8101898820 #yiv8101898820ygrp-vital ul li:last-child {border-right:none !important;}#yiv8101898820
#yiv8947607163 #yiv8947607163 -- #yiv8947607163ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8947607163 #yiv8947607163ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8947607163 #yiv8947607163ygrp-mkp #yiv8947607163hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv8947607163 #yiv8947607163ygrp-mkp #yiv8947607163ads {margin-bottom:10px;}#yiv8947607163 #yiv8947607163ygrp-mkp .yiv8947607163ad {padding:0 0;}#yiv8947607163 #yiv8947607163ygrp-mkp .yiv8947607163ad p {margin:0;}#yiv8947607163 #yiv8947607163ygrp-mkp .yiv8947607163ad a {color:#0000ff;text-decoration:none;}#yiv8947607163 #yiv8947607163ygrp-sponsor #yiv8947607163ygrp-lc {font-family:Arial;}#yiv8947607163 #yiv8947607163ygrp-sponsor #yiv8947607163ygrp-lc #yiv8947607163hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8947607163 #yiv8947607163ygrp-sponsor #yiv8947607163ygrp-lc .yiv8947607163ad {margin-bottom:10px;padding:0 0;}#yiv8947607163 #yiv8947607163actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8947607163 #yiv8947607163activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8947607163 #yiv8947607163activity span {font-weight:700;}#yiv8947607163 #yiv8947607163activity span:first-child {text-transform:uppercase;}#yiv8947607163 #yiv8947607163activity span a {color:#5085b6;text-decoration:none;}#yiv8947607163 #yiv8947607163activity span span {color:#ff7900;}#yiv8947607163 #yiv8947607163activity span .yiv8947607163underline {text-decoration:underline;}#yiv8947607163 .yiv8947607163attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv8947607163 .yiv8947607163attach div a {text-decoration:none;}#yiv8947607163 .yiv8947607163attach img {border:none;padding-right:5px;}#yiv8947607163 .yiv8947607163attach label {display:block;margin-bottom:5px;}#yiv8947607163 .yiv8947607163attach label a {text-decoration:none;}#yiv8947607163 blockquote {margin:0 0 0 4px;}#yiv8947607163 .yiv8947607163bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv8947607163 .yiv8947607163bold a {text-decoration:none;}#yiv8947607163 dd.yiv8947607163last p a {font-family:Verdana;font-weight:700;}#yiv8947607163 dd.yiv8947607163last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8947607163 dd.yiv8947607163last p span.yiv8947607163yshortcuts {margin-right:0;}#yiv8947607163 div.yiv8947607163attach-table div div a {text-decoration:none;}#yiv8947607163 div.yiv8947607163attach-table {width:400px;}#yiv8947607163 div.yiv8947607163file-title a, #yiv8947607163 div.yiv8947607163file-title a:active, #yiv8947607163 div.yiv8947607163file-title a:hover, #yiv8947607163 div.yiv8947607163file-title a:visited {text-decoration:none;}#yiv8947607163 div.yiv8947607163photo-title a, #yiv8947607163 div.yiv8947607163photo-title a:active, #yiv8947607163 div.yiv8947607163photo-title a:hover, #yiv8947607163 div.yiv8947607163photo-title a:visited {text-decoration:none;}#yiv8947607163 div#yiv8947607163ygrp-mlmsg #yiv8947607163ygrp-msg p a span.yiv8947607163yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8947607163 .yiv8947607163green {color:#628c2a;}#yiv8947607163 .yiv8947607163MsoNormal {margin:0 0 0 0;}#yiv8947607163 o {font-size:0;}#yiv8947607163 #yiv8947607163photos div {float:left;width:72px;}#yiv8947607163 #yiv8947607163photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv8947607163 #yiv8947607163photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8947607163 #yiv8947607163reco-category {font-size:77%;}#yiv8947607163 #yiv8947607163reco-desc {font-size:77%;}#yiv8947607163 .yiv8947607163replbq {margin:4px;}#yiv8947607163 #yiv8947607163ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv8947607163 #yiv8947607163ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv8947607163 #yiv8947607163ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv8947607163 #yiv8947607163ygrp-mlmsg select, #yiv8947607163 input, #yiv8947607163 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv8947607163 #yiv8947607163ygrp-mlmsg pre, #yiv8947607163 code {font:115% monospace;}#yiv8947607163 #yiv8947607163ygrp-mlmsg * {line-height:1.22em;}#yiv8947607163 #yiv8947607163ygrp-mlmsg #yiv8947607163logo {padding-bottom:10px;}#yiv8947607163 #yiv8947607163ygrp-msg p a {font-family:Verdana;}#yiv8947607163 #yiv8947607163ygrp-msg p#yiv8947607163attach-count span {color:#1E66AE;font-weight:700;}#yiv8947607163 #yiv8947607163ygrp-reco #yiv8947607163reco-head {color:#ff7900;font-weight:700;}#yiv8947607163 #yiv8947607163ygrp-reco {margin-bottom:20px;padding:0px;}#yiv8947607163 #yiv8947607163ygrp-sponsor #yiv8947607163ov li a {font-size:130%;text-decoration:none;}#yiv8947607163 #yiv8947607163ygrp-sponsor #yiv8947607163ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv8947607163 #yiv8947607163ygrp-sponsor #yiv8947607163ov ul {margin:0;padding:0 0 0 8px;}#yiv8947607163 #yiv8947607163ygrp-text {font-family:Georgia;}#yiv8947607163 #yiv8947607163ygrp-text p {margin:0 0 1em 0;}#yiv8947607163 #yiv8947607163ygrp-text tt {font-size:120%;}#yiv8947607163 #yiv8947607163ygrp-vital ul li:last-child {border-right:none !important;}#yiv8947607163