---
id: object/table/7000019-es
type: object
title: Table 7000019 "Fee Range" (ES)
summary: Table 7000019 "Fee Range" (ES) in the ES country layer (Microsoft.Finance.ReceivablesPayables). 7 fields, 32 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - es 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: f2338b45f60529b62f613a176061dcaede28ce99b1a3414d3d7a391c55e721a5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/Finance/ReceivablesPayables/FeeRange.Table.al
    title: src/Layers/ES/BaseApp/Local/Finance/ReceivablesPayables/FeeRange.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/es
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 7000019
name: Fee Range
namespace: Microsoft.Finance.ReceivablesPayables
app: Base Application
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: ES
counts:
  fields: 7
  procedures: 33
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table 7000019 "Fee Range" (ES)

> Table 7000019 "Fee Range" (ES) in the ES country layer (Microsoft.Finance.ReceivablesPayables). 7 fields, 32 public procedures. Introduced in BC29, still in BC30.

ES country layer · Microsoft.Finance.ReceivablesPayables · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/Finance/ReceivablesPayables/FeeRange.Table.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Caption | Fee Range |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Code | Code[20] | — | NotBlank |
| 2 | Currency Code | Code[10] | — | TableRelation Currency |
| 3 | Type of Fee | Option | — | OptionCaption: Collection Expenses,Discount Expenses,Discount Interests,Rejection Expenses,Payment Order Expenses,Unrisked Factoring Expenses,Risked Factoring Expenses |
| 4 | From No. of Days | Integer | — |  |
| 5 | Charge Amount per Doc. | Decimal | — |  |
| 6 | Charge % per Doc. | Decimal | — |  |
| 7 | Minimum Amount | Decimal | — |  |

## Keys

- Key1: Code, Currency Code, Type of Fee, From No. of Days (clustered)

## Procedures

- `Caption(): Text`
- `InitCollExpenses(Code2: Code[20]; CurrencyCode2: Code[10])`
- `CalcCollExpensesAmt(Code2: Code[20]; CurrencyCode2: Code[10]; Amount: Decimal; EntryNo: Integer)`
- `GetTotalCollExpensesAmt(): Decimal`
- `InitDiscExpenses(Code2: Code[20]; CurrencyCode2: Code[10])`
- `CalcDiscExpensesAmt(Code2: Code[20]; CurrencyCode2: Code[10]; Amount: Decimal; EntryNo: Integer)`
- `GetTotalDiscExpensesAmt(): Decimal`
- `NoRegsDiscExpenses(): Integer`
- `GetDiscExpensesAmt(var value: Record "BG/PO Post. Buffer"; Register: Integer)`
- `InitDiscInterests(Code2: Code[20]; CurrencyCode2: Code[10])`
- `CalcDiscInterestsAmt(Code2: Code[20]; CurrencyCode2: Code[10]; NoOfDays: Integer; Amount: Decimal; EntryNo: Integer)`
- `GetTotalDiscInterestsAmt(): Decimal`
- `NoRegsDiscInterests(): Integer`
- `GetDiscInterestsAmt(var value: Record "BG/PO Post. Buffer"; Register: Integer)`
- `InitRejExpenses(Code2: Code[20]; CurrencyCode2: Code[10])`
- `CalcRejExpensesAmt(Code2: Code[20]; CurrencyCode2: Code[10]; Amount: Decimal; EntryNo: Integer)`
- `GetTotalRejExpensesAmt(): Decimal`
- `NoRegRejExpenses(): Integer`
- `GetRejExpensesAmt(var value: Record "BG/PO Post. Buffer"; Register: Integer)`
- `InitPmtOrdCollExpenses(Code2: Code[20]; CurrencyCode2: Code[10])`
- `CalcPmtOrdCollExpensesAmt(Code2: Code[20]; CurrencyCode2: Code[10]; Amount: Decimal; EntryNo: Integer)`
- `GetTotalPmtOrdCollExpensesAmt(): Decimal`
- `InitRiskFactExpenses(Code2: Code[20]; CurrencyCode2: Code[10])`
- `CalcRiskFactExpensesAmt(Code2: Code[20]; CurrencyCode2: Code[10]; Amount: Decimal; EntryNo: Integer)`
- `GetTotalRiskFactExpensesAmt(): Decimal`
- `NoRegRiskFactExpenses(): Integer`
- `GetRiskFactExpenses(var value: Record "BG/PO Post. Buffer"; Register: Integer)`
- `InitUnriskFactExpenses(Code2: Code[20]; CurrencyCode2: Code[10])`
- `CalcUnriskFactExpensesAmt(Code2: Code[20]; CurrencyCode2: Code[10]; Amount: Decimal; EntryNo: Integer)`
- `GetTotalUnriskFactExpensesAmt(): Decimal`
- `NoRegUnriskFactExpenses(): Integer`
- `GetUnriskFactExpenses(var value: Record "BG/PO Post. Buffer"; Register: Integer)`

Plus 1 local procedures.

## 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: "table", object_name: "Fee Range")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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