Codeunit 4166 "Business Skill Content History"
System Application · System.AI.BusinessSkills
Across versions
- BC23-29not present
- BC30added
Neighbourhood 5 connected objects and pages
System Application · System.AI.BusinessSkills · BC30 · source at f53bb0f1 · facts from BC30
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
RestoreVersion(EntryNo: Integer): Restores an earlier version as the current skill content by re-inserting it as a new version.DeleteHistory(SkillId: BigInteger): Removes a deleted manual skill’s history, including its latest version.DeleteVersion(var BusSkillContentVersion: Record "Bus Skill Content Version"): Deletes a version. The latest (current) version cannot be deleted.VerifyCanDeleteVersion(EntryNo: Integer): Rejects deletion of the current content version, including direct table deletion.RecordContentVersion(var BusinessSkill: Record "Business Skill"): Records saved manual content as a new version unless it equals the latest version.RecordContentVersion(SkillId: BigInteger; NewContent: SecretText; ContentVersion: Text[50]): Records manual content unless it equals the latest version or is blank before history exists.GetLatestContent(var BusinessSkill: Record "Business Skill"): SecretText: Returns the latest manual version for copying, or stored content for app-owned skills or missing history.IsLatestVersion(var BusSkillContentVersion: Record "Bus Skill Content Version"): Boolean: Returns whether the given entry is the latest version for its skill.GetContent(SkillId: BigInteger): SecretText: Compatibility read helper. The skill record owns current content; history is not its source.DownloadVersion(var BusSkillContentVersion: Record "Bus Skill Content Version"): Downloads a single version to a text file.
Plus 1 local procedures.
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.” (6 calls:
DownloadVersion → GetEncoding,DownloadVersion → WriteText,GetContent → GetContent, …) - Codeunit 4100 “Temp Blob” (2 calls:
DownloadVersion → CreateInStream,DownloadVersion → CreateOutStream)
Called by
- Codeunit 4162 “Business Skill Builder Impl.” (2 calls:
Create → RecordContentVersion,Update → RecordContentVersion) - Codeunit 4163 “Business Skill Impl.” (1 call:
CopySkill → GetLatestContent) - Page 4162 “Bus Skill Content Versions” (1 call:
UpdateComputedFields → IsLatestVersion) - Table 4160 “Bus Skill Content Version” (1 call:
OnDelete → VerifyCanDeleteVersion)
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 Content History"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.