---
id: change/bcapps/9073
type: change
title: "#9073 Data Exchange Definition export performance improvement"
summary: Data Exchange Definition exports now use in-memory mapping with bulk saves and reuse FlowField calculations to significantly improve performance on large record sets, with no change to output format.
tier: official
language: en
tags:
  - performance
  - main
  - bc30
  - codeunit payment export mgt
  - codeunit export mapping
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:13:04.516Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: dc5a76e7fe5936013c1abb78dd0c710a9ff6279c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9073
    title: "microsoft/BCApps#9073: Data Exchange Definition export performance improvement"
    date: "2026-07-13"
    commit: dc5a76e7fe5936013c1abb78dd0c710a9ff6279c
    t: null
    quote: Eliminate per-row database writes and redundant work during export.
links:
  learn: []
  objects:
    - object/codeunit/1210
    - object/codeunit/1269
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9073
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9073
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-13T15:07:57Z"
author: VolodySyn
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
  - "Team: SCM"
change_class: code
change_kind: performance
behavior_change: false
breaking: false
files:
  count: 3
  additions: 251
  deletions: 5
  al: 3
apps:
  - Base Application
objects_touched:
  - key: codeunit/1210
    page: codeunit/1210
    type: codeunit
    id: 1210
    name: Payment Export Mgt
    app: Base Application
    status: modified
  - key: codeunit/1269
    page: codeunit/1269
    type: codeunit
    id: 1269
    name: Export Mapping
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/RU/BaseApp/Bank/Payment/PaymentExportMgt.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 633941
systems:
  - development
  - finance
quote: Eliminate per-row database writes and redundant work during export.
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #9073 Data Exchange Definition export performance improvement

> Data Exchange Definition exports now use in-memory mapping with bulk saves and reuse FlowField calculations to significantly improve performance on large record sets, with no change to output format.

[Pull request](https://github.com/microsoft/BCApps/pull/9073) · merged into `main` (BC30) on 2026-07-13 by VolodySyn · 3 files (+251 -5), 3 AL · performance · tier official · reviewed (checked by Opus)

## What changed

- Eliminates per-row database writes by building field values in memory first, then transferring to the persisted table in one bulk pass
- Reuses pre-aggregated FlowField values from the grouping buffer instead of recalculating per line
- Throttles progress dialog updates based on row count to reduce UI overhead on large exports

## AL objects touched

- [Codeunit 1210 "Payment Export Mgt"](../../objects/codeunit/1210.md), Base Application: modified
- [Codeunit 1269 "Export Mapping"](../../objects/codeunit/1269.md), Base Application: modified
- `src/Layers/RU/BaseApp/Bank/Payment/PaymentExportMgt.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#633941
- Labels: Team: Finance, Team: SCM
- Systems: development, finance
- From the description: "Eliminate per-row database writes and redundant work during export."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
