codeunitCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Codeunit 4160 "Business Skill"

System Application · System.AI.BusinessSkills

Across versions

  1. BC23-29not present
  2. BC30added

Neighbourhood 2 connected objects and pages

Codeunit 4163 "Business Skill Impl." (calls, 8 links)Business Skill Impl.Codeunit 4165 "Business Skill Test Impl." (calls)Business Skill Test Impl.

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

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.

Called by

Recent changes

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.

Evidence 1 sources