clm_m2m_contract_asset many to many table not in sys_collection or sys_m2m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 06:57 AM
After pressing the Edit... button to add Assets to a Contract we're presented with an Assets sluchbucket, as expected. But, the filter relates to the Contract table instead of the Assets table as it does OOB.
I found some articles on checking the Many to Many definitions (sys_m2m.LIST & sys_collection.LIST) but our clm_m2m_contract_asset table is not visible in either of these.
The m2m table is working fine, and there's a lot of data in it - it's just that we need to move the collector filter to work across the asset table.
Please help.
thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 07:07 AM
Hi,
Search from System definition->Tables and search for Name column.
It is visible.
Mark correct/helpful if it helps for you.
Regards,
Pooja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 07:13 AM
Hi Pooja,
Yes, the table exists in System Definition -> Tables
The table is working as expected when using the Edit... butoon, but the collection filter is looking at the wrong table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 02:38 PM
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 04:24 AM
Hi
The solution was to import a missing M2M relationship called clm_m2m_contract_asset in the sys_m2m table:
From table: ast_contract
To table: alm_asset
Application: Global
From field: contract
From label: Assets Covered
To field: asset
To label: Contracts
Here's a link to how to create M2M relationships in ServiceNow: https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/table-administrat...
To help make this easier I've attached this record as an importable xml file.
Once imported/created record should appear in this link: https://<instance>.service-now.com/nav_to.do?uri=%2Fsys_m2m.do%3Fsys_id%3D25b06b5c0b033200923e15545cbd0f15
Hopefully this resolves your issue in sub-production, before you implement it as a planned update in Prod.
Andy