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.



Re: [MAXIMO List] Re: Null out fields OnDuplicate

From: Sarah Stewart (2014-09-25 14:55)

I have not read this entire post but can you use 'Exclude Attribute' functionality in database configuration?
> On Sep 25, 2014, at 12:08 PM, Ian Wright ian.wright@gdfsuezep.co.uk [MAXIMO] <MAXIMO@yahoogroups.com> wrote:
>
> Did the crossover using the dummy_table not work ?=0D
> =0D
> From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]=0D
> Sent: 25 September 2014 16:23=0D
> To: MAXIMO@yahoogroups.com=0D
> Subject: Re: [MAXIMO List] Re: Null out fields OnDuplicate=0D
> =0D
> =0D
> =0D
> Great...I'll check that out=0D
> =0D
> On Thursday, September 25, 2014 12:44 AM, "I


From: sujay_22 (2014-09-26 05:58)

The crossover domain wo2wo is applicable when you create a workorder from a workorder. It is not used when duplicating. It is a java class does the copying of fields when you duplicate. We from IBM GTS had always demanded there be a way to exclude attributes from duplicate event. At last, in 7.5, Tivoli did add that, with the exclude attributes feature that Sarah mentioned. It is your answer; however, there is a caveat. You can only exclude fields you defined. OOB fields cannot be excluded as far as I rememeber.


From: Chris Lawless (2014-10-06 10:39)

I have not tried it but the article here
https://www.ibm.com/developerworks/community/blogs/a9ba1efe-b731-4317-9724-a181d6155e3a/entry/wanna_have_more_control_over_attribute_duplication_on_your_maximo_business_objects_mbos7?lang=en
seems to suggest that you should be able to override OOTB field
duplication, have you tried this?
Otherwise... have you tried doing it in automation scripts?
On Fri, Sep 26, 2014 at 7:58 AM, sujay_22@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> The crossover domain wo2wo is applicable when you create a workorder from
> a workorder. It is not used when duplicating. It is a java class does the
> copying of fields when you duplicate. We from IBM GTS had always demanded
> there be a way to exclude attributes from duplicate event. At last, in 7.5,
> Tivoli did add that, with the exclude attributes feature that Sarah
> mentioned. It is your answer; however, there is a caveat. You can only
> exclude fields you defined. OOB fields cannot be excluded as far as I
> rememeber.
>
>
>
>
>


From: Ian Wright (2014-10-06 15:45)

This only works for user defined fields

From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
Sent: 06 October 2014 16:40
To: MAXIMO@yahoogroups.com
Subject: Re: [MAXIMO List] Re: Null out fields OnDuplicate



I have not tried it but the article here
https://www.ibm.com/developerworks/community/blogs/a9ba1efe-b731-4317-9724-a181d6155e3a/entry/wanna_have_more_control_over_attribute_duplication_on_your_maximo_business_objects_mbos7?lang=en
seems to suggest that you should be able to override OOTB field
duplication, have you tried this?

Otherwise... have you tried doing it in automation scripts?

On Fri, Sep 26, 2014 at 7:58 AM, sujay_22@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:

>
>
> The crossover domain wo2wo is applicable when you create a workorder from
> a workorder. It is not used when duplicating. It is a java class does the
> copying of fields when you duplicate. We from IBM GTS had always demanded
> there be a way to exclude attributes from duplicate event. At last, in 7.5,
> Tivoli did add that, with the exclude attributes feature that Sarah
> mentioned. It is your answer; however, there is a caveat. You can only
> exclude fields you defined. OOB fields cannot be excluded as far as I
> rememeber.
>
>
>
>
>




GDF SUEZ E&P UK Ltd (Company Number 3386464), registered in England and Wales with a registered office address at: 40 Holborn Viaduct, London, EC1N 2PB.

**************************************************************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
**************************************************************************************************************


From: Chris Lawless (2014-10-06 12:35)

