---
id: object/codeunit/18632-in
type: object
title: Codeunit 18632 "Depr Calculation Subscribers" (IN)
summary: Codeunit 18632 "Depr Calculation Subscribers" (IN) in the IN country layer (Microsoft.FixedAssets.FADepreciation). 5 events, 18 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - in layer
versions:
  introduced: "29"
  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: 0bcc9b5c8898dfdee5d67e1a0e9bb65bbe04adfd267a0e910c8193fa2fa79ecc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/IN/INFADepreciation/app/src/codeunit/DeprCalculationSubscribers.codeunit.al
    title: src/Apps/IN/INFADepreciation/app/src/codeunit/DeprCalculationSubscribers.codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/in
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 18632
name: Depr Calculation Subscribers
namespace: Microsoft.FixedAssets.FADepreciation
app: INFADepreciation
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: IN
counts:
  fields: 0
  procedures: 30
  events: 5
  subscribers: 18
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 18632 "Depr Calculation Subscribers" (IN)

> Codeunit 18632 "Depr Calculation Subscribers" (IN) in the IN country layer (Microsoft.FixedAssets.FADepreciation). 5 events, 18 event subscribers. Introduced in BC29, still in BC30.

IN country layer · Microsoft.FixedAssets.FADepreciation · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/IN/INFADepreciation/app/src/codeunit/DeprCalculationSubscribers.codeunit.al) · facts from BC29

An object of the [IN localization](../../localizations/in.md), not part of W1.

## Events published

- `OnAfterCalculateNumberofDays(FixedAsset: Record "Fixed Asset"; DeprBook: Record "Depreciation Book"; var NumberofDays: Integer; FirstDeprDate: date; var UntilDate: Date; Year365Days: Boolean)` (integration)
- `OnAfterCheckingDaysInFiscalYear(DeprBook: Record "Depreciation Book"; FADepBook: Record "FA Depreciation Book"; UntilDate: Date; var DaysInFiscalYear: Integer; Year365Days: Boolean)` (integration)
- `OnAfterUpdateDaysInFiscalYear(FixedAsset: Record "Fixed Asset"; DeprBook: Record "Depreciation Book"; var NumberofDays: Integer; var DaysInFiscalYear: Integer)` (integration)
- `OnBeforeTransferValuesShift(FixedAsset: Record "Fixed Asset"; var EntryAmounts: array[4] of Decimal; var DeprMethod: Option StraightLine,DB1,DB2,DB1SL,DB2SL,"User-Defined",Manual,BelowZero; Year365Days: Boolean; IntegerStore: Dictionary of [Text, Integer]; CodeStore: Dictionary of [Text, Code[10]]; DateStore: Dictionary of [Text, Date]; DecimalStore: Dictionary of [Text, Decimal]; var IsHandled: Boolean)` (integration)
- `OnAfterTransferValuesShift(FixedAsset: Record "Fixed Asset"; var EntryAmounts: array[4] of Decimal; var DeprMethod: Option StraightLine,DB1,DB2,DB1SL,DB2SL,"User-Defined",Manual,BelowZero; Year365Days: Boolean; IntegerStore: Dictionary of [Text, Integer]; CodeStore: Dictionary of [Text, Code[10]]; DateStore: Dictionary of [Text, Date]; DecimalStore: Dictionary of [Text, Decimal])` (integration)

## Event subscriptions

- OnBeforeCalculateTransferValue subscribes to Codeunit "Calculate Normal Depreciation" OnCalculateOnBeforeTransferValue
- OnBeforeSkipRecord subscribes to Codeunit "Calculate Normal Depreciation" OnBeforeSkipRecord
- CalculateNumberofDays subscribes to Codeunit "Calculate Normal Depreciation" OnBeforeNumberofDayCalculateNumberofDays
- UpdateDaysInFiscalYears subscribes to Codeunit "Calculate Normal Depreciation" UpdateDaysInFiscalYear
- OnBeforeValidateYear365Days subscribes to Codeunit "Table Depr. Calculation" OnBeforeValidateYear365Days
- OnAfterCalcFinalDeprAmount subscribes to Codeunit "Calculate Normal Depreciation" OnAfterCalcFinalDeprAmount
- OnAfterTransferValuesEvent subscribes to Codeunit "Calculate Normal Depreciation" OnAfterTransferValues2
- RecalculateBookValue subscribes to Codeunit "Calculate Normal Depreciation" OnAfterBookValueRecalculateBookValue
- CheckAddedDepreciationApplicable subscribes to Codeunit "Calculate Normal Depreciation" OnAfterBookValueCheckAddedDeprApplicable
- CheckingDaysInFiscalYear subscribes to Codeunit "Calculate Normal Depreciation" OnAfterDaysinFYRecalculateDaysInFiscalYear
- OnAfterCalculateFinalAmount subscribes to Codeunit "Calculate Normal Depreciation" OnAfterCalculateFinalAmount
- OnAfterSkipOnZeroValue subscribes to Codeunit "Calculate Normal Depreciation" OnAfterSkipOnZeroValue
- OnBeforeCreateDisposerError subscribes to Codeunit "FA Check Consistency" OnBeforeCreateDisposerError
- OnBeforeCreatePostingTypeError subscribes to Codeunit "FA Check Consistency" OnBeforeCreatePostingTypeError
- CalculateAdditionalDeprSecondYear subscribes to Codeunit "Calculate Depreciation" OnAfterCalcDeprYearCalculateAdditionalDepr2ndYear
- OnAfterCalculateSLAmount subscribes to Codeunit "Calculate Normal Depreciation" OnAfterCalcSL
- OnAfterCalcDB1Amount subscribes to Codeunit "Calculate Normal Depreciation" OnAfterCalcDB1Amount
- CheckNormalPostingError subscribes to Codeunit "FA Check Consistency" OnCheckNormalPostingOnAfterSetFALedgerEntryFilters

## Procedures

7 local procedures, no public ones.

## Across versions

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

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). 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: "Depr Calculation Subscribers")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A IN country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
