Skip to content

Declare TempCustomMigrationTableBuffer as temporary#9699

Closed
gggdttt wants to merge 1 commit into
mainfrom
wenjiefan/bc14-aa0237-temporary-sync
Closed

Declare TempCustomMigrationTableBuffer as temporary#9699
gggdttt wants to merge 1 commit into
mainfrom
wenjiefan/bc14-aa0237-temporary-sync

Conversation

@gggdttt

@gggdttt gggdttt commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Declares TempCustomMigrationTableBuffer as temporary in AddCustomMigrationMapping.Page.al.

Why

This keeps main in sync with the NAV 28.x backport of the BC14 cloud migration fixes (PR #9200). On NAV 28.x, the build ruleset (app.ruleset.json, generalAction: Error) promotes AA0237"The name of non temporary variables must not be prefixed with Temp" — to a build-breaking error, whereas the BCApps build treats it as a warning. Adding the keyword there was required to build; this PR applies the same change on main so the two branches don't diverge.

Risk

None. The backing table Custom Migration Table Buffer (40035) is already TableType = Temporary, so the temporary keyword is runtime-redundant and behavior-preserving.

Keeps AddCustomMigrationMapping in sync with the NAV 28.x backport and satisfies AA0237 under stricter rulesets. The backing table (Custom Migration Table Buffer) is TableType=Temporary, so the keyword is runtime-redundant and behavior-preserving.
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label Jul 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Could not find a linked ADO work item. Please link one by using the pattern 'AB#' followed by the relevant work item number. You may use the 'Fixes' keyword to automatically resolve the work item when the pull request is merged. E.g. 'Fixes AB#1234'

@github-actions github-actions Bot added the Integration GitHub request for Integration area label Jul 23, 2026
@gggdttt gggdttt closed this Jul 23, 2026
@gggdttt
gggdttt deleted the wenjiefan/bc14-aa0237-temporary-sync branch July 23, 2026 14:27
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.

1 participant