There is a non-persistent field on WORKORDER called DUPFLAG which appears
to provide some indication of whether the ongoing event is a duplication or
not. I haven't had time to test this extensively but the values seem to
vary between NULL, DUPLICATE, DUPHEADER and DUPTASKS, they just don't seem
to correlate to what is actually going on if I log them during standard
transactions.
I created an automation script to write the value to the log during
different events but my logging seems sketchy as I do not get results every
time. The field is tied to a synonym domain called WODUPFLAG which contains
four values, the three above plus DUPHIER.
I suspect that when you duplicate a work order DUPFLAG is set to
"DUPLICATE" on the new record until it is saved, it then displays as
DUPTASKS, as such you might try overriding your fields either onADD or in
an attribute launch point when DUPFLAF="DUPLICATE".
Chris.
On Mon, Oct 6, 2014 at 10:45 AM, Ian Wright ian.wright@gdfsuezep.co.uk
[MAXIMO] <MAXIMO@yahoogroups.com> wrote:
>
>
> This only works for user defined fields
>
> From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
> Sent: 06 October 2014 16:40
> To: MAXIMO@yahoogroups.com
> Subject: Re: [MAXIMO List] Re: Null out fields OnDuplicate
>
>
>
> I have not tried it but the article here
>
> https://www.ibm.com/developerworks/community/blogs/a9ba1efe-b731-4317-9724-a181d6155e3a/entry/wanna_have_more_control_over_attribute_duplication_on_your_maximo_business_objects_mbos7?lang=en
> seems to suggest that you should be able to override OOTB field
> duplication, have you tried this?
>
> Otherwise... have you tried doing it in automation scripts?
>
> On Fri, Sep 26, 2014 at 7:58 AM, sujay_22@yahoo.com [MAXIMO] <
> MAXIMO@yahoogroups.com> wrote:
>
> >
> >
> > The crossover domain wo2wo is applicable when you create a workorder
> from
> > a workorder. It is not used when duplicating. It is a java class does
> the
> > copying of fields when you duplicate. We from IBM GTS had always
> demanded
> > there be a way to exclude attributes from duplicate event. At last, in
> 7.5,
> > Tivoli did add that, with the exclude attributes feature that Sarah
> > mentioned. It is your answer; however, there is a caveat. You can only
> > exclude fields you defined. OOB fields cannot be excluded as far as I
> > rememeber.
> >
> >
> >
> >
> >
>
>
>
>
> GDF SUEZ E&P UK Ltd (Company Number 3386464), registered in England and
> Wales with a registered office address at: 40 Holborn Viaduct, London, EC1N
> 2PB.
>
> **************************************************************************************************************
>
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify the system manager.
> **************************************************************************************************************
>
>
>
>
>
>
>


From: Raj Kumar (2014-10-06 13:12)

If you don't wish to populate the OOB fields on PR duplication, easiest way
to do it to write a automation script 'On Add' for PR Object and set the
field values to null.

Cheers,
Raj
On Mon, Oct 6, 2014 at 12:35 PM, Chris Lawless lawlessc@gmail.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> There is a non-persistent field on WORKORDER called DUPFLAG which appears
> to provide some indication of whether the ongoing event is a duplication or
> not. I haven't had time to test this extensively but the values seem to
> vary between NULL, DUPLICATE, DUPHEADER and DUPTASKS, they just don't seem
> to correlate to what is actually going on if I log them during standard
> transactions.
>
> I created an automation script to write the value to the log during
> different events but my logging seems sketchy as I do not get results every
> time. The field is tied to a synonym domain called WODUPFLAG which contains
> four values, the three above plus DUPHIER.
>
> I suspect that when you duplicate a work order DUPFLAG is set to
> "DUPLICATE" on the new record until it is saved, it then displays as
> DUPTASKS, as such you might try overriding your fields either onADD or in
> an attribute launch point when DUPFLAF="DUPLICATE".
>
> Chris.
>
>
> On Mon, Oct 6, 2014 at 10:45 AM, Ian Wright ian.wright@gdfsuezep.co.uk
> [MAXIMO] <MAXIMO@yahoogroups.com> wrote:
>
> >
> >
> > This only works for user defined fields
> >
> > From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
> > Sent: 06 October 2014 16:40
> > To: MAXIMO@yahoogroups.com
> > Subject: Re: [MAXIMO List] Re: Null out fields OnDuplicate
> >
> >
> >
> > I have not tried it but the article here
> >
> >
> https://www.ibm.com/developerworks/community/blogs/a9ba1efe-b731-4317-9724-a181d6155e3a/entry/wanna_have_more_control_over_attribute_duplication_on_your_maximo_business_objects_mbos7?lang=en
> > seems to suggest that you should be able to override OOTB field
> > duplication, have you tried this?
> >
> > Otherwise... have you tried doing it in automation scripts?
> >
> > On Fri, Sep 26, 2014 at 7:58 AM, sujay_22@yahoo.com [MAXIMO] <
> > MAXIMO@yahoogroups.com> wrote:
> >
> > >
> > >
> > > The crossover domain wo2wo is applicable when you create a workorder
> > from
> > > a workorder. It is not used when duplicating. It is a java class does
> > the
> > > copying of fields when you duplicate. We from IBM GTS had always
> > demanded
> > > there be a way to exclude attributes from duplicate event. At last, in
> > 7.5,
> > > Tivoli did add that, with the exclude attributes feature that Sarah
> > > mentioned. It is your answer; however, there is a caveat. You can only
> > > exclude fields you defined. OOB fields cannot be excluded as far as I
> > > rememeber.
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> > GDF SUEZ E&P UK Ltd (Company Number 3386464), registered in England and
> > Wales with a registered office address at: 40 Holborn Viaduct, London,
> EC1N
> > 2PB.
> >
> >
> **************************************************************************************************************
> >
> > This email and any files transmitted with it are confidential and
> intended
> > solely for the use of the individual or entity to whom they are
> addressed.
> > If you have received this email in error please notify the system
> manager.
> >
> **************************************************************************************************************
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>