---
id: object/codeunit/884
type: object
title: Codeunit 884 "ReadSoft OCR Master Data Sync"
summary: Codeunit 884 "ReadSoft OCR Master Data Sync" in Base Application (Microsoft.EServices.EDocument). 3 public procedures, 3 events. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  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: 01963282afd3d430e734226914fd68f852c07489192bb6179252b13d80cd9b0e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/eServices/EDocument/ReadSoftOCRMasterDataSync.Codeunit.al
    title: src/Layers/W1/BaseApp/eServices/EDocument/ReadSoftOCRMasterDataSync.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/ch
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 884
name: ReadSoft OCR Master Data Sync
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: []
source_major: "29"
obsolete: null
countries:
  - ch
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 33
  events: 3
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 2
  implements: 0
---

# Codeunit 884 "ReadSoft OCR Master Data Sync"

> Codeunit 884 "ReadSoft OCR Master Data Sync" in Base Application (Microsoft.EServices.EDocument). 3 public procedures, 3 events. Present since at least BC23, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "OCR Service Setup" = rm |

## Events published

- `OnBeforeSendRequest(Body: Text)` (integration)
- `OnBeforeGetVendorBankAccounts(var TempBlobList: Codeunit "Temp Blob List"; StartDateTime: DateTime; EndDateTime: DateTime; var XmlOptions: XmlWriteOptions; var IsHandled: Boolean)` (integration)
- `OnGetPortionSize(var PortionSize: Integer; var Handled: Boolean)` (integration)

## Procedures

- `SyncMasterData(Resync: Boolean; Silent: Boolean): Boolean`
- `ResetLastSyncTime()`
- `IsSyncEnabled(): Boolean`

Plus 27 local procedures.

## Triggers

OnRun

## 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 1294 "OCR Service Mgt."](../codeunit/1294.md) (6 calls: `CheckOrganizationId → UpdateOrganizationInfo`, `ParseServiceError → LogActivityFailed`, `ParseUpdateResult → LogActivitySucceeded`, …)
- [Codeunit 4102 "Temp Blob List"](../codeunit/4102.md) (5 calls: `AddToBuffer → Add`, `GetMasterDataEntitiesXml → (object)`, `GetMasterDataEntitiesXml → Get`, …)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (3 calls: `AddToBuffer → CreateOutStream`, `GetFromBuffer → CreateInStream`, `GetFromBuffer → HasValue`)

## Called by

- [Codeunit 882 "OCR - Sync Master Data"](../codeunit/882.md) (3 calls: `ResetLastSyncTime → ResetLastSyncTime`, `ScheduleJob → IsSyncEnabled`, `SyncMasterData → SyncMasterData`)
- [Page 27 "Vendor List"](../page/27.md) (1 call: `OnOpenPage → IsSyncEnabled`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

## Countries that replace it

[CH](../../localizations/ch.md)

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: "codeunit", object_name: "ReadSoft OCR Master Data Sync")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
