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

# Table 1234 "CSV Buffer"

> Table 1234 "CSV Buffer" in Base Application (System.IO). 3 fields, 23 public procedures. Present since at least BC23, still in BC30, changed in BC24-25.

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

## Properties

| Property | Value |
|---|---|
| Caption | CSV Buffer |
| 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 | Line No. | Integer | — | DataClassification SystemMetadata |
| 2 | Field No. | Integer | — | DataClassification SystemMetadata |
| 3 | Value | Text[250] | — | DataClassification SystemMetadata |

## Keys

- Key1: Line No., Field No. (clustered)

## Procedures

- `InsertEntry(LineNo: Integer; FieldNo: Integer; FieldValue: Text[250])`: Inserts an entry to the record.
- `LoadData(CSVFileName: Text; CSVFieldSeparator: Text[1]; CSVCharactersToTrim: Text)`: Loads data from a file.
- `LoadData(CSVFileName: Text; CSVFieldSeparator: Text[1])`: Loads data from a file.
- `LoadDataFromStream(CSVInStream: InStream; CSVFieldSeparator: Text[1]; CSVCharactersToTrim: Text)`: Loads data from a stream.
- `LoadDataFromStream(CSVInStream: InStream; CSVFieldSeparator: Text[1])`: Loads data from a stream.
- `SaveData(CSVFileName: Text; CSVFieldSeparator: Text[1])`: Saves the data stored in the record to a file.
- `SaveDataToBlob(var TempBlob: Codeunit "Temp Blob"; CSVFieldSeparator: Text[1])`: Saves the data stored in the record to a BLOB.
- `InitializeReader(CSVFileName: Text; CSVFieldSeparator: Text[1])`: Initializes the CSV buffer.
- `InitializeReader(CSVFileName: Text; CSVFieldSeparator: Text[1]; CSVCharactersToTrim: Text)`: Initializes the CSV buffer.
- `InitializeReader(CSVFileName: Text; CSVFieldSeparator: Text[1]; CSVCharactersToTrim: Text; Encoding: DotNet Encoding)`: Initializes the CSV buffer.
- `InitializeReaderFromStream(CSVInStream: InStream; CSVFieldSeparator: Text[1]; CSVCharactersToTrim: Text)`: Initializes the CSV buffer.
- `InitializeReaderFromStream(CSVInStream: InStream; CSVFieldSeparator: Text[1])`: Initializes the CSV buffer.
- `LoadDataFromStream(CSVInStream: InStream; CSVFieldSeparator: Text[1]; EncodingCodePage: Integer)`: Loads data from a stream.
- `LoadDataFromStream(CSVInStream: InStream; CSVFieldSeparator: Text[1]; CSVCharactersToTrim: Text; EncodingCodePage: Integer)`: Loads data from a stream.
- `InitializeReaderFromStream(CSVInStream: InStream; CSVFieldSeparator: Text[1]; CSVCharactersToTrim: Text; EncodingCodePage: Integer)`: Initializes the CSV buffer.
- `ReadLines(NumberOfLines: Integer): Boolean`: Populated the CSV buffer with entries.
- `ResetFilters()`: Resets the filters on the record.
- `GetValue(LineNo: Integer; FieldNo: Integer): Text[250]`: Gets a value from the record.
- `GetCSVLinesWhere(FilterFieldNo: Integer; FilterValue: Text; var TempResultCSVBuffer: Record "CSV Buffer" temporary)`: Gets all the lines that contain a specific value on a specific field/position.
- `GetValueOfLineAt(FieldNo: Integer): Text[250]`: Gets the value on the current line with a specific field number (or position).
- `GetValueOfLineAt(FieldNo: Integer; AcceptNonExisting: Boolean): Text[250]`: Gets the value on the current line with a specific field number (or position).
- `GetNumberOfColumns(): Integer`: Gets the number of columns store in the record.
- `GetNumberOfLines(): Integer`: Gets the number of lines stored in the record.

Plus 1 local procedures.

## 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 4100 "Temp Blob"](../codeunit/4100.md) (1 call: `SaveDataToBlob → CreateOutStream`)
- [Codeunit 419 "File Management"](../codeunit/419.md) (1 call: `SaveData → IsAllowedPath`)

## Across versions

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

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