---
id: object/page/6224
type: object
title: Page 6224 "Collect Amount from G/L Entry"
summary: Page 6224 "Collect Amount from G/L Entry" in Sustainability (Microsoft.Sustainability.Calculation). 2 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - sustainability
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: d87446e8f54e9becde5755f96cdf30376ac2ee23418f92e38db6d66bfb2febb5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/Calculation/CollectAmountFromGLEntry.Page.al
    title: src/Apps/W1/Sustainability/app/src/Calculation/CollectAmountFromGLEntry.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10541
object_type: page
object_id: 6224
name: Collect Amount from G/L Entry
caption: Collect Amount from General Ledger
namespace: Microsoft.Sustainability.Calculation
app: Sustainability
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 3
  events: 0
  subscribers: 0
  controls: 7
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 6224 "Collect Amount from G/L Entry"

> Page 6224 "Collect Amount from G/L Entry" in Sustainability (Microsoft.Sustainability.Calculation). 2 public procedures. Introduced in BC29, still in BC30.

Sustainability · Microsoft.Sustainability.Calculation · captioned "Collect Amount from General Ledger" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/Calculation/CollectAmountFromGLEntry.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Collect Amount from General Ledger |
| SourceTable | Sustain. Account Category |
| PageType | ListPlus |
| ApplicationArea | Basic, Suite |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | G/L Account Filter | [G/L Account Filter](../table/6211.md#fields) | Specifies the general ledger account number filter. |
|  | Global Dimension 1 Filter | [Global Dimension 1 Filter](../table/6211.md#fields) | Specifies the global dimension 1 filter. |
|  | Global Dimension 2 Filter | [Global Dimension 2 Filter](../table/6211.md#fields) | Specifies the global dimension 2 filter. |
|  | From Date | `FromDate` | Specifies from date. |
|  | To Date | `ToDate` | Specifies to date. |
| Content | G/L Accounts | part [Page 6225 "G/L Accounts Subform"](../page/6225.md) | — |
| Total | Total Amount | `SustainabilityCalcMgt.GetCollectableGLAmount(Rec, FromDate, ToDate)` | Specifies the total amount of the collectable general ledger entries. |

## Procedures

- `GetDates(var FromDate2: Date; var ToDate2: Date)` (internal)
- `SetCollectingJournalLine(SustainabilityJnlLine: Record "Sustainability Jnl. Line")` (internal)

Plus 1 local procedures.

## Relations

- source table [Table 6211 "Sustain. Account Category"](../table/6211.md)

## 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 6218 "Sustainability Calc. Mgt."](../codeunit/6218.md) (1 call: `SetCollectingJournalLine → SetCollectingJournalLine`)

## Recent changes

- 2026-09-16 [#10541 [Master] - Slice 641375: [Sustainability] Collect Amount from G/L Entries: track collected entries to prevent double counting](../../changes/bcapps/10541.md) (main, BC30, feature)

## 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). 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: "page", object_name: "Collect Amount from G/L Entry")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
