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.



Application based off SR MBO, table control using another table? How?

From: hankinskeith (2012-05-07 21:21)

Im attempting to modify a clone of the oob createsr application.
The idea is to make it so that I have a table control in a seperate tab of the application which points to a custom table which I created. I wish for the user to be able to either enter data here, or see it in relation to the current record. Ive never really played with adding table controls linking to anything to any of my applications so im kind of at a loss for how to do this. Thought id come here. 8)
What I have so far is a table control which has my custom objects name in the Business Object and Parent Data Source ID properties. Ive added table sections corresponding to the attributes in my custom table. I tried to look at the properties of oob table controls and tried to mirror their properties as best I can...
Things at first glance seem to be working. I get blank open fields and can enter information...
The first strange thing I noticed is that I have six rows to enter data in. If I enter multiple lines of data and tab away to another page, then return, only the last line of data that was typed into the table sections is registered and it shows the same data in all 6 lines of the table.
I create my SR, save my record etc, and nothing has been saved to my custom table. I havent been able to modify a clone of viewSR yet to see if its retaining the information after save.
I will list all properties that I have set on the table in hopes that it might help. If anyone can steer me in the right direction to get this working it would be appreciated!
CONTROL ID: new_table_3
SELECT MODE: MULTIPLE
INPUT MODE: DEFAULT
DATA SOURCE ID: new_table_3 <-- have tried my custom object name here
BUSINESS OBJECT: SPRPCD (custom object)
PARENT DATA SOURCE ID: SPRPCD
FILTERABLE?: checked
No special properties other than default input mode on three table section controls. Thanks!


From: hankinskeith (2012-05-07 21:23)

Using MAX 6.2.7. My mistake.
--- In MAXIMO@yahoogroups.com, "hankinskeith@..." <keith.d.hankins@...> wrote:
>
> Im attempting to modify a clone of the oob createsr application.
>
> The idea is to make it so that I have a table control in a seperate tab of the application which points to a custom table which I created. I wish for the user to be able to either enter data here, or see it in relation to the current record. Ive never really played with adding table controls linking to anything to any of my applications so im kind of at a loss for how to do this. Thought id come here. 8)
>
> What I have so far is a table control which has my custom objects name in the Business Object and Parent Data Source ID properties. Ive added table sections corresponding to the attributes in my custom table. I tried to look at the properties of oob table controls and tried to mirror their properties as best I can...
>
> Things at first glance seem to be working. I get blank open fields and can enter information...
>
> The first strange thing I noticed is that I have six rows to enter data in. If I enter multiple lines of data and tab away to another page, then return, only the last line of data that was typed into the table sections is registered and it shows the same data in all 6 lines of the table.
>
> I create my SR, save my record etc, and nothing has been saved to my custom table. I havent been able to modify a clone of viewSR yet to see if its retaining the information after save.
>
> I will list all properties that I have set on the table in hopes that it might help. If anyone can steer me in the right direction to get this working it would be appreciated!
>
> CONTROL ID: new_table_3
> SELECT MODE: MULTIPLE
> INPUT MODE: DEFAULT
> DATA SOURCE ID: new_table_3 <-- have tried my custom object name here
> BUSINESS OBJECT: SPRPCD (custom object)
> PARENT DATA SOURCE ID: SPRPCD
> FILTERABLE?: checked
>
> No special properties other than default input mode on three table section controls. Thanks!
>


From: Sean Clark-McCarthy (2012-05-07 21:48)

