Skip to content

Rename TempCustomMigrationTableBuffer back to CustomMigrationTableBuffer#9700

Open
gggdttt wants to merge 1 commit into
mainfrom
wenjiefan/bc14-fix-custommigrationbuffer-name
Open

Rename TempCustomMigrationTableBuffer back to CustomMigrationTableBuffer#9700
gggdttt wants to merge 1 commit into
mainfrom
wenjiefan/bc14-fix-custommigrationbuffer-name

Conversation

@gggdttt

@gggdttt gggdttt commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Renames TempCustomMigrationTableBuffer back to CustomMigrationTableBuffer in AddCustomMigrationMapping.Page.al (declaration + both call sites).

Why

The variable is only a handle used to call SaveMigrationTableMapping — its own fields are never read or written; the method persists to the Migration Setup Table Mapping / Replication Table Mapping tables. PR #9200 renamed it to TempCustomMigrationTableBuffer, which is misleading (it isn't used as a data buffer) and trips AA0237 ("non temporary variables must not be prefixed with Temp") under stricter rulesets — e.g. the NAV build, where AA0237 is an error rather than a warning.

This restores the pre-#9200 name, keeping main consistent with the NAV 28.x backport and PR #9663.

Risk

None — the change is naming-only and behavior-preserving.

AB#642621

The variable is only a handle to call SaveMigrationTableMapping (its fields are never read/written; the method persists to Migration Setup / Replication Table Mapping). PR #9200 renamed it to TempCustomMigrationTableBuffer, which is misleading and trips AA0237 under stricter rulesets (e.g. NAV). Restores the pre-#9200 name, matching the NAV 28.x backport and PR #9663.
@github-actions github-actions Bot added AL: Apps (W1) Add-on apps for W1 Integration GitHub request for Integration area labels Jul 23, 2026
@gggdttt
gggdttt marked this pull request as ready for review July 23, 2026 14:38
@gggdttt
gggdttt requested a review from a team July 23, 2026 14:38
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 23, 2026
@gggdttt
gggdttt enabled auto-merge July 23, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 Integration GitHub request for Integration area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants