---
id: object/codeunit/5931
type: object
title: Codeunit 5931 "Resource Skill Mgt."
summary: Codeunit 5931 "Resource Skill Mgt." in Base Application (Microsoft.Service.Resources). 15 public procedures, 4 events. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 260af554db9277bc3ba7f8e894822b57f4eab5283c3e2a1d577e1f1b8fc5dbe0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Resources/ResourceSkillMgt.Codeunit.al
    title: src/Layers/W1/BaseApp/Service/Resources/ResourceSkillMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 5931
name: Resource Skill Mgt.
namespace: Microsoft.Service.Resources
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 37
  events: 4
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 7
  implements: 0
---

# Codeunit 5931 "Resource Skill Mgt."

> Codeunit 5931 "Resource Skill Mgt." in Base Application (Microsoft.Service.Resources). 15 public procedures, 4 events. Present since at least BC23, still in BC30.

Base Application · Microsoft.Service.Resources · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Resources/ResourceSkillMgt.Codeunit.al) · facts from BC29

## Events published

- `OnUnifyResSkillCodeOnBeforeInsert(var NewResourceSkill: Record "Resource Skill"; var UnifiedResourceSkill: Record "Resource Skill")` (integration)
- `OnAfterAssignRelationConfirmation(var ResourceSkill: Record "Resource Skill"; SrcType: Enum "Resource Skill Type"; DestType: Enum "Resource Skill Type"; var SrcTypeText: Text[30]; var DestTypeText: Text[30])` (integration)
- `OnChangeResSkillRelationWithItemOnBeforeAssignWithUpdateGetResponse(Item: Record Item; var AssignWithUpdate: Boolean; var IsHandled: Boolean)` (integration)
- `OnAfterRevalidateRelationConfirmation(var ResourceSkill: Record "Resource Skill"; SrcType: Enum "Resource Skill Type"; DestType: Enum "Resource Skill Type"; var SrcTypeText: Text[30]; var DestTypeText: Text[30])` (integration)

## Procedures

- `AddResSkill(var ResSkill: Record "Resource Skill")`
- `RemoveResSkill(var ResSkill: Record "Resource Skill"): Boolean`
- `PrepareRemoveMultipleResSkills(var ResSkill: Record "Resource Skill")`
- `ChangeResSkill(var ResSkill: Record "Resource Skill"; OldSkillCode: Code[10]): Boolean`
- `AssignServItemResSkills(var ServItem: Record "Service Item")`
- `AssignResSkillRelationWithUpdate(SrcType: Enum "Resource Skill Type"; SrcCode: Code[20]; DestType: Enum "Resource Skill Type"; DestCode: Code[20])`
- `DeleteItemResSkills(ItemNo: Code[20])`
- `DeleteServItemGrResSkills(ServItemGrCode: Code[10])`
- `DeleteServItemResSkills(ServItemNo: Code[20])`
- `ChangeResSkillRelationWithItem(SrcType: Enum "Resource Skill Type"; SrcCode: Code[20]; RelationType: Enum "Resource Skill Type"; DestCode: Code[20]; OriginalCode: Code[20]; ServItemGroupCode: Code[10]): Boolean`
- `ChangeResSkillRelationWithGroup(SrcType: Enum "Resource Skill Type"; SrcCode: Code[20]; RelationType: Enum "Resource Skill Type"; DestCode: Code[20]; OriginalCode: Code[20]): Boolean`
- `RevalidateResSkillRelation(SrcType: Enum "Resource Skill Type"; SrcCode: Code[20]; DestType: Enum "Resource Skill Type"; DestCode: Code[20]): Boolean`
- `DropGlobals()`
- `SkipValidationDialogs()`
- `CloneObjectResourceSkills(ObjectType: Integer; SrcCode: Code[20]; DestCode: Code[20])`

Plus 18 local procedures.

## Triggers

OnRun

## 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 27 "Confirm Management"](../codeunit/27.md) (6 calls: `AddResSkill → GetResponseOrDefault`, `AssignRelationConfirmation → GetResponseOrDefault`, `ChangeResSkillRelationWithItem → GetResponseOrDefault`, …)

## Called by

- [Page 6019 "Resource Skills"](../page/6019.md) (3 calls: `OnDeleteRecord → DropGlobals`, `OnDeleteRecord → PrepareRemoveMultipleResSkills`, `OnDeleteRecord → RemoveResSkill`)
- [Codeunit 5920 "ServItemManagement"](../codeunit/5920.md) (2 calls: `CreateServItemOnSalesLineShpt → AssignServItemResSkills`, `CreateServItemOnServItemLine → AssignServItemResSkills`)
- [Codeunit 5900 "ServOrderManagement"](../codeunit/5900.md) (1 call: `ReplacementCreateServItem → CloneObjectResourceSkills`)
- [Codeunit 6450 "Serv. Integration Mgt."](../codeunit/6450.md) (1 call: `ItemOnAfterDeleteRelatedData → DeleteItemResSkills`)
- [Table 5904 "Service Item Group"](../table/5904.md) (1 call: `OnDelete → DeleteServItemGrResSkills`)
- [Table 5940 "Service Item"](../table/5940.md) (1 call: `OnDelete → DeleteServItemResSkills`)
- [Table 5956 "Resource Skill"](../table/5956.md) (1 call: `OnInsert → AddResSkill`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## 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: "Resource Skill Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
