---
id: object/table/20166
type: object
title: Table 20166 "Action Ext. Substr. From Pos."
summary: Table 20166 "Action Ext. Substr. From Pos." in INTaxEngine (Microsoft.Finance.TaxEngine.ScriptHandler). 11 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - 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: 07f5ed3cd11e0681357274ae7600be529baca7fc79cfd41369fd6a88768e2f7a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-ScriptHandler/src/Actions/table/ActionExtSubstrFromPos.Table.al
    title: src/Apps/W1/INTaxEngine/app/TaxEngine-ScriptHandler/src/Actions/table/ActionExtSubstrFromPos.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 20166
name: Action Ext. Substr. From Pos.
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: 11
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Table 20166 "Action Ext. Substr. From Pos."

> Table 20166 "Action Ext. Substr. From Pos." in INTaxEngine (Microsoft.Finance.TaxEngine.ScriptHandler). 11 fields. Introduced in BC29, still in BC30.

INTaxEngine · Microsoft.Finance.TaxEngine.ScriptHandler · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-ScriptHandler/src/Actions/table/ActionExtSubstrFromPos.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Action Ext. Substr. From Pos. |
| Access | Public |
| Extensible | false |
| DataClassification | EndUserIdentifiableInformation |

## 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 | Script ID | Guid | — | DataClassification SystemMetadata |
| 2 | ID | Guid | — | DataClassification SystemMetadata |
| 3 | Variable ID | Integer | — | TableRelation [Table 20203 "Script Variable"](../table/20203.md) ("Script Variable".ID where("Script ID" = field("Script ID"))); DataClassification SystemMetadata |
| 4 | String Value Type | Option | — | DataClassification SystemMetadata |
| 5 | String Value | Text[250] | — |  |
| 6 | String Lookup ID | Guid | — | TableRelation [Table 20144 "Script Symbol Lookup"](../table/20144.md) ("Script Symbol Lookup".ID); DataClassification SystemMetadata |
| 7 | Position | Option | Specifies the position of extraction. <small>via [Page 20164 "Action Ext. Substr. From Pos."](../page/20164.md)</small> | DataClassification CustomerContent |
| 10 | Length Value Type | Option | — | DataClassification SystemMetadata |
| 11 | Length Value | Text[250] | — |  |
| 12 | Length Lookup ID | Guid | — | TableRelation [Table 20144 "Script Symbol Lookup"](../table/20144.md) ("Script Symbol Lookup".ID); DataClassification SystemMetadata |
| 13 | Case ID | Guid | — | DataClassification SystemMetadata |

## Keys

- K0: Case ID, Script ID, ID (clustered)

## Triggers

OnInsert, OnModify, OnDelete

## Relations

- Length Lookup ID: TableRelation [Table 20144 "Script Symbol Lookup"](../table/20144.md)
- String Lookup ID: TableRelation [Table 20144 "Script Symbol Lookup"](../table/20144.md)
- Variable ID: TableRelation [Table 20203 "Script Variable"](../table/20203.md)

## Pages and codeunits on this table

- [Page 20164 "Action Ext. Substr. From Pos."](../page/20164.md) (source table)

## 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 20134 "Script Symbol Store"](../codeunit/20134.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Codeunit 20141 "Lookup Entity Mgmt."](../codeunit/20141.md) (1 call: `OnDelete → DeleteLookup`)

## 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: "table", object_name: "Action Ext. Substr. From Pos.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
