Skip to content

PTE Build Signatures fix modify error - #94

Open
PropmanProphecy wants to merge 1 commit into
mainfrom
PTE-Build-Signatures-fix-modify-error
Open

PTE Build Signatures fix modify error#94
PropmanProphecy wants to merge 1 commit into
mainfrom
PTE-Build-Signatures-fix-modify-error

Conversation

@PropmanProphecy

Copy link
Copy Markdown
Contributor

No description provided.

@PropmanProphecy
PropmanProphecy requested a review from a team as a code owner September 1, 2026 10:13
@PropmanProphecy PropmanProphecy self-assigned this Sep 1, 2026
@PropmanProphecy
PropmanProphecy requested review from Tomshoej and a lite review from Copilot September 1, 2026 10:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR adjusts how the “last signature” temporary record is persisted during signature building, aiming to avoid a Modify() error during the swap/update logic.

Changes:

  • Replaces LastSignatureTMP.Modify(); with an if LastSignatureTMP.Modify() then; call to suppress modify failures.
File summaries
File Description
BuildSignatures/PTEBuildSignatures.CodeUnit.al Updates how the temporary “last signature” record is modified during signature ordering logic.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

LastSignatureTMP."Assembly Order" := AssemblyOrder;
LastSignatureTMP.Indent := Indentation;
LastSignatureTMP.Modify();
if LastSignatureTMP.Modify() then;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants