Details
Assignee
UnassignedUnassignedReporter
Matt WeaverMatt WeaverLabels
Priority
P3Development Team
CorsairRelease
Trillium (R2 2025)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Unassigned
UnassignedReporter
Matt Weaver
Matt WeaverLabels
Priority
Development Team
Corsair
Release
Trillium (R2 2025)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created December 18, 2024 at 6:51 PM
Updated February 22, 2025 at 5:13 AM
In , we added a new field property to define what fields can be used to join with a field. This ticket is to implement that behavior and use it when deciding what fields can be used in a join (MODFQMMGR-608).
Prior to this change, when FQM decides which fields it should allow for a join in an ad-hoc ET, it would look at existing entity types to see what fields are used. With this change, it will also look at the joinable fields list for every field.
(note: this is the same example as , but augmented with the updated behavior) So, for example, if a user selects
items
as the base entity type for their ad-hoc ET, the UI will send a request to FQM with that entity type (wrapped in a fairly sparse ad-hoc ET object) and no other parameters specified, to determine what can be joined with it. FQM will then:look for all fields from
items
that are either used in one of those predefined joinslook for all fields from
items
that are in the list of joinable fields from any other entity typeslook for entity types that contain
items
return that list of fields from 1 and 2 as possible ad-hoc fields
return the list of ETs from 3 plus the ETs that contain any of the fields from 2 as the possible target ETs
The UI will then display that data for the user to narrow down the details for the join.
If the user selects then selects
locations
as the target ET for a join, the UI will send that FQM. FQM will then:look for fields from
items
that are used in the joins for predefined ETs that joinitems
andlocations
(e.g., effective location ID, temp location ID, permanent location ID)look for fields from
items
that are in the list of joinable fields for any fields inlocations
look for fields from
locations
that are used in the joins for predefined ETs that joinitems
andlocations
look for fields from
locations
that are in the list of joinable fields for any fields initems
return the fields from 1 and 2 as the list of possible ad-hoc ET fields
return the fields from 3 and 4 as the list of possible target fields
After the user selects either an ad-hoc field or a target field, the UI will send that, and FQM will run through the same process for the other fields, filtering down to only ones that match the field they already selected (so selecting an ad-hoc field will make it look for fields from
locations
that are used in joins betweenitems
andlocations
using the selected ad-hoc field fromitems
).After the user has all selected all 3 components, they will be added to the ad-hoc entity type definition. If the user wants to join another source with that, then the above process is all the same, except everywhere that we searched for
items
before will change to searching bothitems
andlocations
.