Skip to content

Bugs/632378 make quality inspection gen rule warning actionable#7938

Open
6CRIPT wants to merge 21 commits into
mainfrom
bugs/632378-make-quality-inspection-gen-rule-warning-actionable
Open

Bugs/632378 make quality inspection gen rule warning actionable#7938
6CRIPT wants to merge 21 commits into
mainfrom
bugs/632378-make-quality-inspection-gen-rule-warning-actionable

Conversation

@6CRIPT

@6CRIPT 6CRIPT commented May 1, 2026

Copy link
Copy Markdown
Contributor

Fixes AB#632378

@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label May 1, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone May 1, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

AL Documentation Audit

Documentation gaps were detected in the following apps:

  • Quality-Management: 88% documentation coverage

To generate documentation, run /al-docs init or /al-docs update using GitHub Copilot CLI or Claude Code.
This review is for awareness to help keep documentation in sync with code changes. It is okay to dismiss this request.

@6CRIPT

6CRIPT commented May 12, 2026

Copy link
Copy Markdown
Contributor Author

Right now, the state of the PR, when choosing a template with no valid gen rules:
image
when clicking yes, the gen rules page shows up, where the user can create a new gen rule. this page indicates with a red asterix that a table is required.
image

If the user tries to create a gen rule without a table, the page throws an error:

image

So the user needs to choose a table for then gen rules.

@6CRIPT 6CRIPT marked this pull request as ready for review May 12, 2026 11:43
@6CRIPT 6CRIPT requested a review from a team as a code owner May 12, 2026 11:43
@6CRIPT 6CRIPT requested a review from spetersenms May 12, 2026 11:43
@6CRIPT 6CRIPT enabled auto-merge (squash) May 12, 2026 11:43
@6CRIPT

6CRIPT commented May 12, 2026

Copy link
Copy Markdown
Contributor Author

Also, during the process of this fix, I faced these errors not related with this PR:

`Compilation started for project 'Quality Management' containing '215' files at '11:47:09.863'.

c:\depot\NAV\App\BCApps\src\Apps\W1\Quality Management\app\src\Dispositions\InventoryAdjustment\QltyDispNegAdjustInv.Codeunit.al(65,24): error AL0920: The method 'PerformDisposition' cannot be used as the implementation for the interface method 'Qlty. Disposition.PerformDisposition' because it is not public. This warning will become an error when targeting a runtime with version '19.0' or higher.
c:\depot\NAV\App\BCApps\src\Apps\W1\Quality Management\app\src\Dispositions\Move\QltyDispMoveAutoChoose.Codeunit.al(38,24): error AL0920: The method 'PerformDisposition' cannot be used as the implementation for the interface method 'Qlty. Disposition.PerformDisposition' because it is not public. This warning will become an error when targeting a runtime with version '19.0' or higher.
c:\depot\NAV\App\BCApps\src\Apps\W1\Quality Management\app\src\Dispositions\Move\QltyDispInternalMove.Codeunit.al(27,24): error AL0920: The method 'PerformDisposition' cannot be used as the implementation for the interface method 'Qlty. Disposition.PerformDisposition' because it is not public. This warning will become an error when targeting a runtime with version '19.0' or higher.
c:\depot\NAV\App\BCApps\src\Apps\W1\Quality Management\app\src\Dispositions\Move\QltyDispMoveWhseReclass.Codeunit.al(23,24): error AL0920: The method 'PerformDisposition' cannot be used as the implementation for the interface method 'Qlty. Disposition.PerformDisposition' because it is not public. This warning will become an error when targeting a runtime with version '19.0' or higher.
c:\depot\NAV\App\BCApps\src\Apps\W1\Quality Management\app\src\Dispositions\Move\QltyDispMoveItemReclass.Codeunit.al(23,24): error AL0920: The method 'PerformDisposition' cannot be used as the implementation for the interface method 'Qlty. Disposition.PerformDisposition' because it is not public. This warning will become an error when targeting a runtime with version '19.0' or higher.
c:\depot\NAV\App\BCApps\src\Apps\W1\Quality Management\app\src\Dispositions\Move\QltyDispMoveWorksheet.Codeunit.al(33,24): error AL0920: The method 'PerformDisposition' cannot be used as the implementation for the interface method 'Qlty. Disposition.PerformDisposition' because it is not public. This warning will become an error when targeting a runtime with version '19.0' or higher.
c:\depot\NAV\App\BCApps\src\Apps\W1\Quality Management\app\src\Dispositions\ItemTracking\QltyDispChangeTracking.Codeunit.al(37,24): error AL0920: The method 'PerformDisposition' cannot be used as the implementation for the interface method 'Qlty. Disposition.PerformDisposition' because it is not public. This warning will become an error when targeting a runtime with version '19.0' or higher.
c:\depot\NAV\App\BCApps\src\Apps\W1\Quality Management\app\src\Dispositions\Transfer\QltyDispTransfer.Codeunit.al(54,24): error AL0920: The method 'PerformDisposition' cannot be used as the implementation for the interface method 'Qlty. Disposition.PerformDisposition' because it is not public. This warning will become an error when targeting a runtime with version '19.0' or higher.

Compilation ended at '11:47:10.573'.

Error: The package could not be created.`

