---
id: change/bcapps/9140
type: change
title: "#9140 Remap object IDs during Payment Management FR data"
summary: Payment Management FR now automatically remaps legacy report and xmlport IDs to their new equivalents when the app is activated, eliminating manual reconfiguration after upgrade.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit upgrade payment management fr
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:22.579Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 7697163f51241f3e87e4037712d9b935e65a0d6a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9140
    title: "microsoft/BCApps#9140: Remap object IDs during Payment Management FR data"
    date: "2026-07-15"
    commit: 7697163f51241f3e87e4037712d9b935e65a0d6a
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/10840-fr
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9140
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9140
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-15T15:35:08Z"
author: ventselartur
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 1
  additions: 65
  deletions: 0
  al: 1
apps:
  - PaymentManagementFR
objects_touched:
  - key: codeunit/10840
    page: codeunit/10840-fr
    type: codeunit
    id: 10840
    name: Upgrade Payment Management FR
    app: PaymentManagementFR
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 640642
systems:
  - finance
quote: null
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #9140 Remap object IDs during Payment Management FR data

> Payment Management FR now automatically remaps legacy report and xmlport IDs to their new equivalents when the app is activated, eliminating manual reconfiguration after upgrade.

[Pull request](https://github.com/microsoft/BCApps/pull/9140) · merged into `main` (BC30) on 2026-07-15 by ventselartur · 1 file (+65 -0), 1 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Added RemapPaymentStepObjectIDs() method to remap legacy report and xmlport IDs in Payment Step FR records during upgrade
- Built-in mapping covers standard Microsoft FR payment reports and xmlport, with zero values and unmapped IDs left untouched
- New OnAfterRemapPaymentStepObjectIDs integration event allows partners to remap custom reports and xmlports
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 10840 "Upgrade Payment Management FR"](../../objects/codeunit/10840-fr.md), PaymentManagementFR (FR layer): modified

## Context

- Work items: AB#640642
- Systems: finance

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).
