Codeunit 4160 "Business Skill"
System Application · System.AI.BusinessSkills
Across versions
- BC23-29not present
- BC30added
Neighbourhood 2 connected objects and pages
System Application · System.AI.BusinessSkills · BC30 · source at f53bb0f1 · facts from BC30
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
GetContent(var BusinessSkill: Record "Business Skill"): SecretText: Loads and returns the stored instructions of the skill.GetContentFromBuffer(var BusinessSkill: Record "Business Skill"): SecretText(internal): Returns the content already loaded or assigned on the record buffer without reloading it.Activate(SkillId: BigInteger): Activates a skill after validating its name and content.Deactivate(SkillId: BigInteger): Deactivates a skill without changing its content.Delete(SkillId: BigInteger): Deletes an inactive skill and its manual history subject to owning-app and management-permission checks.IsAvailable(BusinessSkill: Record "Business Skill"): Boolean: Returns whether the supplied skill is active and available to consumers.SetNewContentAndUpdateVersion(SkillId: BigInteger; Content: SecretText; ExpectedSystemId: Guid; ExpectedRevision: BigInteger)(internal): Updates manual content only if the expected identity and revision still match, without committing. Changed content automatically advances the version and appends history. Identical content does not write.SetNewContentAndUpdateVersion(SkillCode: Code[100]; Content: SecretText; ContentVersion: Text[50]): Updates the calling app’s skill identified by its code, preserving its status and other metadata. Changed content requires a nonblank version different from the saved version. Version-only changes fail. Identical content and version do not write. App-owned content does not create history.UpdateMetadata(SkillCode: Code[100]; Name: Text[250]; Description: Text[2048]): Updates the calling app’s skill name and description without changing its content, version, history, status or lock. Normal table and management permissions apply. Identical metadata does not write.
Calls
From the extracted call graph of BC30 (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 4163 “Business Skill Impl.” (8 calls:
Activate → ActivateSkill,Deactivate → DeactivateSkill,Delete → DeleteSkill, …)
Called by
- Codeunit 4165 “Business Skill Test Impl.” (1 call:
SetNewContentAndUpdateVersion → SetNewContentAndUpdateVersion)
Recent changes
- 2026-11-27 #14578 Improve Business Skills list actions and content authoring (main, BC30, feature)
- 2026-11-23 #14372 Move Business Skills core into System Application (main, BC30, feature, added)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC30 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: "Business Skill"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.