---
id: object/table/5087
type: object
title: Table 5087 "Profile Questionnaire Header"
summary: Table 5087 "Profile Questionnaire Header" in Base Application (Microsoft.CRM.Profiling). 5 fields. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: bc70e9c89a5af8a41a4384b93650d3254f48c1975c4a53e788738c1e3871196f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Profiling/ProfileQuestionnaireHeader.Table.al
    title: src/Layers/W1/BaseApp/CRM/Profiling/ProfileQuestionnaireHeader.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/marketing-create-contact-profile-questionnaire
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/relationship-management/manage-contacts
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5087
name: Profile Questionnaire Header
namespace: Microsoft.CRM.Profiling
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 5
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 6
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5087 "Profile Questionnaire Header"

> Table 5087 "Profile Questionnaire Header" in Base Application (Microsoft.CRM.Profiling). 5 fields. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.CRM.Profiling · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Profiling/ProfileQuestionnaireHeader.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 5109 "Profile Questionnaires"](../page/5109.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Profile Questionnaire Header |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Code | Code[20] | Specifies the code of the profile questionnaire. | NotBlank |
| 2 | Description | Text[250] | Specifies the description of the profile questionnaire. |  |
| 3 | Contact Type | Enum "Profile Questionnaire Contact Type" | Specifies the type of contact you want to use this profile questionnaire for. | enum [Enum 5087 "Profile Questionnaire Contact Type"](../enum/5087.md) |
| 4 | Business Relation Code | Code[10] | Specifies the code of the business relation to which the profile questionnaire applies. | TableRelation [Table 5053 "Business Relation"](../table/5053.md) (Business Relation) |
| 5 | Priority | Enum "Profile Questionnaire Priority" | Specifies the priority you give to the profile questionnaire and where it should be displayed on the lines of the Contact Card. There are five options: | enum [Enum 5088 "Profile Questionnaire Priority"](../enum/5088.md) |

## Keys

- Key1: Code (clustered)

## Triggers

OnDelete

## Relations

- lookup page [Page 5109 "Profile Questionnaires"](../page/5109.md)
- drill-down page [Page 5111 "Profile Questionnaire List"](../page/5111.md)
- Business Relation Code: TableRelation [Table 5053 "Business Relation"](../table/5053.md)

## Referenced by

6 fields in 4 objects relate to this table (TableRelation or CalcFormula).

- [Table 5096 "Segment Wizard Filter"](../table/5096.md): Profile Questionnaire Code, Profile Questn. Code Filter
- [Table 5111 "Rating"](../table/5111.md): Profile Questionnaire Code, Rating Profile Quest. Code
- [Table 5088 "Profile Questionnaire Line"](../table/5088.md): Profile Questionnaire Code
- [Table 5089 "Contact Profile Answer"](../table/5089.md): Profile Questionnaire Code

## Pages and codeunits on this table

- [Page 5109 "Profile Questionnaires"](../page/5109.md) (source table)
- [Page 5111 "Profile Questionnaire List"](../page/5111.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC28

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Profile Questionnaire Header")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
