Commit d6fc6f5
authored
Bug 624745: [Quality Management] Quality Management Setup. Quality Inspection Selection Criteria - default value (#7616)
## 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](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/624745)1 parent 80a0efb commit d6fc6f5
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
0 commit comments