Table : queryFilters

Raw table description

Fields

id id

{
  "name": "id",
  "type": "primaryKey"
}

filterType M E

{
  "name": "filterType",
  "type": "enum",
  "enums": [
    "ENUM_QUERY_FILTER_TYPE_COMMUNICATE",
    "ENUM_QUERY_FILTER_TYPE_DASHBOARD_LIST",
    "ENUM_QUERY_FILTER_TYPE_DEAL_LIST",
    "ENUM_QUERY_FILTER_TYPE_CONTACT_LIST"
  ],
  "mandatory": "true"
}

userAccountId M  → userAccounts

{
  "name": "userAccountId",
  "type": "foreignKey",
  "table": "userAccounts",
  "schema": "mspx_admin",
  "mandatory": "true"
}

name M

{
  "name": "name",
  "type": "text",
  "maxLength": 50,
  "mandatory": "true"
}

filter M

{
  "name": "filter",
  "type": "jsonObject",
  "mandatory": "true"
}

displayOrder

{
  "name": "displayOrder",
  "type": "int"
}

scope E

{
  "name": "scope",
  "type": "enum",
  "enums": [
    "ENUM_QUERY_FILTER_SCOPE_USER",
    "ENUM_QUERY_FILTER_SCOPE_OFFICE",
    "ENUM_QUERY_FILTER_SCOPE_PUBLIC"
  ]
}

createdDate

{
  "name": "createdDate",
  "type": "timestamp"
}

updatedDate

{
  "name": "updatedDate",
  "type": "updated"
}

Collections

[
  "organizationUnits"
]

Referenced by

communicateSessions as queryFilterId
queryFilterOrganizationUnits as queryFilterId (connection table to organizationUnits via organizationUnitId)