Skip to content

[Master] - Bug 646815 [Expense Agent] Obsolete country-specific demo data, consolidating into single W1 app - #10249

Open
v-rohangarg20 wants to merge 1 commit into
mainfrom
features/obsolete-country-expense-agent-demodata
Open

[Master] - Bug 646815 [Expense Agent] Obsolete country-specific demo data, consolidating into single W1 app#10249
v-rohangarg20 wants to merge 1 commit into
mainfrom
features/obsolete-country-expense-agent-demodata

Conversation

@v-rohangarg20

@v-rohangarg20 v-rohangarg20 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Workitem Bug 646815: [master] [Expense Agent] [Demo Data] Obsolete country-specific demo data, consolidating into single W1 app

Fixes AB#646815

Issue: After the Expense Agent demo data was consolidated into a single W1 app, the old country-specific demo data codeunits (AT, AU, CA, DE, DK, ES, FR, GB, NZ, US) were still present and active. Keeping them alongside the consolidated W1 demo data caused duplicated demo data generation and left dead, redundant objects in the country apps that needed a clean deprecation path before removal.

Cause: Each country still shipped its own set of Expense demo data codeunits — G/L accounts, posting groups, employee posting-group updates, expense categories/subcategories, rule headers/conditions, expenses, posted expense reports, and the Exp. Contoso Localization subscribers. These are now superseded by the single W1 app, but they cannot simply be deleted because external consumers may still reference them; they require a proper obsoletion window first.

Solution: Marked all country-specific Expense Agent demo data as obsolete (~101 files). Each codeunit is wrapped in #if not CLEAN29 / #endif so it compiles out under the CLEAN29 flag, and annotated with ObsoleteState = Pending, ObsoleteTag = '29.0', and ObsoleteReason = 'The country-specific Expense Agent demo data is being consolidated into a single app in W1 and will be removed in a future release.', with #pragma warning disable AL0432 where they reference other now-obsolete objects. Behavior is unchanged for non-CLEAN29 builds — the objects stay functional through the deprecation window and are excluded under CLEAN29, ready for full removal in a future release.

@github-actions github-actions Bot added the Finance GitHub request for Finance area label Aug 14, 2026
@v-rohangarg20 v-rohangarg20 changed the title [Master] - [Expense Agent] Obsolete country-specific demo data, consolidating into single W1 app [Master] - Bug 646815 [Expense Agent] Obsolete country-specific demo data, consolidating into single W1 app Aug 14, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Aug 14, 2026
@v-rohangarg20
v-rohangarg20 marked this pull request as ready for review August 15, 2026 07:15
@v-rohangarg20
v-rohangarg20 requested a review from a team August 15, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Finance GitHub request for Finance area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant