- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 05:01 AM - edited 01-29-2024 08:19 AM
Hi all,
I created a report referencing the approval table (sysapproval_approver) and added following columns from the approval table: state, approval for, approver and comment, and I also want to display a variable of a catalog item in the column of the report list view, but from the approval table I cannot dot walk to the sc_req_item to get the variable . Any idea how to link the two tables and display the variable as column? I also tried the opposite, such as referencing the sc_req_item table in the report but can't dot walk to approval table to get approval state, approval for, approver and comment columns.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:45 AM
Hi @cicgordy ,
Here u go:
Result:
u got to group by number since its a DB view on multiple table (Mutiple variable are associated to one RITM) column will not come in one row.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 07:22 AM
Hi @cicgordy ,
Report on sc_req_item, bring approval filed and variables onto the column as below:
Existing serial number is a variable on the Sample item 123 catalog item, approval is a field on the sc_req_item table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 07:41 AM
Hi @Community Alums , not that simple.
I need other fields from the approval table like: state, approval for, approver and comment. I am unable to dot walk to the approval table from the sc_req_item to display those columns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 08:28 AM
Hi @cicgordy ,
Thats where it gets tricky when you want more info from the approval table.
variable info as a column is available only on the sc_req_item table even if you do a database view (joining RITM and approval table) you can fetch all the information from sc_req_item and sysapproval_approver table except variable🙄.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 08:34 AM
@Community Alums that's right, but was thinking what if the database view is done from the ritm to cat variables table sc_item_option and then to approvals?