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.
Hey gang...when I duplicate a PR I would like some of the out of the box fields to null out. We don't have rules Manager and I know how to do this with custom fields but can't find a way to do it with out of the box fields. Has anyone done this before?
thanks,
John
Try this
Create a crossover
object dummy_table
Validation where clause 1=1
Crossover field
Just match the type from the dummy_table with the type of your record
Dummy_aln your_pr_field_of_type_aln
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
Sent: 23 September 2014 20:11
To: Maxim Maximo; maximo_developers@yahoogroups.com
Subject: [MAXIMO List] Null out fields OnDuplicate
Hey gang...when I duplicate a PR I would like some of the out of the box fields to null out. We don't have rules Manager and I know how to do this with custom fields but can't find a way to do it with out of the box fields. Has anyone done this before?
thanks,
John
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.
**************************************************************************************************************
Super easy in the Java, just override the duplicate() method (Mbo level class) and null the desired attributes before returning the new Mbo.
-Chris H
-----Original Message-----
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
Sent: Tuesday, September 23, 2014 3:11 PM
To: Maxim Maximo; maximo_developers@yahoogroups.com
Subject: [MAXIMO List] Null out fields OnDuplicate
Hey gang...when I duplicate a PR I would like some of the out of the box fields to null out. We don't have rules Manager and I know how to do this with custom fields but can't find a way to do it with out of the box fields. Has anyone done this before?
thanks,
John
I looked in domains, and see a crossover domain called wo2wo. When we do not want certain fields to copy over, we remove some attributes from this domain. I guess Maximo refers to this crossover domain when duplicate work orders. I don't see a pr2pr equivalent... so I am not sure how Maximo decides to duplicate PR records.
Yes very annoying if you put a duplicate feature in, why not be consistent and do the same for all applications.
om: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
Sent: 24 September 2014 17:32
To: MAXIMO@yahoogroups.com
Subject: [MAXIMO List] Re: Null out fields OnDuplicate
I looked in domains, and see a crossover domain called wo2wo. When we do not want certain fields to copy over, we remove some attributes from this domain. I guess Maximo refers to this crossover domain when duplicate work orders. I don't see a pr2pr equivalent... so I am not sure how Maximo decides to duplicate PR records.
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.
**************************************************************************************************************
Great...I'll check that out
On Thursday, September 25, 2014 12:44 AM, "Ian Wright ian.wright@gdfsuezep.co.uk [MAXIMO]" <MAXIMO@yahoogroups.com> wrote:
Yes very annoying if you put a duplicate feature in, why not be consistent and do the same for all applications.
om: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
Sent: 24 September 2014 17:32
To: MAXIMO@yahoogroups.com
Subject: [MAXIMO List] Re: Null out fields OnDuplicate
I looked in domains, and see a crossover domain called wo2wo. When we do not want certain fields to copy over, we remove some attributes from this domain. I guess Maximo refers to this crossover domain when duplicate work orders. I don't see a pr2pr equivalent... so I am not sure how Maximo decides to duplicate PR records.
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.
**************************************************************************************************************
Did the crossover using the dummy_table not work ?
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
Sent: 25 September 2014 16:23
To: MAXIMO@yahoogroups.com
Subject: Re: [MAXIMO List] Re: Null out fields OnDuplicate
Great...I'll check that out
On Thursday, September 25, 2014 12:44 AM, "Ian Wright ian.wright@gdfsuezep.co.uk<mailto:ian.wright@gdfsuezep.co.uk> [MAXIMO]" <MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com>> wrote:
Yes very annoying if you put a duplicate feature in, why not be consistent and do the same for all applications.
om: MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com> [mailto:MAXIMO@yahoogroups.com]
Sent: 24 September 2014 17:32
To: MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com>
Subject: [MAXIMO List] Re: Null out fields OnDuplicate
I looked in domains, and see a crossover domain called wo2wo. When we do not want certain fields to copy over, we remove some attributes from this domain. I guess Maximo refers to this crossover domain when duplicate work orders. I don't see a pr2pr equivalent... so I am not sure how Maximo decides to duplicate PR records.
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.
**************************************************************************************************************