Relationship table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 11:29 PM
Hi All
Which table holds the relationship data between problem and change and what is the mechanism used to insert data in this table.
TIA

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 11:41 PM
Hello,
"sys_relationship.list" is the table name where all the relationship hold.
So now suppose you want to show Problem records under a Change request in the related list then all you have to do is define the relationship like this
Applies to table - Change
Queries from table - Problem
and the "query with" script will contain this
Lets say u_youdesiredfield is a reference field which refers to the Problem record
var abc = parent.u_yourdesiredfield;
var queryString='sys_idIN'+abc;
current.addEncodedQuery(queryString);
Thanks
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 11:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2017 01:17 PM
Hi Avinash,
Did you ever find the answer to above?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2017 02:15 PM
You might also check the table named task_rel_task. It shows relationships between any of the various task related records.
To see it type the following text in the filter for the navigation pane (not the quotes): "task_rel_task.list"