---
id: object/page/6002
type: object
title: Page 6002 "Cancelled Allocation Reasons"
summary: Page 6002 "Cancelled Allocation Reasons" in Base Application (Microsoft.Service.Document). 3 public procedures. Present since at least BC23, still in BC30, changed in BC27.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "27"
  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: bb863b682dbc9ddc5f3bdb394dee33c5057a71bc4121b1fd54e6b08e5636f4a4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Document/CancelledAllocationReasons.Page.al
    title: src/Layers/W1/BaseApp/Service/Document/CancelledAllocationReasons.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: 6002
name: Cancelled Allocation Reasons
caption: Canceled Allocation Reasons
namespace: Microsoft.Service.Document
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 3
  events: 0
  subscribers: 0
  controls: 11
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 6002 "Cancelled Allocation Reasons"

> Page 6002 "Cancelled Allocation Reasons" in Base Application (Microsoft.Service.Document). 3 public procedures. Present since at least BC23, still in BC30, changed in BC27.

Base Application · Microsoft.Service.Document · captioned "Canceled Allocation Reasons" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Document/CancelledAllocationReasons.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Canceled Allocation Reasons |
| SourceTable | Service Order Allocation |
| PageType | ConfirmationDialog |

## 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 |
|---|---|---|---|
| Details | Document Type | [Document Type](../table/5950.md#fields) | Specifies the type of the document (Order or Quote) from which the allocation entry was created. <small>from the table field</small> |
|  | Document No. | [Document No.](../table/5950.md#fields) | Specifies the number of the service order associated with this entry. <small>from the table field</small> |
|  | Allocation Date | [Allocation Date](../table/5950.md#fields) | Specifies the date when the resource allocation should start. <small>from the table field</small> |
|  | Resource No. | [Resource No.](../table/5950.md#fields) | Specifies the number of the resource allocated to the service task in this entry. <small>from the table field</small> |
|  | Service Item Line No. | [Service Item Line No.](../table/5950.md#fields) | Specifies the number of the service item line linked to this entry. <small>from the table field</small> |
|  | Allocated Hours | [Allocated Hours](../table/5950.md#fields) | Specifies the hours allocated to the resource or resource group for the service task in this entry. <small>from the table field</small> |
|  | Starting Time | [Starting Time](../table/5950.md#fields) | Specifies the time when you want the allocation to start. <small>from the table field</small> |
|  | Finishing Time | [Finishing Time](../table/5950.md#fields) | Specifies the time when you want the allocation to finish. <small>from the table field</small> |
|  | Description | [Description](../table/5950.md#fields) | Specifies a description for the service order allocation. <small>from the table field</small> |
| Content | Priority | `ServPriority` | — |
|  | Reason Code | `ReasonCode` | — |

## Procedures

- `ReturnReasonCode(): Code[10]`
- `ReturnPriority(): Integer`
- `GetServicePriority(): Enum "Service Priority"`

## Triggers

OnAfterGetRecord, OnInit

## Relations

- source table [Table 5950 "Service Order Allocation"](../table/5950.md)

## Across versions

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

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: "Cancelled Allocation Reasons")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
