Skip to content

Rename TempCustomMigrationTableBuffer back to CustomMigrationTableBuffer - #9700

Merged
gggdttt merged 1 commit into
mainfrom
wenjiefan/bc14-fix-custommigrationbuffer-name
Jul 27, 2026
Merged

Rename TempCustomMigrationTableBuffer back to CustomMigrationTableBuffer#9700
gggdttt merged 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
@aholstrup1 aholstrup1 closed this Jul 27, 2026
auto-merge was automatically disabled July 27, 2026 08:00

Pull request was closed

@aholstrup1 aholstrup1 reopened this Jul 27, 2026
@gggdttt
gggdttt enabled auto-merge July 27, 2026 09:18
@gggdttt
gggdttt added this pull request to the merge queue Jul 27, 2026
Merged via the queue into main with commit 85665cc Jul 27, 2026
574 of 1036 checks passed
@gggdttt
gggdttt deleted the wenjiefan/bc14-fix-custommigrationbuffer-name branch July 27, 2026 19:33
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.

4 participants