---
id: object/page/30070
type: object
title: Page 30070 "APIV2 - Opportunities"
summary: Page 30070 "APIV2 - Opportunities" in APIV2 (Microsoft.API.V2). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - apiv2
versions:
  introduced: "29"
  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: eac596ce34f5c093859224cfc155f9d5f2beac5a05cdaa129530fa14612abf86
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/APIV2/app/src/pages/APIV2Opportunities.Page.al
    title: src/Apps/W1/APIV2/app/src/pages/APIV2Opportunities.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_create
    title: Create opportunities
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_delete
    title: Delete opportunities
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_get
    title: Get opportunities
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_update
    title: Update opportunities
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_opportunity
    title: opportunity resource type
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_create
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_delete
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_update
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_opportunity
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 30070
name: APIV2 - Opportunities
namespace: Microsoft.API.V2
app: APIV2
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_create.md
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_delete.md
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_get.md
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_update.md
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/resources/dynamics_opportunity.md
counts:
  fields: 0
  procedures: 1
  events: 0
  subscribers: 0
  controls: 18
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 30070 "APIV2 - Opportunities"

> Page 30070 "APIV2 - Opportunities" in APIV2 (Microsoft.API.V2). Introduced in BC29, still in BC30.

APIV2 · Microsoft.API.V2 · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/APIV2/app/src/pages/APIV2Opportunities.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| SourceTable | Opportunity |
| PageType | API |

## 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 |
|---|---|---|---|
| Group | Id | `Rec.SystemId` | — |
|  | No. | [No.](../table/5092.md#fields) | Specifies the number of the involved entry or record, according to the specified number series. <small>from the table field</small> |
|  | Contact No. | [Contact No.](../table/5092.md#fields) | Specifies the number of the contact that this opportunity is linked to. <small>from the table field</small> |
|  | Contact Name | [Contact Name](../table/5092.md#fields) | Specifies the name of the contact to which this opportunity is linked. The program automatically fills in this field when you have entered a number in the No. field. <small>from the table field</small> |
|  | Contact Company Name | [Contact Company Name](../table/5092.md#fields) | Specifies the name of the company of the contact person to which this opportunity is linked. The program automatically fills in this field when you have entered a number in the Contact Company No. field. <small>from the table field</small> |
|  | Salesperson Code | [Salesperson Code](../table/5092.md#fields) | Specifies the code of the salesperson that is responsible for the opportunity. <small>from the table field</small> |
|  | Description | [Description](../table/5092.md#fields) | Specifies the description of the opportunity. <small>from the table field</small> |
|  | Status | [Status](../table/5092.md#fields) | Specifies the status of the opportunity. There are four options: <small>from the table field</small> |
|  | Closed | [Closed](../table/5092.md#fields) | Specifies that the opportunity is closed. <small>from the table field</small> |
|  | Creation Date | [Creation Date](../table/5092.md#fields) | Specifies the date that the opportunity was created. <small>from the table field</small> |
|  | Date Closed | [Date Closed](../table/5092.md#fields) | Specifies the date the opportunity was closed. <small>from the table field</small> |
|  | Calculated Current Value (LCY) | [Calcd. Current Value (LCY)](../table/5092.md#fields) | — |
|  | Chances of Success % | [Chances of Success %](../table/5092.md#fields) | Specifies the chances of success of the opportunity. <small>from the table field</small> |
|  | Completed % | [Completed %](../table/5092.md#fields) | Specifies the percentage of the sales cycle that has been completed for this opportunity. <small>from the table field</small> |
|  | Estimated Closing Date | [Estimated Closing Date](../table/5092.md#fields) | Specifies the estimated closing date of the opportunity. <small>from the table field</small> |
|  | Estimated Value (LCY) | [Estimated Value (LCY)](../table/5092.md#fields) | — |
|  | Creation Date | `Rec.SystemCreatedAt` | — |
|  | Last Modified Date | `Rec.SystemModifiedAt` | — |

## Procedures

1 local procedures, no public ones.

## Relations

- source table [Table 5092 "Opportunity"](../table/5092.md)

## Across versions

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

## Documented on Microsoft Learn

- [Create opportunities](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_create)
- [Delete opportunities](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_delete)
- [Get opportunities](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_get)
- [Update opportunities](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_opportunity_update)
- [opportunity resource type](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_opportunity)

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