---
id: change/bcapps/10604
type: change
title: "#10604 [Main]-export/import of a report definition fails if the statuses in the originating company do not exist in the destination company"
summary: Financial report and row definitions now import successfully between companies even when the status codes do not exist in the destination company. The import process clears missing status references before applying the package, allowing the definitions to be imported with empty status fields.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table acc. schedule name
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:03.214Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 084d90dea19fe0deebbb9a241c199b61c0bf4ca1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10604
    title: "microsoft/BCApps#10604: [Main]-export/import of a report definition fails if the statuses in the originating company do not exist in the destination company"
    date: "2026-08-31"
    commit: 084d90dea19fe0deebbb9a241c199b61c0bf4ca1
    t: null
    quote: export/import of a report definition fails if the statuses in the originating company do not exist in the destination company
links:
  learn: []
  objects:
    - object/table/84
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10604
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10604
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-31T10:37:00Z"
author: DhavalMore88
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 10
  additions: 808
  deletions: 0
  al: 4
apps:
  - Base Application
objects_touched:
  - key: table/84
    page: table/84
    type: table
    id: 84
    name: Acc. Schedule Name
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 641481
systems:
  - finance
quote: export/import of a report definition fails if the statuses in the originating company do not exist in the destination company
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10604 [Main]-export/import of a report definition fails if the statuses in the originating company do not exist in the destination company

> Financial report and row definitions now import successfully between companies even when the status codes do not exist in the destination company. The import process clears missing status references before applying the package, allowing the definitions to be imported with empty status fields.

[Pull request](https://github.com/microsoft/BCApps/pull/10604) · merged into `main` (BC30) on 2026-08-31 by DhavalMore88 (community contribution) · 10 files (+808 -0), 4 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Added ClearNonExistingStatusInPackage procedure to handle missing status codes during import
- Prevents RapidStart package validation errors when status values don't exist in destination company
- Clears non-matching status references while keeping row definitions and their lines intact
- Users can manually set status after import completes
- Added test coverage for missing statuses in multiple localizations (W1, APAC, CZ, ES, RU, SE)
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 84 "Acc. Schedule Name"](../../objects/table/84.md), Base Application: modified

## Context

- Work items: AB#641481
- Labels: ADO: Sync, From Fork, Team: Finance
- Systems: finance
- From the description: "export/import of a report definition fails if the statuses in the originating company do not exist in the destination company"

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