---
id: object/table/1270
type: object
title: Table 1270 "OCR Service Setup"
summary: Table 1270 "OCR Service Setup" in Base Application (Microsoft.EServices.EDocument). 15 fields, 12 public procedures. Present since at least BC23, still in BC30, changed in BC24-26, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 73e3fd333d8395e53d51bb34891280eb0efbb0d9afc67f96f6e1c10c7eacb814
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/eServices/EDocument/OCRServiceSetup.Table.al
    title: src/Layers/W1/BaseApp/eServices/EDocument/OCRServiceSetup.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: 1270
name: OCR Service Setup
namespace: Microsoft.EServices.EDocument
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 15
  procedures: 19
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 0
  implements: 0
---

# Table 1270 "OCR Service Setup"

> Table 1270 "OCR Service Setup" in Base Application (Microsoft.EServices.EDocument). 15 fields, 12 public procedures. Present since at least BC23, still in BC30, changed in BC24-26, BC28.

Base Application · Microsoft.EServices.EDocument · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/eServices/EDocument/OCRServiceSetup.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | OCR Service Setup |
| 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 | Primary Key | Code[10] | — |  |
| 2 | User Name | Text[50] | Specifies the user name that represents your company's login to the OCR service. | DataClassification EndUserIdentifiableInformation |
| 3 | Password Key | Guid | — |  |
| 4 | Sign-up URL | Text[250] | Specifies the web page where you sign up for the OCR service. |  |
| 5 | Service URL | Text[250] | Specifies the address of the OCR service. The service specified in the Service URL field is called when you send and receive files for OCR. |  |
| 6 | Sign-in URL | Text[250] | Specifies the sign-in page for the OCR service. This is the web page where you enter your company's user name, password, and authorization key to sign in to the service. |  |
| 7 | Authorization Key | Guid | — |  |
| 8 | Customer Name | Text[80] | Specifies your company's name at the provider of the OCR service. | not editable |
| 9 | Customer ID | Text[50] | Specifies your company's customer ID at the provider of the OCR service. | not editable |
| 10 | Customer Status | Text[30] | Specifies your company's status at the provider of the OCR service. | not editable |
| 11 | Organization ID | Text[50] | — | not editable |
| 12 | Default OCR Doc. Template | Code[20] | Specifies the OCR template that must be used by default for electronic documents that are received from the OCR service. You can change the OCR template on the individual incoming document card before sending the related file to the OCR service. | TableRelation [Table 1271 "OCR Service Document Template"](../table/1271.md) (OCR Service Document Template) |
| 13 | Enabled | Boolean | Specifies if the service is enabled. |  |
| 14 | Master Data Sync Enabled | Boolean | Specifies whether or not the master data sync has been enabled. |  |
| 15 | Master Data Last Sync | DateTime | Specifies the last time when the master data was synched. |  |

## Keys

- Key1: Primary Key (clustered)

## Procedures

- `SavePassword(var PasswordKey: Guid; PasswordText: SecretText)`
- `GetPasswordAsSecretText(PasswordKey: Guid): SecretText`
- `HasPassword(PasswordKey: Guid): Boolean`
- `SetURLsToDefault()`
- `CheckEnabled()`
- `ScheduleJobQueueSend()`
- `ScheduleJobQueueReceive()`
- `ScheduleJobQueueSync()`
- `CancelJobQueueSend()`
- `CancelJobQueueReceive()`
- `CancelJobQueueSync()`
- `ShowJobQueueEntry()`

Plus 7 local procedures.

## Triggers

OnDelete, OnInsert, OnModify

## Relations

- Default OCR Doc. Template: TableRelation [Table 1271 "OCR Service Document Template"](../table/1271.md)

## Pages and codeunits on this table

- [Page 1270 "OCR Service Setup"](../page/1270.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 1293 "Isolated Storage Management"](../codeunit/1293.md) (4 calls: `DeletePassword → Delete`, `GetPasswordAsSecretText → Get`, `HasPassword → Get`, …)
- [Codeunit 1294 "OCR Service Mgt."](../codeunit/1294.md) (2 calls: `OnModify → GetFeatureTelemetryName`, `SetURLsToDefault → SetURLsToDefaultRSO`)
- [Codeunit 882 "OCR - Sync Master Data"](../codeunit/882.md) (2 calls: `CancelJobQueueSync → CancelJob`, `ScheduleJobQueueSync → ScheduleJob`)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (1 call: `OnModify → LogUptake`)
- [Page 672 "Job Queue Entries"](../page/672.md) (1 call: `ShowJobQueueEntry → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-26, BC28

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: "OCR Service Setup")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
