---
id: object/codeunit/379
type: object
title: Codeunit 379 "Transfer Old Ext. Text Lines"
summary: Codeunit 379 "Transfer Old Ext. Text Lines" in Base Application (Microsoft.Foundation.ExtendedText). 4 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC26.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "26"
  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: 587e7de82ed30c5f2a6bdb551d4635f8a99889e1ebf1c8885c9f121ba78e3e49
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/ExtendedText/TransferOldExtTextLines.Codeunit.al
    title: src/Layers/W1/BaseApp/Foundation/ExtendedText/TransferOldExtTextLines.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 379
name: Transfer Old Ext. Text Lines
namespace: Microsoft.Foundation.ExtendedText
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "26"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 6
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 7
  implements: 0
---

# Codeunit 379 "Transfer Old Ext. Text Lines"

> Codeunit 379 "Transfer Old Ext. Text Lines" in Base Application (Microsoft.Foundation.ExtendedText). 4 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC26.

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

## Events published

- `OnBeforeTransferExtendedText(OldLineNo: Integer; NewLineNo: Integer; AttachedLineNo: Integer; var Result: Integer; var IsHandled: Boolean)` (integration)

## Procedures

- `GetNewLineNumber(OldLineNo: Integer): Integer`
- `ClearLineNumbers()`
- `TransferExtendedText(OldLineNo: Integer; NewLineNo: Integer; AttachedLineNo: Integer): Integer`
- `GetLineNoBuffer(var OutTempLineNumberBuffer: Record "Line Number Buffer" temporary)`

Plus 1 local procedures.

## Triggers

OnRun

## Called by

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 6620 "Copy Document Mgt."](../codeunit/6620.md) (13 calls: `CopyArchPurchLine → TransferExtendedText`, `CopyArchSalesLine → TransferExtendedText`, `CopyPurchCrMemoLinesToDoc → ClearLineNumbers`, …)
- [Table 111 "Sales Shipment Line"](../table/111.md) (3 calls: `InsertInvLineFromShptLine → ClearLineNumbers`, `InsertInvLineFromShptLine → GetNewLineNumber`, `InsertInvLineFromShptLine → TransferExtendedText`)
- [Table 121 "Purch. Rcpt. Line"](../table/121.md) (3 calls: `InsertInvLineFromRcptLine → ClearLineNumbers`, `InsertInvLineFromRcptLine → GetNewLineNumber`, `InsertInvLineFromRcptLine → TransferExtendedText`)
- [Table 5991 "Service Shipment Line"](../table/5991.md) (3 calls: `InsertInvLineFromShptLine → ClearLineNumbers`, `InsertInvLineFromShptLine → GetNewLineNumber`, `InsertInvLineFromShptLine → TransferExtendedText`)
- [Table 6651 "Return Shipment Line"](../table/6651.md) (3 calls: `InsertInvLineFromRetShptLine → ClearLineNumbers`, `InsertInvLineFromRetShptLine → GetNewLineNumber`, `InsertInvLineFromRetShptLine → TransferExtendedText`)
- [Table 6661 "Return Receipt Line"](../table/6661.md) (3 calls: `InsertInvLineFromRetRcptLine → ClearLineNumbers`, `InsertInvLineFromRetRcptLine → GetNewLineNumber`, `InsertInvLineFromRetRcptLine → TransferExtendedText`)
- [Codeunit 5857 "Copy Invt. Document Mgt."](../codeunit/5857.md) (1 call: `CopyItemDoc → ClearLineNumbers`)

## Across versions

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

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: "codeunit", object_name: "Transfer Old Ext. Text Lines")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
