---
id: object/codeunit/579
type: object
title: Codeunit 579 "Run Template Retained Earn."
summary: Codeunit 579 "Run Template Retained Earn." in Base Application (Microsoft.Finance.FinancialReports). Present since at least BC23, still in BC28, changed in BC26, gone after BC28. Obsolete (Pending since 26.0).
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "26"
  deprecated: "26.0"
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-08T01:47:42.884Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 5373a89e559c596a50ee88da104c8b3b7502f296c823b4ed04ae68841f937100
evidence:
  - kind: code
    url: https://github.com/StefanMaron/MSDyn365BC.Sandbox.Code.History/blob/d6dc01d0b49fd1b899d173b7c7b5876ea5927b6b/Base%20Application/Finance/FinancialReports/RunTemplateRetainedEarn.Codeunit.al
    title: Base Application/Finance/FinancialReports/RunTemplateRetainedEarn.Codeunit.al (w1-28)
    date: null
    commit: d6dc01d0b49fd1b899d173b7c7b5876ea5927b6b
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 579
name: Run Template Retained Earn.
namespace: Microsoft.Finance.FinancialReports
app: Base Application
extends: null
first_version: "23"
last_version: "28"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
changed_in:
  - "26"
source_major: "28"
obsolete:
  state: Pending
  tag: "26.0"
  reason: This report is deprecated and will be removed in a future release.
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Codeunit 579 "Run Template Retained Earn."

> Codeunit 579 "Run Template Retained Earn." in Base Application (Microsoft.Finance.FinancialReports). Present since at least BC23, still in BC28, changed in BC26, gone after BC28. Obsolete (Pending since 26.0).

Base Application · Microsoft.Finance.FinancialReports · BC23-28 · [source at d6dc01d0](https://github.com/StefanMaron/MSDyn365BC.Sandbox.Code.History/blob/d6dc01d0b49fd1b899d173b7c7b5876ea5927b6b/Base%20Application/Finance/FinancialReports/RunTemplateRetainedEarn.Codeunit.al) · facts from BC28

## Properties

| Property | Value |
|---|---|
| ObsoleteState | Pending |
| ObsoleteTag | 26.0 |
| ObsoleteReason | This report is deprecated and will be removed in a future release. |

## Procedures

1 local procedures, no public ones.

## Triggers

OnRun

## Calls

From the extracted call graph of BC28 (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 4030 "Client Type Management"](../codeunit/4030.md) (1 call: `OnRun → GetCurrentClientType`)
- [Codeunit 6710 "ODataUtility"](../codeunit/6710.md) (1 call: `OnRun → GenerateExcelTemplateWorkBook`)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (1 call: `LogUsageTelemetry → LogUsage`)

## Across versions

- Present in: BC23-28
- Changed (declaration) in: BC26
- Obsolete: Pending since 26.0, "This report is deprecated and will be removed in a future release."

## Deprecations

- object: Pending 26.0 (#if not CLEAN26), "This report is deprecated and will be removed in a future release."

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 BC28 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: "Run Template Retained Earn.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
