---
id: object/page/5097
type: object
title: Page 5097 "Create Task"
summary: Page 5097 "Create Task" in Base Application (Microsoft.CRM.Task). 2 public procedures, 2 events. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: null
  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: 1c3b6d35efbf6b0e62084707b8247fffbc935abc61080ee185173b4c79a6c3ee
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Task/CreateTask.Page.al
    title: src/Layers/W1/BaseApp/CRM/Task/CreateTask.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 5097
name: Create Task
namespace: Microsoft.CRM.Task
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 11
  events: 2
  subscribers: 0
  controls: 26
  actions: 1
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 1
  implements: 0
---

# Page 5097 "Create Task"

> Page 5097 "Create Task" in Base Application (Microsoft.CRM.Task). 2 public procedures, 2 events. Present since at least BC23, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Create Task |
| SourceTable | To-do |
| PageType | Card |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | Type | [Type](../table/5080.md#fields) | Specifies the type of the task. <small>from the table field</small> |
|  | Type | [Type](../table/5080.md#fields) | Specifies the type of the Task. |
|  | Description | [Description](../table/5080.md#fields) | Specifies the description of the task. <small>from the table field</small> |
|  | All Day Event | [All Day Event](../table/5080.md#fields) | Specifies that the Task of the Meeting type is an all-day event, which is an activity that lasts 24 hours or longer. <small>from the table field</small> |
|  | Start Date | [Date](../table/5080.md#fields) | Specifies the date when the task should be started. There are certain rules for how dates should be entered found in How to: Enter Dates and Times. <small>from the table field</small> |
|  | Start Time | [Start Time](../table/5080.md#fields) | Specifies the time when the Task of the Meeting type should be started. <small>from the table field</small> |
|  | Duration | [Duration](../table/5080.md#fields) | Specifies the duration of the Task of the Meeting type. <small>from the table field</small> |
|  | Ending Date | [Ending Date](../table/5080.md#fields) | Specifies the date of when the Task should end. There are certain rules for how dates should be entered. For more information, see How to: Enter Dates and Times. <small>from the table field</small> |
|  | Ending Time | [Ending Time](../table/5080.md#fields) | Specifies the time of when the Task of the Meeting type should end. <small>from the table field</small> |
|  | Team Task | [Team To-do](../table/5080.md#fields) | Specifies if the Task is meant to be done team-wide. Select the check box to specify that the Task applies to the entire Team. <small>from the table field</small> |
|  | Contact | [Wizard Contact Name](../table/5080.md#fields) | Specifies a contact name from the wizard. <small>from the table field</small> |
|  | Salesperson | [Salesperson Code](../table/5080.md#fields) | Specifies the code of the salesperson assigned to the task. <small>from the table field</small> |
|  | Team | [Team Code](../table/5080.md#fields) | Specifies the code of the team to which the task is assigned. <small>from the table field</small> |
|  | Campaign | [Wizard Campaign Description](../table/5080.md#fields) | Specifies a description of the campaign that is related to the task. The description is copied from the campaign card. <small>from the table field</small> |
|  | Opportunity | [Wizard Opportunity Description](../table/5080.md#fields) | Specifies a description of the Opportunity that is related to the Task. The description is copied from the Campaign card. <small>from the table field</small> |
|  | Create Tasks for Segment Contacts | [Segment Description](../table/5080.md#fields) | Specifies a description of the segment related to the task. The description is copied from the segment card. <small>from the table field</small> |
|  | Priority | [Priority](../table/5080.md#fields) | Specifies the priority of the Task. There are three options: |
|  | Location | [Location](../table/5080.md#fields) | Specifies the location where the meeting will take place. <small>from the table field</small> |
| Meeting Attendees | AttendeeSubform | part [Page 5198 "Attendee Wizard Subform"](../page/5198.md) | — |
| Interaction | Send Invitation(s) on Finish | [Send on finish](../table/5080.md#fields) | Specifies if the meeting invitation task will be sent when the Create Task wizard is finished. <small>from the table field</small> |
|  | Interaction Template | [Interaction Template Code](../table/5080.md#fields) | Specifies the code for the interaction template that you have selected. <small>from the table field</small> |
|  | Language Code | [Language Code](../table/5080.md#fields) | Specifies the language that is used when translating specified text on documents to foreign business partner, such as an item description on an order confirmation. <small>from the table field</small> |
|  | Attachment | `Rec."Attachment No." > 0` | Specifies if the linked attachment is inherited or unique. |
| Recurring | Recurring Task | [Recurring](../table/5080.md#fields) | Specifies that the Task occurs periodically. <small>from the table field</small> |
|  | Recurring Date Interval | [Recurring Date Interval](../table/5080.md#fields) | Specifies the date formula to assign automatically a recurring Task to a Salesperson or Team. <small>from the table field</small> |
|  | Calculate from Date | [Calc. Due Date From](../table/5080.md#fields) | Specifies the date to use to calculate the date on which the next Task should be completed. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Finish | Finish the task. |  |

## Events published

- `OnAfterEnableFields(var Task: Record "To-do")` (integration)
- `OnAfterFinishPage(var Task: Record "To-do")` (integration)

## Procedures

- `Caption(): Text`
- `ValidateTypeField()`

Plus 7 local procedures.

## Triggers

OnAfterGetRecord, OnInit, OnOpenPage, OnQueryClosePage

## Relations

- source table [Table 5080 "To-do"](../table/5080.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 4030 "Client Type Management"](../codeunit/4030.md) (1 call: `OnOpenPage → GetCurrentClientType`)
- [Codeunit 457 "Environment Information"](../codeunit/457.md) (1 call: `OnInit → IsSaaS`)

## Called by

- [Table 5080 "To-do"](../table/5080.md) (1 call: `RunCreateTaskPage → (object)`)

## Across versions

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

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). The call sections above are our own, per object, from the BC29 call graph. 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: "page", object_name: "Create Task")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
