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] Maximo Add new row Customization in Company Application

From: Ramy M. Raslan (2013-09-10 10:39)


Thanks for the feedback
I don't know if understand you correctly but do you suggest a trigger in the database to replace the customizationAnd by join you did you main the relation please can you be more specific which one for me to review and fix
Thanks in advance
-- Regards,
- Ramy Mohamed Raslan
Cell phone: +20102 4640 011
To: MAXIMO@yahoogroups.com
From: ian.wright@gdfsuezep.co.uk
Date: Mon, 9 Sep 2013 14:41:29 +0000
Subject: RE: [MAXIMO List] Maximo Add new row Customization in Company Application








No code of any type is needed just add the required fields get your key fields then any other fields you require to copy to your source table

I think you will need to re-start your application server you don’t need to do orgid or siteid as the framework will fill them in for you

insert
into appfielddefaults
(app,defaultvalue,objectname,attributename,appfielddefaultsid)
values
('COMPANY',':OWNEROBJECT.COMPANY','COMPDEPARTMENT','COMPANY',1)

Your joins don’t look correct either you need to join from COMPANY to COMPDEPARTMENT
Not as shown in your screen shot

Rgds Ian
BPD Zenith Ltd

From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
On Behalf Of Ramy M. Raslan
Sent: 09 September 2013 15:26
To: maximo yahoogroups
Subject: [MAXIMO List] Maximo Add new row Customization in Company Application


Hi all

This is blog post i made trying to explain how to add a new tab with a new row function and some java customization
any feed back will be appreciated.

http://crazyjavadeveloper.blogspot.com/2013/09/companies-application-new-departments.html

http://crazyjavadeveloper.blogspot.com/2013/09/companies-application-new-departments_9.html

Thanks in advance
--
Regards,
- Ramy Mohamed Raslan
Cell phone: +20102 4640 011

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: Ian Wright (2013-09-10 10:58)

Its standard functionality if you enter the correct values into this table then child tables of a main object are automatically updated with the parent values you specify
('COMPANY',':OWNEROBJECT.COMPANY','COMPDEPARTMENT','COMPANY',1)
The Company field from the ownerobject Company will be automatically entered into the company field of the child object COMPDEPARTMENT in effect you key value is set therefore your records don't vanish
Rgds Ian
BPD Zenith Ltd
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of Ramy M. Raslan
Sent: 10 September 2013 11:39
To: maximo yahoogroups
Subject: RE: [MAXIMO List] Maximo Add new row Customization in Company Application
Thanks for the feedback
I don't know if understand you correctly but do you suggest a trigger in the database to replace the customization
And by join you did you main the relation please can you be more specific which one for me to review and fix
Thanks in advance
--
Regards,
- Ramy Mohamed Raslan
Cell phone: +20102 4640 011
________________________________
To: MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com>
From: ian.wright@gdfsuezep.co.uk<mailto:ian.wright@gdfsuezep.co.uk>
Date: Mon, 9 Sep 2013 14:41:29 +0000
Subject: RE: [MAXIMO List] Maximo Add new row Customization in Company Application
No code of any type is needed just add the required fields get your key fields then any other fields you require to copy to your source table
I think you will need to re-start your application server you don't need to do orgid or siteid as the framework will fill them in for you
insert into appfielddefaults (app,defaultvalue,objectname,attributename,appfielddefaultsid) values
('COMPANY',':OWNEROBJECT.COMPANY','COMPDEPARTMENT','COMPANY',1)
Your joins don't look correct either you need to join from COMPANY to COMPDEPARTMENT
Not as shown in your screen shot
Rgds Ian
BPD Zenith Ltd
From: MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com> [mailto:MAXIMO@yahoogroups.com] On Behalf Of Ramy M. Raslan
Sent: 09 September 2013 15:26
To: maximo yahoogroups
Subject: [MAXIMO List] Maximo Add new row Customization in Company Application
Hi all
This is blog post i made trying to explain how to add a new tab with a new row function and some java customization
any feed back will be appreciated.
http://crazyjavadeveloper.blogspot.com/2013/09/companies-application-new-departments.html
http://crazyjavadeveloper.blogspot.com/2013/09/companies-application-new-departments_9.html
Thanks in advance
--
Regards,
- Ramy Mohamed Raslan
Cell phone: +20102 4640 011
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.
****************************************************************************************************************************************************************************************