---
id: object/page/20171
type: object
title: Page 20171 "Action Loop Through Rec. Dlg"
summary: Page 20171 "Action Loop Through Rec. Dlg" in INTaxEngine (Microsoft.Finance.TaxEngine.ScriptHandler). 1 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - intaxengine
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: fbf82dd0bf7e1ba1cac2d3cf25477139e7f4cfa9f7cd8be51bc0ced384b0e931
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-ScriptHandler/src/Actions/page/ActionLoopThroughRecDlg.Page.al
    title: src/Apps/W1/INTaxEngine/app/TaxEngine-ScriptHandler/src/Actions/page/ActionLoopThroughRecDlg.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 20171
name: Action Loop Through Rec. Dlg
caption: Loop Records
namespace: Microsoft.Finance.TaxEngine.ScriptHandler
app: INTaxEngine
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: 4
  events: 0
  subscribers: 0
  controls: 8
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 0
  implements: 0
---

# Page 20171 "Action Loop Through Rec. Dlg"

> Page 20171 "Action Loop Through Rec. Dlg" in INTaxEngine (Microsoft.Finance.TaxEngine.ScriptHandler). 1 public procedures. Introduced in BC29, still in BC30.

INTaxEngine · Microsoft.Finance.TaxEngine.ScriptHandler · captioned "Loop Records" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-ScriptHandler/src/Actions/page/ActionLoopThroughRecDlg.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Loop Records |
| SourceTable | Action Loop Through Records |
| PageType | StandardDialog |

## 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 | Table Name | `FromTableName` | Specifies the table name for Looping through the records. |
|  | Order | [Order](../table/20175.md#fields) | Specifies ascending or descending order. |
|  | Table Filters | `TableFilters` | Specifies the filter applied on table for Looping through the records. |
|  | Sorting | `TableSorting2` | Specifies the sorting applied to table for Looping through the records. |
|  | Distinct | [Distinct](../table/20175.md#fields) | Specifies whether records will be distinct or not. |
| Counters | Index Variable | `IndexVariable2` | Specifies count of iteration in the loop. |
|  | Count Variable | `CountVariable2` | Specifies count of records. |
| Content | Set Variables | part [Page 20172 "Action Loop Thr. Rec. Field"](../page/20172.md) | — |

## Procedures

- `SetCurrentRecord(var ActionLoopThroughRecords2: Record "Action Loop Through Records")`

Plus 3 local procedures.

## Triggers

OnOpenPage, OnAfterGetRecord, OnAfterGetCurrRecord

## Relations

- source table [Table 20175 "Action Loop Through Records"](../table/20175.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 20133 "Script Symbols Mgmt."](../codeunit/20133.md) (2 calls: `FormatLine → GetSymbolName`, `SetCurrentRecord → SetContext`)
- [Codeunit 20141 "Lookup Entity Mgmt."](../codeunit/20141.md) (2 calls: `ResetFields → DeleteTableFilters`, `ResetFields → DeleteTableSorting`)
- [Codeunit 20143 "Lookup Serialization"](../codeunit/20143.md) (2 calls: `FormatLine → TableFilterToString`, `FormatLine → TableSortingToString`)
- [Codeunit 20130 "App Object Helper"](../codeunit/20130.md) (1 call: `FormatLine → GetObjectName`)

## 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: "Action Loop Through Rec. Dlg")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
