Skip to content

Bug 624745: [Quality Management] Quality Management Setup. Quality Inspection Selection Criteria - default value#7616

Open
alexei-dobriansky wants to merge 1 commit intomainfrom
bugs/624745-DefaultQltyInspectionSelectionCriteria
Open

Bug 624745: [Quality Management] Quality Management Setup. Quality Inspection Selection Criteria - default value#7616
alexei-dobriansky wants to merge 1 commit intomainfrom
bugs/624745-DefaultQltyInspectionSelectionCriteria

Conversation

@alexei-dobriansky
Copy link
Copy Markdown
Contributor

@alexei-dobriansky alexei-dobriansky commented Apr 9, 2026

Summary

  • Set the default value of "Quality Inspection Selection Criteria" in Quality Management Setup to "Only the newest inspection/re-inspection"

Details

Previously, the field defaulted to "Any inspection that matches" (enum value 0), which caused the system to evaluate all inspections for an item/lot when deciding whether to block a transaction. This meant that even after a successful re-inspection, a prior failed inspection would still block transactions.

With this change, new setups will default to considering only the most recent inspection/re-inspection, so a passing re-inspection correctly overrides a previous failure.

File changed: app/src/Setup/QltyManagementSetup.Table.al — added InitValue = "Only the newest inspection/re-inspection" to the "Inspection Selection Criteria" field.

Note: This only affects newly created setup records. Existing environments retain their current setting.

Fixes AB#624745

@alexei-dobriansky alexei-dobriansky self-assigned this Apr 9, 2026
@alexei-dobriansky alexei-dobriansky requested a review from a team as a code owner April 9, 2026 12:15
@github-actions github-actions bot added the AL: Apps (W1) Add-on apps for W1 label Apr 9, 2026
@github-actions github-actions bot added this to the Version 29.0 milestone Apr 9, 2026
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

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: 0% 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.

@alexei-dobriansky alexei-dobriansky enabled auto-merge (squash) April 10, 2026 12:34
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.

2 participants