Skip to content

Commit d6fc6f5

Browse files
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

File tree

src/Apps/W1/Quality Management/app/src/Setup/QltyManagementSetup.Table.al

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ table 20400 "Qlty. Management Setup"
106106
{
107107
Caption = 'Quality Inspection Selection Criteria';
108108
ToolTip = 'Specifies the checks the system uses to decide if a document-specific transaction should be blocked.';
109+
InitValue = "Only the newest inspection/re-inspection";
109110
}
110111
field(29; "Warehouse Trigger"; Enum "Qlty. Warehouse Trigger")
111112
{

0 commit comments

Comments
 (0)