Codeunit 20406 "Qlty. Permission Mgmt."
Quality Management · Microsoft.QualityManagement.AccessControl
Across versions
- BC23-28not present
- BC29present
- BC30changed
Neighbourhood 8 connected objects and pages
Quality Management · Microsoft.QualityManagement.AccessControl · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
VerifyCanCreateManualInspection()(internal): Verifies the current user can create a manual inspection. Throws an error if not permitted.VerifyCanCreateReinspection()(internal): Verifies the current user can create a re-inspection. Throws an error if not permitted.VerifyCanChangeOtherInspections()(internal): Verifies the current user can change other users’ inspections. Throws an error if not permitted.CanChangeOtherInspections(): Boolean(internal): Checks if the current user can change other users’ inspections.VerifyCanFinishInspection()(internal): Verifies the current user can finish an inspection. Throws an error if not permitted.CanFinishInspection(): Boolean(internal): Checks if the current user can finish an inspection.VerifyCanReopenInspection()(internal): Verifies the current user can reopen an inspection. Throws an error if not permitted.VerifyCanDeleteOpenInspection()(internal): Verifies the current user can delete an open inspection. Throws an error if not permitted.VerifyCanDeleteFinishedInspection()(internal): Verifies the current user can delete a finished inspection. Throws an error if not permitted.CanDeleteFinishedInspection(): Boolean(internal): Checks if the current user can delete a finished inspection.VerifyCanChangeItemTracking()(internal): Verifies the current user can change item tracking on an inspection. Throws an error if not permitted.CanChangeItemTracking(): Boolean(internal): Checks if the current user can change the item tracking on an inspection.VerifyCanChangeSourceQuantity()(internal): Verifies the current user can change the source quantity. Throws an error if not permitted.CanChangeSourceQuantity(): Boolean(internal): Checks if the current user can change the source quantity on an inspection.VerifyCanEditLineComments()(internal): Verifies the current user can edit line comments. Throws an error if not permitted.CanEditLineComments(): Boolean(internal): Checks if the current user can edit line notes and comments.GetShouldAutoAssign(var ShouldPrompt: Boolean): Boolean(internal): Determines whether the current user can assign an inspection to themselves and whether to prompt before assignment.
Plus 6 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 152 “User Permissions” (5 calls:
CanDeleteTableData → GetEffectivePermission,CanInsertTableData → GetEffectivePermission,CanModifyTableData → GetEffectivePermission, …)
Called by
- Table 20405 “Qlty. Inspection Header” (9 calls:
AssignToSelf → VerifyCanChangeOtherInspections,AssistEditLotNo → VerifyCanChangeItemTracking,AssistEditPackageNo → VerifyCanChangeItemTracking, …) - Page 20406 “Qlty. Inspection” (2 calls:
UpdateControlVisibilityStates → CanChangeItemTracking,UpdateControlVisibilityStates → CanChangeSourceQuantity) - Page 20407 “Qlty. Inspection Subform” (1 call:
OnOpenPage → CanEditLineComments) - Page 20408 “Qlty. Inspection List” (1 call:
OnAfterGetCurrRecord → CanChangeOtherInspections) - Page 20413 “Qlty. Inspection Lines” (1 call:
OnOpenPage → CanEditLineComments) - Report 20400 “Qlty. Create Inspection” (1 call:
AssistEditChooseRecord → CanChangeSourceQuantity) - Table 20406 “Qlty. Inspection Line” (1 call:
SetMeasurementNote → VerifyCanEditLineComments)
Recent changes
- 2026-10-05 #11129 [Quality Management] Refactor permission management (main, BC30, refactor)
- 2026-08-20 #10270 [Quality Management] Repair and improve XML documentation of procedures (main, BC30, refactor)
- 2026-08-17 #10065 [Quality Management] Quality Inspection User assignment fixes (main, BC30, fix)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Qlty. Permission Mgmt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.