---
id: object/table/1227
type: object
title: Table 1227 "Data Exch. Line Def"
summary: Table 1227 "Data Exch. Line Def" in Base Application (System.IO). 8 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24.
tier: official
language: en
tags:
  - table
  - 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: 23cb00430d35cc3f78382395b412f70c8f8521ec575bd5e398a2565e01162fce
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/DataExchange/DataExchLineDef.Table.al
    title: src/Layers/W1/BaseApp/System/DataExchange/DataExchLineDef.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/across-how-to-set-up-data-exchange-definitions
    - https://learn.microsoft.com/dynamics365/business-central/payables-make-payments
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/manage-payables/make-payments
    - topic/business-central/business-functionality/general-business-functionality/exchange-data-electronically/exchange-data
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1227
name: Data Exch. Line Def
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"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 8
  procedures: 3
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 7
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 1227 "Data Exch. Line Def"

> Table 1227 "Data Exch. Line Def" in Base Application (System.IO). 8 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24.

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

Learn documents this table through its pages: [Page 1215 "Data Exch Line Def Part"](../page/1215.md) (1 Learn page), [Page 1227 "Pmt. Export Line Definitions"](../page/1227.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Data Exch. Line Def |
| 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 | Data Exch. Def Code | Code[20] | Specifies a code that identifies the data exchange definition. <small>via [Page 1212 "Data Exch Line Def Card"](../page/1212.md)</small> | TableRelation [Table 1222 "Data Exch. Def"](../table/1222.md) ("Data Exch. Def".Code); NotBlank |
| 2 | Code | Code[20] | Specifies the line in the file. <small>via [Page 1212 "Data Exch Line Def Card"](../page/1212.md)</small> | NotBlank |
| 3 | Name | Text[100] | Specifies the name of the mapping setup. <small>via [Page 1212 "Data Exch Line Def Card"](../page/1212.md)</small> |  |
| 4 | Column Count | Integer | Specifies how many columns the line in the bank statement file has. <small>via [Page 1212 "Data Exch Line Def Card"](../page/1212.md)</small> |  |
| 5 | Data Line Tag | Text[250] | Specifies the position in the related XML schema of the element that represents the main entry of the data file. <small>via [Page 1215 "Data Exch Line Def Part"](../page/1215.md)</small> |  |
| 6 | Namespace | Text[250] | Specifies the namespace (uniform resource name (urn)) for a target document that is expected in the file for validation. You can leave the field blank if you do not want to enable namespace validation. <small>via [Page 1212 "Data Exch Line Def Card"](../page/1212.md)</small> |  |
| 10 | Parent Code | Code[20] | Specifies the parent of the child that is specified in the Code field in cases where the data exchange setup is for files with parent and children entries, such as a document header and lines. <small>via [Page 1215 "Data Exch Line Def Part"](../page/1215.md)</small> | TableRelation [Table 1227 "Data Exch. Line Def"](../table/1227.md) ("Data Exch. Line Def".Code where("Data Exch. Def Code" = field("Data Exch. Def Code"))) |
| 11 | Line Type | Option | Specifies the type of the line in the file. <small>via [Page 1215 "Data Exch Line Def Part"](../page/1215.md)</small> | OptionCaption: Detail,Header,Footer |

## Keys

- Key1: Data Exch. Def Code, Code (clustered)
- Key2: Data Exch. Def Code, Parent Code
- Key3: Data Line Tag

## Procedures

- `InsertRec(DataExchDefCode: Code[20]; NewCode: Code[20]; NewName: Text[100]; ColumnCount: Integer)`
- `ValidateNamespace(XMLNode: DotNet XmlNode)`
- `GetPath(TableId: Integer; FieldId: Integer): Text`

## Triggers

OnDelete

## Relations

- Data Exch. Def Code: TableRelation [Table 1222 "Data Exch. Def"](../table/1222.md)
- Parent Code: TableRelation [Table 1227 "Data Exch. Line Def"](../table/1227.md)

## Referenced by

7 fields in 7 objects relate to this table (TableRelation or CalcFormula).

- [Table 1220 "Data Exch."](../table/1220.md): Data Exch. Line Def Code
- [Table 1221 "Data Exch. Field"](../table/1221.md): Data Exch. Line Def Code
- [Table 1223 "Data Exch. Column Def"](../table/1223.md): Data Exch. Line Def Code
- [Table 1224 "Data Exch. Mapping"](../table/1224.md): Data Exch. Line Def Code
- [Table 1225 "Data Exch. Field Mapping"](../table/1225.md): Data Exch. Line Def Code
- [Table 1227 "Data Exch. Line Def"](../table/1227.md): Parent Code
- [Table 1238 "Data Exch. Field Grouping"](../table/1238.md): Data Exch. Line Def Code

## Pages and codeunits on this table

- [Page 1212 "Data Exch Line Def Card"](../page/1212.md) (source table)
- [Page 1215 "Data Exch Line Def Part"](../page/1215.md) (source table)
- [Page 1227 "Pmt. Export Line Definitions"](../page/1227.md) (source table)

## 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). 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: "Data Exch. Line Def")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
