---
title: "Table 5080 To-do"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5080-to-do/
type: table
id: 5080
name: "To-do"
app: "Base Application"
namespace: Microsoft.CRM.Task
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5080-to-do/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 5080 To-do

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5080-to-do/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.CRM.Task |
| Versions | 17-28 |
| Source file | CRM/Task/Todo.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | No. | Code[20] | 17-28 | - | - |
| 2 | Team Code | Code[10] | 17-28 | - | - |
| 3 | Salesperson Code | Code[20] | 17-28 | - | - |
| 4 | Campaign No. | Code[20] | 17-28 | - | - |
| 5 | Contact No. | Code[20] | 17-28 | - | - |
| 6 | Opportunity No. | Code[20] | 17-28 | - | - |
| 7 | Segment No. | Code[20] | 17-28 | - | - |
| 8 | Type | Enum Task Type | 17-28 | - | - |
| 9 | Date | Date | 17-28 | - | - |
| 10 | Status | Enum Task Status | 17-28 | - | - |
| 11 | Priority | Option | 17-28 | - | - |
| 12 | Description | Text[100] | 17-28 | - | - |
| 13 | Closed | Boolean | 17-28 | - | - |
| 14 | Date Closed | Date | 17-28 | - | - |
| 15 | No. Series | Code[20] | 17-28 | - | - |
| 16 | Comment | Boolean | 17-28 | - | - |
| 17 | Canceled | Boolean | 17-28 | - | - |
| 18 | Contact Name | Text[100] | 17-28 | - | - |
| 19 | Team Name | Text[50] | 17-28 | - | - |
| 20 | Salesperson Name | Text[50] | 17-28 | - | - |
| 21 | Campaign Description | Text[100] | 17-28 | - | - |
| 22 | Contact Company No. | Code[20] | 17-28 | - | - |
| 23 | Contact Company Name | Text[100] | 17-28 | - | - |
| 24 | Recurring | Boolean | 17-28 | - | - |
| 25 | Recurring Date Interval | DateFormula | 17-28 | - | - |
| 26 | Calc. Due Date From | Option | 17-28 | - | - |
| 27 | Opportunity Description | Text[100] | 17-28 | - | - |
| 28 | Start Time | Time | 17-28 | - | - |
| 29 | Duration | Duration | 17-28 | - | - |
| 31 | Opportunity Entry No. | Integer | 17-28 | - | - |
| 32 | Last Date Modified | Date | 17-28 | - | - |
| 33 | Last Time Modified | Time | 17-28 | - | - |
| 34 | All Day Event | Boolean | 17-28 | - | - |
| 35 | Location | Text[100] | 17-28 | - | - |
| 36 | Organizer To-do No. | Code[20] | 17-28 | - | - |
| 37 | Interaction Template Code | Code[10] | 17-28 | - | - |
| 38 | Language Code | Code[10] | 17-28 | - | - |
| 39 | Attachment No. | Integer | 17-28 | - | - |
| 40 | Subject | Text[100] | 17-28 | - | - |
| 41 | Unit Cost (LCY) | Decimal | 17-28 | - | - |
| 42 | Unit Duration (Min.) | Decimal | 17-28 | - | - |
| 43 | No. of Attendees | Integer | 17-28 | - | - |
| 44 | Attendees Accepted No. | Integer | 17-28 | - | - |
| 45 | System To-do Type | Option | 17-28 | - | - |
| 46 | Completed By | Code[20] | 17-28 | - | - |
| 47 | Ending Date | Date | 17-28 | - | - |
| 48 | Ending Time | Time | 17-28 | - | - |
| 9501 | Wizard Step | Option | 17-28 | - | - |
| 9504 | Team To-do | Boolean | 17-28 | - | - |
| 9505 | Send on finish | Boolean | 17-28 | - | - |
| 9506 | Segment Description | Text[100] | 17-28 | - | - |
| 9507 | Team Meeting Organizer | Code[20] | 17-28 | - | - |
| 9508 | Activity Code | Code[10] | 17-28 | - | - |
| 9509 | Wizard Contact Name | Text[100] | 17-28 | - | - |
| 9510 | Wizard Campaign Description | Text[100] | 17-28 | - | - |
| 9511 | Wizard Opportunity Description | Text[100] | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | No. | 17-28 |
| Key2 | Contact Company No., Date, Contact No., Closed | 17-28 |
| Key3 | Contact Company No., Contact No., Closed, Date | 17-28 |
| Key4 | Salesperson Code, Date, Closed | 17-28 |
| Key5 | Team Code, Date, Closed | 17-28 |
| Key6 | Campaign No., Date | 17-28 |
| Key7 | Segment No., Date | 17-28 |
| Key8 | Opportunity No., Date, Closed | 17-28 |
| Key9 | Organizer To-do No., System To-do Type | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CreateTaskFromTask | (var Record To-do) | - | public | 17-28 | - | - |
| CreateTaskFromSalesHeader | (Record Sales Header) | - | public | 17-28 | - | - |
| CreateTaskFromInteractLogEntry | (Record Interaction Log Entry) | - | public | 17-28 | - | - |
| InsertTask | (Record To-do, var Record Rlshp. Mgt. Comment Line, var Record Attendee, var Record To-do Interaction Language, var Record Attachment, Code[10], Boolean) | - | public | 17-28 | - | - |
| CreateSubTask | (var Record Attendee, Record To-do) | Code[20] | public | 17-28 | - | - |
| DeleteAttendeeTask | (Record Attendee) | - | public | 17-28 | - | - |
| FindAttendeeTask | (var Record To-do, Record Attendee) | Boolean | public | 17-28 | - | - |
| AssignActivityFromTask | (var Record To-do) | - | public | 17-28 | - | - |
| CancelOpenTasks | (Code[20]) | - | public | 17-28 | - | - |
| SetDuration | (Date, Time) | - | public | 17-28 | - | - |
| GetEndDateTime | () | - | public | 17-28 | - | - |
| SendMAPIInvitations | (Record To-do, Boolean) | - | public | 17-28 | - | - |
| CreateAttachment | (Boolean) | - | public | 17-28 | - | - |
| OpenAttachment | (Boolean) | - | public | 17-28 | - | - |
| ImportAttachment | () | - | public | 17-28 | - | - |
| ExportAttachment | () | - | public | 17-28 | - | - |
| RemoveAttachment | (Boolean) | - | public | 17-28 | - | - |
| CreateAttendeesFromTeam | (var Record Attendee, Code[20]) | - | public | 17-28 | - | - |
| GetMeetingOrganizerTask | (var Record To-do) | - | public | 17-28 | - | - |
| ArrangeOrganizerAttendee | () | - | public | 17-28 | - | - |
| StartWizard | () | - | public | 17-28 | - | - |
| CheckStatus | () | - | public | 17-28 | - | - |
| FinishWizard | (Boolean) | - | public | 17-28 | - | - |
| AssignDefaultAttendeeInfo | () | - | public | 17-28 | - | - |
| ValidateInteractionTemplCode | () | - | public | 17-28 | - | - |
| AssistEditAttachment | () | - | public | 17-28 | - | - |
| ValidateLanguageCode | () | - | public | 17-28 | - | - |
| LookupLanguageCode | () | - | public | 17-28 | - | - |
| LoadTempAttachment | () | - | public | 17-28 | - | - |
| ClearDefaultAttendeeInfo | () | - | public | 17-28 | - | - |
| GetAttendee | (var Record Attendee) | - | public | 17-28 | - | - |
| SetAttendee | (var Record Attendee) | - | public | 17-28 | - | - |
| SetComments | (var Record Rlshp. Mgt. Comment Line) | - | public | 17-28 | - | - |
| CheckAssignActivityStatus | () | - | public | 17-28 | - | - |
| FinishAssignActivity | () | - | public | 17-28 | - | - |
| SetRunFromForm | () | - | public | 17-28 | - | - |
| UpdateAppointment | (var DotNet IAppointment, DotNet TimeZoneInfo) | - | public | 17-28 | - | - |
| SetupExchangeService | (var Codeunit Exchange Web Services Server) | - | public | 17-28 | - | - |
| AddAppointmentAttendee | (var DotNet IAppointment, var Record Attendee, Text) | - | public | 17-28 | - | - |
| InsertActivityTask | (Record To-do, Code[10], var Record Attendee) | - | public | 21-28 | - | - |
| ChangeTeam | () | - | public | 21-28 | - | - |
| ReassignSalespersonTaskToTeam | () | - | public | 21-28 | - | - |
| ReassignTeamTaskToSalesperson | () | - | public | 23-28 | - | - |
| IsCalledFromForm | () | Boolean | public | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterSetFilterFromTask | (var Record To-do, var Record To-do) | 17-28 | - | - |
| Integration event | OnBeforeChangeTeam | (var Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeConfirmReassignmentOpenedNotMeetingToDo | (var Record To-do, var Boolean) | 17-24 | - | - |
| Integration event | OnBeforeCreateSubTask | (Record Attendee, Record To-do, var Code[20], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeGetEndDateTime | (var Record To-do, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeInsertTaskAndRelatedData | (var Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeReassignSalespersonTaskToTeam | (var Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeReassignTeamTaskToSalesperson | (var Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeRunCreateTaskPage | (var Record To-do) | 17-18 | - | - |
| Integration event | OnBeforeSetDuration | (var Record To-do, var Boolean) | 17-20 | - | - |
| Integration event | OnCreateTaskFromTaskOnBeforeStartWizard | (var Record To-do, Record To-do) | 17-19 | - | - |
| Integration event | OnCreateTaskFromSalesHeaderOnBeforeStartWizard | (var Record To-do, Record Sales Header) | 17-28 | - | - |
| Integration event | OnCreateTaskFromSalesHeaderoOnBeforeStartWizard | (var Record To-do, Record Sales Header) | 17-28 | - | - |
| Integration event | OnCreateTaskFromInteractLogEntryOnBeforeStartWizard | (var Record To-do, Record Interaction Log Entry) | 17-28 | - | - |
| Integration event | OnBeforeUpdateAttendeeTasks | (var Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateTeamCode | (var Record To-do, Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateSalespersonCode | (var Record To-do, Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateContactNo | (var Record To-do, Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateType | (var Record To-do, Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeDeleteAttendeeTask | (var Record To-do, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCreateAttendeeFromFinishWizard | (var Record To-do, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeRunCreateTaskPage | (var Record To-do, var Boolean) | 19-28 | - | - |
| Integration event | OnCreateInteractionOnBeforeCreatePhoneCall | (var Record Segment Line, var Record To-do) | 19-28 | - | - |
| Integration event | OnLogTaskInteractionOnBeforeTempSegLineInsert | (var Record Segment Line, Record To-do) | 19-28 | - | - |
| Integration event | OnAfterCopyFieldsFromActivityStep | (var Record To-do, Record Activity Step) | 20-28 | - | - |
| Integration event | OnAfterInsertTask | (var Record To-do) | 20-28 | - | - |
| Integration event | OnBeforeStartWizard | (var Record To-do, var Boolean) | 20-28 | - | - |
| Integration event | OnCreateTaskFromTaskOnBeforeStartWizard | (var Record To-do, var Record To-do) | 20-28 | - | - |
| Integration event | OnStartWizardOnAfterSetDate | (var Record To-do) | 20-28 | - | - |
| Integration event | OnStartWizardOnBeforeInsert | (var Record To-do) | 20-28 | - | - |
| Integration event | OnAfterInsertTaskAndRelatedData | (var Record To-do) | 20 | - | - |
| Integration event | OnBeforeValidateCompletedBy | (var Record To-do, Record To-do, var Boolean) | 20-28 | - | - |
| Integration event | OnStartWizard2OnBeforeInsert | (var Record To-do) | 20-28 | - | - |
| Integration event | OnBeforeSetDuration | (var Record To-do, var Boolean, Date, Time) | 21-28 | - | - |
| Integration event | OnAfterInsertTaskAndRelatedData | (var Record To-do, Code[20]) | 21-28 | - | - |
| Integration event | OnBeforeCreateOrganizerTask | (Record To-do, var Record Attendee, Code[20], var Boolean) | 21-28 | - | - |
| Integration event | OnFinishWizardOnBeforeContactNoValidation | (var Record To-do, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCreateSubTaskForAttendees | (var Record To-do, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCreateInteraction | (var Record To-do, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeUpdateInteractionTemplate | (var Record To-do, var Record To-do Interaction Language, var Record Attachment, Code[10], Boolean, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCreateAttachment | (var Record To-do, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeOpenAttachment | (var Record To-do, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeImportAttachment | (var Record To-do) | 23-28 | - | - |
| Integration event | OnBeforeExportAttachment | (var Record To-do) | 23-28 | - | - |
| Integration event | OnBeforeRemoveAttachment | (var Record To-do) | 23-28 | - | - |
| Integration event | OnStartWizardOnAfterInsert | (var Record To-do) | 23-28 | - | - |
| Integration event | OnBeforeInsertActivityTask | (var Record To-do, Code[10], var Record Attendee, var Boolean) | 24-28 | - | - |
| Integration event | OnBeforeConfirmReassignmentOpenedNotMeetingToDo | (var Record To-do, var Boolean, Record To-do) | 25-28 | - | - |
| Integration event | OnBeforeValidateClosed | (var Record To-do, Record To-do, var Boolean, var Boolean) | 26-28 | - | - |
| Integration event | OnAfterAssignDefaultAttendeeInfo | (var Record To-do, var Integer, var Record Attendee) | 26-28 | - | - |
| Integration event | OnProcessAttendeeAppointmentOnAfterFindAttendeeTask | (var Record Attendee, var Record To-do, var Record To-do, var Text, Boolean) | 28 | - | - |
| Integration event | OnBeforeCheckStatus | (var Record To-do) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
