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

# Page 6007 "Res. Availability Lines (SM)"

> Page 6007 "Res. Availability Lines (SM)" in Base Application (Microsoft.Service.Analysis). 1 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24.

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

## Properties

| Property | Value |
|---|---|
| Caption | Lines |
| SourceTable | Res. Availability Buffer |
| PageType | ListPart |

## 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 |
|---|---|---|---|
| Control1 | Period Start | [Period Start](../table/928.md#fields) | Specifies a series of dates according to the selected time interval. |
|  | Period Name | [Period Name](../table/928.md#fields) | Specifies the name of the period shown in the line. |
|  | Capacity | [Capacity](../table/928.md#fields) | Specifies the total capacity for the corresponding time period. |
|  | Qty. on Service Order | [Qty. on Service Order](../table/928.md#fields) | Specifies how many units of the item are allocated to service orders, meaning listed on outstanding service order lines. |
|  | Net Availability | [Net Availability](../table/928.md#fields) | Specifies capacity, minus the quantity on order, minus the projects quotes allocation. |

## Events published

- `OnAfterCalcLine(var Resource: Record Resource; var ResAvailabilityBuffer: Record "Res. Availability Buffer")` (integration)
- `OnAfterCapacityOnDrillDown(var ResCapacityEntry: Record "Res. Capacity Entry"; var IsHandled: Boolean)` (integration)

## Procedures

- `SetLines(var NewRes: Record Resource; NewPeriodType: Enum "Analysis Period Type"; NewAmountType: Enum "Analysis Amount Type")`

Plus 2 local procedures.

## Triggers

OnAfterGetRecord, OnFindRecord, OnNextRecord, OnOpenPage

## Relations

- source table [Table 928 "Res. Availability Buffer"](../table/928.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 920 "Period Form Lines Mgt."](../codeunit/920.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)

## Across versions

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

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: "Res. Availability Lines (SM)")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
