---
id: object/codeunit/5626
type: object
title: Codeunit 5626 "FA General Report"
summary: Codeunit 5626 "FA General Report" in Base Application (Microsoft.FixedAssets.FixedAsset). 8 public procedures, 6 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: 503a190136b0ceb82fd17dd42f6b8da6a1d655b6a427bd52eaab667fe8142285
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FAGeneralReport.Codeunit.al
    title: src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FAGeneralReport.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/at
    - localization/ch
    - localization/de
    - localization/fr
    - localization/it
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9687
object_type: codeunit
object_id: 5626
name: FA General Report
namespace: Microsoft.FixedAssets.FixedAsset
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:
  - at
  - ch
  - de
  - fr
  - it
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 14
  events: 6
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 9
  implements: 0
---

# Codeunit 5626 "FA General Report"

> Codeunit 5626 "FA General Report" in Base Application (Microsoft.FixedAssets.FixedAsset). 8 public procedures, 6 events. Present since at least BC23, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "Fixed Asset" = rm |

## Events published

- `OnAfterCalcFAPostedAmount(var FALedgerEntry: Record "FA Ledger Entry"; PostingType: Integer; Period: Option "Before Starting Date","Net Change","at Ending Date"; BeforeAmount: Decimal; UntilAmount: Decimal; var Result: Decimal)` (integration)
- `OnBeforeCalcFAPostedAmount(var FALedgerEntry: Record "FA Ledger Entry"; PostingType: Integer)` (integration)
- `OnCalcGLPostedAmountOnBeforeCalcAmount(var FALedgerEntry: Record "FA Ledger Entry"; PostingType: Integer)` (integration)
- `OnGetLastDateOnAfterFALedgEntrySetFilters(var FALedgerEntry: Record "FA Ledger Entry"; var FADeprBook: Record "FA Depreciation Book"; PostingType: Integer; FirstLast: Text)` (integration)
- `OnBeforeSetFAPostingGroup(var FixedAsset: Record "Fixed Asset"; DeprBookCode: Code[10]; var IsHandled: Boolean)` (integration)
- `OnCalcGLPostedAmountOnAfterCalcAmount(var FALedgerEntry: Record "FA Ledger Entry"; PostingType: Integer; var Amount: Decimal)` (integration)

## Procedures

- `GetLastDate(FANo: Code[20]; PostingType: Integer; EndingDate: Date; DeprBookCode: Code[10]; GLEntry: Boolean): Date`
- `CalcFAPostedAmount(FANo: Code[20]; PostingType: Integer; Period: Option "Before Starting Date","Net Change","at Ending Date"; StartingDate: Date; EndingDate: Date; DeprBookCode: Code[10]; BeforeAmount: Decimal; UntilAmount: Decimal; OnlyReclassified: Boolean; OnlyBookValue: Boolean): Decimal`
- `CalcGLPostedAmount(FANo: Code[20]; PostingType: Integer; Period: Option " ",Disposal,"Bal. Disposal"; StartingDate: Date; EndingDate: Date; DeprBookCode: Code[10]): Decimal`
- `AppendFAPostingFilter(var FA: Record "Fixed Asset"; StartingDate: Date; EndingDate: Date)`
- `AppendPostingDateFilter(var FAFilter: Text; StartingDate: Date; EndingDate: Date)`
- `ValidateDates(StartingDate: Date; EndingDate: Date)`
- `ValidateDeprDates(StartingDate: Date; EndingDate: Date)`
- `SetFAPostingGroup(var FA2: Record "Fixed Asset"; DeprBookCode: Code[10])`

## 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 5616 "Depreciation Calculation"](../codeunit/5616.md) (1 call: `GetLastDate → SetFAFilter`)

## Called by

- [Report 5605 "Fixed Asset - Book Value 01"](../report/5605.md) (3 calls: `OnPreReport → AppendFAPostingFilter`, `OnPreReport → SetFAPostingGroup`, `OnPreReport → ValidateDates`)
- [Report 5606 "Fixed Asset - Book Value 02"](../report/5606.md) (3 calls: `OnPreReport → AppendFAPostingFilter`, `OnPreReport → SetFAPostingGroup`, `OnPreReport → ValidateDates`)
- [Report 5607 "Fixed Asset - Projected Value"](../report/5607.md) (3 calls: `OnPreReport → AppendFAPostingFilter`, `OnPreReport → SetFAPostingGroup`, `ValidateDates → ValidateDeprDates`)
- [Report 5611 "FA Posting Group - Net Change"](../report/5611.md) (3 calls: `GetAmount → CalcGLPostedAmount`, `OnPreReport → AppendPostingDateFilter`, `OnPreReport → ValidateDates`)
- [Report 5630 "Maintenance - Analysis"](../report/5630.md) (3 calls: `OnPreReport → AppendFAPostingFilter`, `OnPreReport → AppendPostingDateFilter`, `OnPreReport → SetFAPostingGroup`)
- [Report 5600 "Fixed Asset - Analysis"](../report/5600.md) (2 calls: `OnPreReport → AppendFAPostingFilter`, `OnPreReport → SetFAPostingGroup`)
- [Report 5608 "Fixed Asset - Acquisition List"](../report/5608.md) (2 calls: `OnPreReport → AppendFAPostingFilter`, `OnPreReport → ValidateDates`)
- [Report 5610 "Fixed Asset - G/L Analysis"](../report/5610.md) (2 calls: `OnPreReport → AppendPostingDateFilter`, `OnPreReport → SetFAPostingGroup`)
- [Report 5635 "Maintenance - Next Service"](../report/5635.md) (1 call: `OnPreReport → AppendFAPostingFilter`)

## Recent changes

- 2026-07-23 [#9687 [main] bug 642230 - Enhance FA General Report logic and add tests for Tax Deprec. Group and FA Posting Group handling](../../changes/bcapps/9687.md) (main, BC30, fix)

## Across versions

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

## Countries that replace it

[AT](../../localizations/at.md), [CH](../../localizations/ch.md), [DE](../../localizations/de.md), [FR](../../localizations/fr.md), [IT](../../localizations/it.md)

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: "FA General Report")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
