---
title: "Codeunit 1262 Pre & Post Process XML Import"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1262-pre-post-process-xml-import/
type: codeunit
id: 1262
name: "Pre & Post Process XML Import"
app: "Base Application"
namespace: System.IO
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1262-pre-post-process-xml-import/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 1262 Pre & Post Process XML Import

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1262-pre-post-process-xml-import/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.IO |
| Versions | 17-28 |
| Source file | System/DataExchange/PrePostProcessXMLImport.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| PostProcessStatementDate | (Record Data Exch., var RecordRef, Integer, Text) | - | public | 17-28 | - | - |
| PostProcessStatementEndingBalance | (Record Data Exch., var RecordRef, Integer, Text, Text, Text, Text, Integer) | - | public | 17-28 | - | - |
| PreProcessBankAccount | (Record Data Exch., Code[20], Text, Text, Text) | - | public | 17-28 | - | - |
| PreProcessGLAccount | (Record Data Exch., var Record Gen. Journal Line, Text) | - | public | 17-28 | - | - |
| PreProcessFile | (Record Data Exch., Text) | - | public | 17-28 | - | - |
| HasDataExchFieldValue | (var Query Data Exch. Field Details, Integer, Text) | Boolean | public | 17-28 | - | - |
| SetValueFromDataExchField | (var Query Data Exch. Field Details, Record Data Exch., Text, Text, RecordRef, Integer) | Boolean | public | 20-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnCheckBankAccNo | (var Boolean, var Boolean, Query Data Exch. Field Details, Record Bank Account) | 19-28 | - | - |
| Integration event | OnBeforePreProcessBankAccount | (Record Data Exch., Code[20], Text, Text, Text, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforePreProcessFile | (Record Data Exch., Text, var Boolean) | 21-28 | - | - |
| Integration event | OnPreProcessGLAccountOnBeforeConfirm | (Record Data Exch., Query Data Exch. Field Details, Record Gen. Journal Line, Text, var Boolean, var Boolean) | 22-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
