Filter permitted forign keys by attribute in schema?

Hi Community,
is there a way to configure an attribute based filter in the DialogColumn schema?

Background:

We have different use cases where only a destinct subset of objects are permitted for selection in an objects forign key.
Some of wich have fixed conditions, and some have dynamic conditions. Following are some examples.

Basic stuff (fixed condition): Example 1 (Organizational Country assignment):

On the Person we have a FK to and organizational country object.
This object is in fact a Department object as the hirarchies schema is defined like this:

  1. Treelevel: Region (i.E. Europe, North America)
  2. Treelevel: Country (i.E. Germany, Sweden)
  3. Treelevel: Company
  4. Treelevel: Department
  5. and above treelevels: Sub-Departments

So we need the following rule for the selection of FKs:

  • Department.treelvel = 2

Advanced logic (dynamic condition): Example 2 (Primary CostCenter assignment):

Employees shall only be assignable to costcenters from the same system as the department.

To manage that we need the following rule:

  • ProfitCenter.ImportSource = Person.UID_Department.ImportSource

Master class (mixed condition): Example 3 (Primary business role assignment):

We agreed that the primary business role shall only be used for birthright roles that are calculated or selected during the onboarding.

The birthright roles are specific to the employee type and organizational country assignment.

i.E. Externals in Greate Britain could have a subset of birthright roles. Let's say there are two roles "GBR-External-Basic" and "GBR-External-Advanced"

To make the live as easy as possible we need to implement the following rules for the selection of a birthright role:

  1. Fixed: OrgRoot = Birthright Role
  2. Dynamic: Org.CCC_UID_PersonType = Person.CCC_UID_PersonType
  3. Dynamic: Org.CCC_UID_OrganisationalCountry = Person.CCC_UID_OrganisationalCountry
Previewing Staged Changes