For a relationship instance, the values of key attributes
can be changed on the Relationship Instances page
of the administrative console. This example shows the use of that
page to change a value for a relationship instance.
About this task
One of your customers has a customer ID of A004 in your CIS
application. This same customer has a customer ID of 801 in your GL
application. However, due to a data entry error, the relationship
instance that correlates the customer IDs of this customer currently
has a value of 901 instead of 801 for the GL customer ID. This tutorial
takes you through the steps to correct this entry in the relationship.
Procedure
- Open the administrative console.
- If security is enabled, log in as a user with administrator
privileges.
- In the navigation pane, click .
- Open the relationships page for the server you want to
manage.
Click Relationships next
to that relationship services MBean.
A relationship
named SampleCustID should be visible.
- Select SampleCustID, then click Query.
- Locate the relationship instance for the customer
- Click the query By role tab
- In the Role name field, select MyGLCustomer_0 from
the drop-down list.
- In the Value field under Key
attributes, enter901
- Click OK
This locates the relationship instance for the requested
customer and opens the Relationship Instances page.
- Click the relationship instance ID.
This
displays the relationship instance data for customer ID 901 in the
GL application, including all the associated role instances.
- In the MyGLCustomer_0 role table, select the role instance ID with the key attribute
value 901, then click Delete.
Note: It should not have any property values associated with it. If any other data
appears, you need to look at the role instance and record any data you want to keep.
- Click Create to open the New
Role Instance page for creating a new role instance for
this relationship instance.
- Enter 801 in the Value field
under Key attributes, then click OK.
The new role instance is saved, and you should see
a new role instance in the table.
Results
You now have the correct customer ID value in the relationship
instance for the GL application.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15