I simply replaced those internal procedures for public ones. However I did not commit those changes because they are not related tothe PR. Lets see whether the tests pass regardless.

6CRIPT and others added 5 commits May 19, 2026 11:40
…able for the gen rule, another error will be thrown telling the user that he needs to navigate back to gen inspection rules

Co-authored-by: Copilot <copilot@github.com>
…es a valid source but without a source table assigned, then BC throws the error but giving the user the option to navigate directly to the gen rules page instead
@6CRIPT 6CRIPT force-pushed the bugs/632378-make-quality-inspection-gen-rule-warning-actionable branch from 57c683c to d8bba87 Compare May 19, 2026 09:40
@6CRIPT

6CRIPT commented May 19, 2026

Copy link
Copy Markdown
Contributor Author

Changes from main pulled to see whether tests pass or not now.

6CRIPT and others added 4 commits May 26, 2026 13:58
… field as editable, and it shouldn't. also reverted some changes that were made to achieve the red asterix that are no longer necessary.
@github-actions

This comment was marked as resolved.

Comment thread src/Apps/W1/Quality Management/app/src/Document/QltyCreateInspection.Report.al Outdated
@6CRIPT 6CRIPT self-assigned this Jun 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Stale Status Check Deleted

The Pull Request Build workflow run for this PR was older than 72 hours and has been deleted.

📋 Why was it deleted?

Status checks that are too old may no longer reflect the current state of the target branch. To ensure this PR is validated against the latest code and passes up-to-date checks, a fresh build is required.


🔄 How to trigger a new status check:

  1. 📤 Push a new commit to the PR branch, or
  2. 🔁 Close and reopen the PR

This will automatically trigger a new Pull Request Build workflow run.

@6CRIPT 6CRIPT closed this Jun 15, 2026
auto-merge was automatically disabled June 15, 2026 11:26

Pull request was closed

@6CRIPT 6CRIPT reopened this Jun 15, 2026
@6CRIPT 6CRIPT enabled auto-merge (squash) June 15, 2026 11:29
@github-actions

This comment was marked as duplicate.

@github-actions

This comment was marked as duplicate.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as duplicate.

@github-actions

This comment was marked as duplicate.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Stale Status Check Deleted

The Pull Request Build workflow run for this PR was older than 72 hours and has been deleted.

📋 Why was it deleted?

Status checks that are too old may no longer reflect the current state of the target branch. To ensure this PR is validated against the latest code and passes up-to-date checks, a fresh build is required.


🔄 How to trigger a new status check:

  1. 📤 Push a new commit to the PR branch, or
  2. 🔁 Close and reopen the PR

This will automatically trigger a new Pull Request Build workflow run.

@6CRIPT 6CRIPT closed this Jun 22, 2026
auto-merge was automatically disabled June 22, 2026 06:18

Pull request was closed

@6CRIPT 6CRIPT reopened this Jun 22, 2026
@github-actions

This comment was marked as low quality.

@6CRIPT 6CRIPT enabled auto-merge (squash) June 23, 2026 12:32
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Stale Status Check Deleted

The Pull Request Build workflow run for this PR was older than 72 hours and has been deleted.

📋 Why was it deleted?

Status checks that are too old may no longer reflect the current state of the target branch. To ensure this PR is validated against the latest code and passes up-to-date checks, a fresh build is required.


🔄 How to trigger a new status check:

  1. 📤 Push a new commit to the PR branch, or
  2. 🔁 Close and reopen the PR

This will automatically trigger a new Pull Request Build workflow run.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants