---
title: "Table 5093 Opportunity Entry"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5093-opportunity-entry/
type: table
id: 5093
name: "Opportunity Entry"
app: "Base Application"
namespace: Microsoft.CRM.Opportunity
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5093-opportunity-entry/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 5093 Opportunity Entry

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5093-opportunity-entry/

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Entry No. | Integer | 17-28 | - | - |
| 2 | Opportunity No. | Code[20] | 17-28 | - | - |
| 3 | Sales Cycle Code | Code[10] | 17-28 | - | - |
| 4 | Sales Cycle Stage | Integer | 17-28 | - | - |
| 5 | Contact No. | Code[20] | 17-28 | - | - |
| 6 | Contact Company No. | Code[20] | 17-28 | - | - |
| 7 | Salesperson Code | Code[20] | 17-28 | - | - |
| 8 | Campaign No. | Code[20] | 17-28 | - | - |
| 9 | Date of Change | Date | 17-28 | - | - |
| 10 | Active | Boolean | 17-28 | - | - |
| 11 | Date Closed | Date | 17-28 | - | - |
| 12 | Days Open | Decimal | 17-28 | - | - |
| 13 | Action Taken | Enum Opportunity Action Taken | 17-28 | - | - |
| 14 | Estimated Value (LCY) | Decimal | 17-28 | - | - |
| 15 | Calcd. Current Value (LCY) | Decimal | 17-28 | - | - |
| 16 | Completed % | Decimal | 17-28 | - | - |
| 17 | Chances of Success % | Decimal | 17-28 | - | - |
| 18 | Probability % | Decimal | 17-28 | - | - |
| 19 | Close Opportunity Code | Code[10] | 17-28 | - | - |
| 20 | Previous Sales Cycle Stage | Integer | 17-28 | - | - |
| 21 | Estimated Close Date | Date | 17-28 | - | - |
| 9501 | Wizard Step | Option | 17-28 | - | - |
| 9502 | Cancel Old To Do | Boolean | 17-28 | - | - |
| 9503 | Action Type | Option | 17-28 | - | - |
| 9504 | Sales Cycle Stage Description | Text[100] | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Entry No. | 17-28 |
| Key2 | Opportunity No. | 17-28 |
| Key3 | Contact Company No., Contact No., Active | 17-28 |
| Key4 | Campaign No., Active | 17-28 |
| Key5 | Active, Sales Cycle Code, Sales Cycle Stage, Estimated Close Date | 17-28 |
| Key6 | Active, Opportunity No. | 17-28 |
| Key7 | Active, Salesperson Code, Date of Change | 17-28 |
| Key8 | Close Opportunity Code | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetLastEntryNo | () | Integer | public | 17-28 | - | - |
| InsertEntry | (var Record Opportunity Entry, Boolean, Boolean) | - | public | 17-28 | - | - |
| UpdateEstimates | () | - | public | 17-28 | - | - |
| CreateTask | (Boolean, Boolean) | - | public | 17-28 | - | - |
| GetSalesDocValue | (Record Sales Header) | Decimal | public | 17-28 | - | - |
| InitOpportunityEntry | (Record Opportunity) | - | public | 17-28 | - | - |
| CloseOppFromOpp | (var Record Opportunity) | - | public | 17-28 | - | - |
| CheckStatus | () | - | public | 17-28 | - | - |
| FinishWizard | () | - | public | 17-28 | - | - |
| UpdateOppFromOpp | (var Record Opportunity) | - | public | 17-28 | - | - |
| CheckStatus2 | () | - | public | 17-28 | - | - |
| FinishWizard2 | () | - | public | 17-28 | - | - |
| WizardActionTypeValidate2 | () | - | public | 17-28 | - | - |
| WizardSalesCycleStageValidate2 | () | - | public | 17-28 | - | - |
| CreateStageList | () | - | public | 17-28 | - | - |
| ValidateStage | () | - | public | 17-28 | - | - |
| NoOfSalesCyclesFirst | () | Integer | public | 17-28 | - | - |
| NoOfSalesCyclesNext | () | Integer | public | 17-28 | - | - |
| NoOfSalesCyclesPrev | () | Integer | public | 17-28 | - | - |
| NoOfSalesCyclesSkip | () | Integer | public | 17-28 | - | - |
| NoOfSalesCyclesUpdate | () | Integer | public | 17-28 | - | - |
| NoOfSalesCyclesJump | () | Integer | public | 17-28 | - | - |
| ValidateSalesCycleStage | () | - | public | 17-28 | - | - |
| LookupSalesCycleStage | () | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnFinishWizardOnAfterInsertEntry | (Record Opportunity Entry) | 17-28 | - | - |
| Integration event | OnFinishWizard2OnAfterInsertEntry | (Record Opportunity Entry) | 17-28 | - | - |
| Integration event | OnAfterInitOpportunityEntry | (Record Opportunity, var Record Opportunity Entry) | 19-28 | - | - |
| Integration event | OnBeforeCheckStatus | (var Record Opportunity Entry, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeCheckStatus2 | (var Record Opportunity Entry, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeTestCust | (Record Opportunity Entry, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeUpdateEstimates | (var Record Opportunity Entry, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeValidateSalesCycleStage | (var Record Opportunity Entry) | 19-28 | - | - |
| Integration event | OnCloseOppFromOppOnBeforeStartWizard | (Record Opportunity, var Record Opportunity Entry) | 19-24 | - | - |
| Integration event | OnCreateTaskOnBeforeInsertTask | (var Record Opportunity Entry, var Record To-do) | 19-28 | - | - |
| Integration event | OnUpdateOppFromOppOnBeforeStartWizard2 | (Record Opportunity, var Record Opportunity Entry) | 19-28 | - | - |
| Integration event | OnAfterInsertEntry | (var Record Opportunity Entry) | 20-28 | - | - |
| Integration event | OnBeforeCloseOppFromOpp | (var Record Opportunity, var Record Opportunity Entry, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeCreateStageList | (var Record Opportunity Entry, var Record Opportunity Entry, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeStartWizard | (var Record Opportunity Entry, var Integer, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeUpdateOppFromOpp | (var Record Opportunity, var Record Opportunity Entry, var Boolean) | 20-28 | - | - |
| Integration event | OnUpdateEstimatesOnBeforeModifyOpportunityEntry | (var Record Opportunity Entry, Record Sales Header) | 20-28 | - | - |
| Integration event | OnAfterValidateStage | (var Record Opportunity Entry) | 21-28 | - | - |
| Integration event | OnBeforeGetSalesDocValue | (Record Sales Header, var Decimal, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeTestQuote | (Record Opportunity Entry, var Boolean) | 21-28 | - | - |
| Integration event | OnCloseOppFromOppOnBeforeStartWizard | (Record Opportunity, var Record Opportunity Entry, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeCheckEstimatedValues | (var Record Opportunity Entry, Record Opportunity Entry, var Boolean) | 25-28 | - | - |
| Integration event | OnStartWizard2OnBeforeRunModalPage | (var Record Opportunity Entry, Record Opportunity Entry, var Boolean) | 25-28 | - | - |
| Integration event | OnFinishWizard2OnBeforeValidateSalesCycleStageDescription | (var Record Opportunity Entry, var Boolean) | 25-28 | - | - |
| Integration event | OnFinishWizardOnAfterUpdateEstimates | (var Record Opportunity Entry) | 25-28 | - | - |
| Integration event | OnOnInsertOnBeforeModifyOpportunity | (var Record Opportunity Entry, var Record Opportunity, var Boolean) | 25-28 | - | - |
| Integration event | OnInsertEntryOnBeforeInsert | (var Record Opportunity Entry, var Record Opportunity Entry) | 25-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.
