---
id: object/table/1670
type: object
title: Table 1670 "Option Lookup Buffer"
summary: Table 1670 "Option Lookup Buffer" in Base Application (Microsoft.Utilities). 3 fields, 5 public procedures, 5 events. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: abf941796efc3627d8238d5429daa1ab55923728da6048d5d729acab0d1cbaf1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Utilities/OptionLookupBuffer.Table.al
    title: src/Layers/W1/BaseApp/Utilities/OptionLookupBuffer.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9947
object_type: table
object_id: 1670
name: Option Lookup Buffer
namespace: Microsoft.Utilities
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 3
  procedures: 13
  events: 5
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 1670 "Option Lookup Buffer"

> Table 1670 "Option Lookup Buffer" in Base Application (Microsoft.Utilities). 3 fields, 5 public procedures, 5 events. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Utilities · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Utilities/OptionLookupBuffer.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Option Lookup Buffer |
| TableType | Temporary |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | ID | Integer | — | not editable; DataClassification SystemMetadata |
| 2 | Option Caption | Text[30] | Specifies the type of transaction you want to make. The value in this field determines what you can select in the No. field. | not editable; DataClassification SystemMetadata |
| 3 | Lookup Type | Enum "Option Lookup Type" | — | enum [Enum 1670 "Option Lookup Type"](../enum/1670.md); not editable; DataClassification SystemMetadata |

## Keys

- Key1: Option Caption (clustered)
- Key2: ID

## Events published

- `OnBeforeIncludeOption(OptionLookupBuffer: Record "Option Lookup Buffer"; LookupType: Option; Option: Integer; var Handled: Boolean; var Result: Boolean; RecRef: RecordRef)` (integration)
- `OnBeforeFormatOption(FieldRef: FieldRef; var Result: Text[30]; var IsHandled: Boolean)` (integration)
- `OnCreateNewOnBeforeInsert(var OptionLookupBuffer: Record "Option Lookup Buffer"; OptionID: Integer; OptionText: Text[30]; LookupType: Enum "Option Lookup Type")` (integration)
- `OnFillBufferLookupTypeCase(LookupType: Enum "Option Lookup Type"; var IsHandled: Boolean; var TableNo: Integer; var FieldNo: Integer; var RelationFieldNo: Integer)` (integration)
- `OnAutoCompleteOptionLookupTypeCase(LookupType: Enum "Option Lookup Type"; var OptionType: Text[30]; var IsHandled: Boolean)` (integration)

## Procedures

- `FillLookupBuffer(LookupType: Enum "Option Lookup Type")`
- `AutoCompleteLookup(var OptionType: Text[30]; LookupType: Enum "Option Lookup Type"): Boolean`
- `ValidateOption(Option: Text[30])`
- `FormatOption(FieldRef: FieldRef): Text[30]`
- `SetCurrentType(LineType: Option " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)")`

Plus 3 local procedures.

## Relations

- lookup page [Page 1670 "Option Lookup List"](../page/1670.md)

## Pages and codeunits on this table

- [Page 1670 "Option Lookup List"](../page/1670.md) (source table)

## 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 9179 "Application Area Mgmt. Facade"](../codeunit/9179.md) (3 calls: `IncludeOption → IsFixedAssetEnabled`, `IncludeOption → IsItemChargesEnabled`, `IncludeOption → IsJobsEnabled`)

## Recent changes

- 2026-08-13 [#9947 Allow long localized sales and purchase line type captions](../../changes/bcapps/9947.md) (main, BC30, fix)

## Across versions

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

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: "table", object_name: "Option Lookup Buffer")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