Clear out BUSINESS OBJECT and PARENT DATA SOURCE ID
Set Relationship to the name of the relationship you created from SR to your Custom table.
You'll then either need a Rule to copy the key field to your custom table (probably ticketed in this case?). You can do this through a product like RulesManager or you can add a "Default" control to the table control.
--- Sean Clark-McCarthy
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of hankinskeith@ymail.com
Sent: Monday, May 07, 2012 5:22 PM
To: MAXIMO@yahoogroups.com
Subject: [MAXIMO List] Application based off SR MBO, table control using another table? How?
Im attempting to modify a clone of the oob createsr application.
The idea is to make it so that I have a table control in a seperate tab of the application which points to a custom table which I created. I wish for the user to be able to either enter data here, or see it in relation to the current record. Ive never really played with adding table controls linking to anything to any of my applications so im kind of at a loss for how to do this. Thought id come here. 8)
What I have so far is a table control which has my custom objects name in the Business Object and Parent Data Source ID properties. Ive added table sections corresponding to the attributes in my custom table. I tried to look at the properties of oob table controls and tried to mirror their properties as best I can...
Things at first glance seem to be working. I get blank open fields and can enter information...
The first strange thing I noticed is that I have six rows to enter data in. If I enter multiple lines of data and tab away to another page, then return, only the last line of data that was typed into the table sections is registered and it shows the same data in all 6 lines of the table.
I create my SR, save my record etc, and nothing has been saved to my custom table. I havent been able to modify a clone of viewSR yet to see if its retaining the information after save.
I will list all properties that I have set on the table in hopes that it might help. If anyone can steer me in the right direction to get this working it would be appreciated!
CONTROL ID: new_table_3
SELECT MODE: MULTIPLE
INPUT MODE: DEFAULT
DATA SOURCE ID: new_table_3 <-- have tried my custom object name here
BUSINESS OBJECT: SPRPCD (custom object)
PARENT DATA SOURCE ID: SPRPCD
FILTERABLE?: checked
No special properties other than default input mode on three table section controls. Thanks!


From: hankinskeith (2012-05-08 15:49)

Thanks again, Sean. Took this offline to discuss rules.
-Robert
--- In MAXIMO@yahoogroups.com, Sean Clark-McCarthy <smccarthy@...> wrote:
>
> Clear out BUSINESS OBJECT and PARENT DATA SOURCE ID
>
> Set Relationship to the name of the relationship you created from SR to your Custom table.
>
> You'll then either need a Rule to copy the key field to your custom table (probably ticketed in this case?). You can do this through a product like RulesManager or you can add a "Default" control to the table control.
>
> --- Sean Clark-McCarthy
>
> From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of hankinskeith@...
> Sent: Monday, May 07, 2012 5:22 PM
> To: MAXIMO@yahoogroups.com
> Subject: [MAXIMO List] Application based off SR MBO, table control using another table? How?
>
>
>
> Im attempting to modify a clone of the oob createsr application.
>
> The idea is to make it so that I have a table control in a seperate tab of the application which points to a custom table which I created. I wish for the user to be able to either enter data here, or see it in relation to the current record. Ive never really played with adding table controls linking to anything to any of my applications so im kind of at a loss for how to do this. Thought id come here. 8)
>
> What I have so far is a table control which has my custom objects name in the Business Object and Parent Data Source ID properties. Ive added table sections corresponding to the attributes in my custom table. I tried to look at the properties of oob table controls and tried to mirror their properties as best I can...
>
> Things at first glance seem to be working. I get blank open fields and can enter information...
>
> The first strange thing I noticed is that I have six rows to enter data in. If I enter multiple lines of data and tab away to another page, then return, only the last line of data that was typed into the table sections is registered and it shows the same data in all 6 lines of the table.
>
> I create my SR, save my record etc, and nothing has been saved to my custom table. I havent been able to modify a clone of viewSR yet to see if its retaining the information after save.
>
> I will list all properties that I have set on the table in hopes that it might help. If anyone can steer me in the right direction to get this working it would be appreciated!
>
> CONTROL ID: new_table_3
> SELECT MODE: MULTIPLE
> INPUT MODE: DEFAULT
> DATA SOURCE ID: new_table_3 <-- have tried my custom object name here
> BUSINESS OBJECT: SPRPCD (custom object)
> PARENT DATA SOURCE ID: SPRPCD
> FILTERABLE?: checked
>
> No special properties other than default input mode on three table section controls. Thanks!
>
>
>
>
>