---
id: object/table/5096
type: object
title: Table 5096 "Segment Wizard Filter"
summary: Table 5096 "Segment Wizard Filter" in Base Application (Microsoft.CRM.Segment). 15 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "24"
  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: b3226eb1d2a5a2b7ee0b4a1849c1b56c0b7d70af5063b06e3934ee30844c83e1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Segment/SegmentWizardFilter.Table.al
    title: src/Layers/W1/BaseApp/CRM/Segment/SegmentWizardFilter.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: 5096
name: Segment Wizard Filter
namespace: Microsoft.CRM.Segment
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 15
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 12
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5096 "Segment Wizard Filter"

> Table 5096 "Segment Wizard Filter" in Base Application (Microsoft.CRM.Segment). 15 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24.

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

## Properties

| Property | Value |
|---|---|
| Caption | Segment Wizard Filter |
| 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 | Segment No. | Code[20] | — | TableRelation [Table 5076 "Segment Header"](../table/5076.md) (Segment Header) |
| 2 | Functionality | Option | — | OptionCaption: Add Contacts,Remove Contacts,Reduce Contacts,Refine Contacts |
| 3 | Mailing Group Code Filter | Code[10] | — | TableRelation [Table 5055 "Mailing Group"](../table/5055.md) (Mailing Group); FlowFilter |
| 4 | Industry Group Code Filter | Code[10] | — | TableRelation [Table 5057 "Industry Group"](../table/5057.md) (Industry Group); FlowFilter |
| 5 | Salesperson Code Filter | Code[20] | — | TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md) (Salesperson/Purchaser); FlowFilter |
| 6 | Country/Region Code Filter | Code[10] | — | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region); FlowFilter |
| 7 | Territory Code Filter | Code[10] | — | TableRelation [Table 286 "Territory"](../table/286.md); FlowFilter |
| 8 | Post Code Filter | Code[20] | — | TableRelation [Table 225 "Post Code"](../table/225.md) (Post Code); FlowFilter |
| 9 | Business Relation Code Filter | Code[10] | — | TableRelation [Table 5053 "Business Relation"](../table/5053.md) (Business Relation); FlowFilter |
| 10 | Profile Questn. Code Filter | Code[20] | — | TableRelation [Table 5087 "Profile Questionnaire Header"](../table/5087.md) (Profile Questionnaire Header); FlowFilter |
| 11 | Profile Questn. Line Filter | Integer | — | TableRelation [Table 5088 "Profile Questionnaire Line"](../table/5088.md) ("Profile Questionnaire Line"."Line No." where("Profile Questionnaire Code" = field("Profile Questn. Code Filter"), Type = const(Answer))); FlowFilter |
| 12 | Job Responsibility Code Filter | Code[10] | — | TableRelation [Table 5066 "Job Responsibility"](../table/5066.md) (Job Responsibility); FlowFilter |
| 13 | Profile Questionnaire Code | Code[20] | — | TableRelation [Table 5087 "Profile Questionnaire Header"](../table/5087.md) ("Profile Questionnaire Header".Code) |
| 15 | Add Additional Criteria | Boolean | — |  |
| 9501 | Wizard Step | Option | — | OptionCaption: ,1,2,3,4,5,6; not editable |

## Keys

- Key1: Segment No. (clustered)

## Procedures

- `SetParametersProfileQnLine(var FromProfileQuestionnaireLine: Record "Profile Questionnaire Line")`
- `SetProfileQnLine(var GetProfileQuestionnaireLine: Record "Profile Questionnaire Line")`

## Relations

- Salesperson Code Filter: TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md)
- Post Code Filter: TableRelation [Table 225 "Post Code"](../table/225.md)
- Territory Code Filter: TableRelation [Table 286 "Territory"](../table/286.md)
- Business Relation Code Filter: TableRelation [Table 5053 "Business Relation"](../table/5053.md)
- Mailing Group Code Filter: TableRelation [Table 5055 "Mailing Group"](../table/5055.md)
- Industry Group Code Filter: TableRelation [Table 5057 "Industry Group"](../table/5057.md)
- Job Responsibility Code Filter: TableRelation [Table 5066 "Job Responsibility"](../table/5066.md)
- Segment No.: TableRelation [Table 5076 "Segment Header"](../table/5076.md)
- Profile Questionnaire Code: TableRelation [Table 5087 "Profile Questionnaire Header"](../table/5087.md)
- Profile Questn. Code Filter: TableRelation [Table 5087 "Profile Questionnaire Header"](../table/5087.md)
- Profile Questn. Line Filter: TableRelation [Table 5088 "Profile Questionnaire Line"](../table/5088.md)
- Country/Region Code Filter: TableRelation [Table 9 "Country/Region"](../table/9.md)

## Across versions

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

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