Fix AA0073: Add Temp prefix to temporary Record variables#7287
Open
Fix AA0073: Add Temp prefix to temporary Record variables#7287
Conversation
JesperSchulz
previously approved these changes
Mar 19, 2026
Rename 94 temporary Record variables across 47 files to comply with CodeCop rule AA0073 (temporary variable names must be prefixed with Temp). All affected variables reference tables defined with TableType = Temporary. The rename is purely cosmetic — no behavioral changes. Special cases: - AppSourceProductTemp -> TempAppSourceProduct (prefix instead of suffix) - AgentSetupBuffer local UserSettings -> TempFetchedUserSettings (avoid shadowing existing global TempUserSettings) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
22514f1 to
82e8c01
Compare
darjoo
approved these changes
Mar 20, 2026
blrobl
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes 94 CodeCop AA0073 violations across 47 files in System Application.
Rule AA0073: The name of temporary variable must be prefixed with Temp.
These variables reference tables defined with
TableType = Temporary, which makes every Record variable of that type inherently temporary — theTempprefix is required by naming convention.Changes
All changes are mechanical renames of local
Recordvariables by adding aTempprefix to the variable name. All usages within each procedure scope are updated accordingly.Examples:
EmailAccountstoTempEmailAccountsDefaultEmailAccounttoTempDefaultEmailAccountAppSourceProductTemptoTempAppSourceProduct(moved prefix to front)Scope
src/System Application/App/Fixes AB#626125