---
id: object/table/5111
type: object
title: Table 5111 "Rating"
summary: Table 5111 "Rating" in Base Application (Microsoft.CRM.Profiling). 6 fields. Present since at least BC23, still in BC30, changed in BC24, BC27-28.
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: 76e8c22b78940d85f1de22232a1e531432f20c997c1313dd6c30f5d534692d6f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Profiling/Rating.Table.al
    title: src/Layers/W1/BaseApp/CRM/Profiling/Rating.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5111
name: Rating
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"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 6
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 5
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5111 "Rating"

> Table 5111 "Rating" in Base Application (Microsoft.CRM.Profiling). 6 fields. Present since at least BC23, still in BC30, changed in BC24, BC27-28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Rating |
| 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 | Profile Questionnaire Code | Code[20] | Specifies the code for the profile questionnaire that contains the question you use to create your rating. | TableRelation [Table 5087 "Profile Questionnaire Header"](../table/5087.md) (Profile Questionnaire Header); NotBlank |
| 2 | Profile Questionnaire Line No. | Integer | — | TableRelation [Table 5088 "Profile Questionnaire Line"](../table/5088.md) ("Profile Questionnaire Line"."Line No." where("Profile Questionnaire Code" = field("Profile Questionnaire Code"), Type = const(Question), "Contact Class. Field" = const(Rating))); NotBlank |
| 3 | Rating Profile Quest. Code | Code[20] | Specifies the code for the profile questionnaire that contains the answer you use to create your rating. | TableRelation [Table 5087 "Profile Questionnaire Header"](../table/5087.md) (Profile Questionnaire Header); NotBlank |
| 4 | Rating Profile Quest. Line No. | Integer | — | TableRelation [Table 5088 "Profile Questionnaire Line"](../table/5088.md) ("Profile Questionnaire Line"."Line No." where("Profile Questionnaire Code" = field("Rating Profile Quest. Code"), Type = const(Answer))); NotBlank |
| 5 | Points | Decimal | Specifies the number of points you have assigned to this answer. |  |
| 6 | Profile Question Description | Text[250] | Specifies the description you have entered for this rating question in the Description field in the Profile Questionnaire Setup window. | FlowField: lookup("Profile Questionnaire Line".Description where("Profile Questionnaire Code" = field("Profile Questionnaire Code"), "Line No." = field("Profile Questionnaire Line No."))); not editable |

## Keys

- Key1: Profile Questionnaire Code, Profile Questionnaire Line No., Rating Profile Quest. Code, Rating Profile Quest. Line No. (clustered)
- Key2: Rating Profile Quest. Code, Rating Profile Quest. Line No.

## Procedures

1 local procedures, no public ones.

## Triggers

OnInsert

## Relations

- Profile Questionnaire Code: TableRelation [Table 5087 "Profile Questionnaire Header"](../table/5087.md)
- Rating Profile Quest. Code: TableRelation [Table 5087 "Profile Questionnaire Header"](../table/5087.md)
- Profile Question Description: CalcFormula [Table 5088 "Profile Questionnaire Line"](../table/5088.md)
- Profile Questionnaire Line No.: TableRelation [Table 5088 "Profile Questionnaire Line"](../table/5088.md)
- Rating Profile Quest. Line No.: TableRelation [Table 5088 "Profile Questionnaire Line"](../table/5088.md)

## Pages and codeunits on this table

- [Page 5170 "Answer Where-Used"](../page/5170.md) (source table)
- [Page 5173 "Answer Points List"](../page/5173.md) (source table)

## Across versions

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

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: "Rating")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
