RUKKENZH
Задать вопрос AI
SectionsОбъекты конфигурации 1С
Document "Data Exchange Scenarios" - Technical Description (Accounting for Kazakhstan 3.0.74.2)
Язык статьи:🇷🇺 RU🇰🇿 KK🇬🇧 EN🇨🇳 ZH
Версия статьи:📘 Для бухгалтера⚙️ Для тех-специалиста

Document "Data Exchange Scenarios" - Technical Description (Accounting for Kazakhstan 3.0.74.2)

1
Applies to: 1С:Бухгалтерия для Казахстана, release 3.0.74.2 · by 1C-Sapa Group, 1C partner
СТ
Сапа Т.И. — Эксперт по 1С и бухгалтерскому учёту, преподаватель-практик

1. Identification

Parameter Value
Metadata Object Type Document (Documents)
Name DataExchangeScenarios
Full Name Document.DataExchangeScenarios / Documents.DataExchangeScenarios
Synonym — (not specified in the delivery)
Configuration Accounting for Kazakhstan, edition 3.0, version 3.0.74.2
Object Class Service (technical) document of the data exchange subsystem

Purpose. The object is intended for configuring and centrally managing automated data synchronization processes between 1C information bases. Each element describes one exchange scenario: a set of recipient/sender nodes, types of message transport, direction of actions (upload/download), and scheduling parameters through a scheduled task. It is used by administrators and integration specialists during the initial setup of distributed accounting systems and when changing the exchange topology. Work with the object is rare — episodic, during the deployment and support of integrations.

Important by type. In terms of accompanying materials, the object may be referred to as a "reference" — this is an inaccuracy in description. According to the metadata of the configuration, this is a Document (Document.DataExchangeScenarios). Below, the structure is described as for a document.

Where to find in 1C:

  • Navigation link: e1cib/list/Document.DataExchangeScenarios
  • Through the interface: section “Administration” → “Data Synchronization” → “Data Synchronization Scenarios” (in some releases, the item is called “Schedule Configuration for Data Exchange”).

2. Header Attributes and Table Parts

2.1. Header Attributes

Name Type Mandatory Purpose
UseScheduledTask Boolean Not checked Flag for activating automatic execution of the scenario according to schedule. When set, the system creates/enables the associated scheduled task.
Comment String Not checked Arbitrary text description of the scenario for the convenience of the administrator.
ScheduledTaskGUID String Not checked Unique identifier of the associated scheduled task in the system. Service field, filled and maintained automatically; not edited manually.
DisabledAutomatically Boolean Not checked Indicator of automatic disabling of the scenario by the system in case of repeated synchronization errors (for example, when a node is unavailable or subscription limits are exceeded).

Standard document attributes (Date, Number, Posted, DeletionMark, Reference) are used in a service role: date and number identify the scenario record, the posting indicator is not used in standard logic (see section 5).

Note. All application attributes are optional for user filling. ScheduledTaskGUID and DisabledAutomatically are managed by the system.

2.2. Table Part “ExchangeSettings”

Synonym: “Synchronization Settings”. Contains a list of synchronization operations performed within one scenario. Each row describes one action with one exchange plan node.

Name Type Purpose
NodeOfInformationBase ExchangePlanReference.* Node of the exchange plan (specific information base) with which the exchange is performed.
TypeOfExchangeTransport EnumerationReference.MessageTransportTypes Method of data transmission: COM connection, web service, file directory, FTP, etc.
ActionPerformed EnumerationReference.ExchangeActions Type of operation: unloading changes, loading changes, or both actions.

Purpose of the Table Part. Allows describing a sequence of synchronization steps with different nodes and different exchange directions within one scenario, executed automatically according to a single schedule. The order of rows determines the sequence of operations.


3. Forms

Form Type Purpose
ListForm / DataExchangeScheduleConfiguration List Main entry point: view all scenarios, create and edit, enable/disable automatic execution, manual start of exchange.
DocumentForm (element form) Element Edit a specific scenario: header attributes, fill the Table Part “ExchangeSettings”, configure and bind the schedule of the scheduled task.
Schedule Configuration Form (auxiliary / from BSP) Service Standard schedule dialog (ValueToStringInternal of the scheduled task) for launch parameters.

If in a specific build 3.0.74.2 the set of forms differs, refer to the main list form (navigation link from section 1) — it is the working interface of the object.


4. Key Procedures of Modules

BSL sources for this object are not attached in evidence, so below is a typical set of handlers for documents of this purpose. Specific names/lines should be clarified in the object module and form modules of the corresponding build.

Object Module:

  • FillProcessing(FillingData, ...) — pre-filling a new scenario (default values for flags and Table Parts).
  • BeforeWriting(Refusal, WriteMode, PostingMode) — control of the correctness of settings before saving.
  • OnWriting(Refusal) — synchronization of the scheduled task state with the attributes UseScheduledTask / ScheduledTaskGUID: creation, update, or disabling of the task.
  • ProcessingPosting(Refusal, PostingMode) — in standard logic does not generate accounting entries (see section 5); if implemented, usually empty or absent.

Application Logic of Exchange (object module / common module of the exchange subsystem):

  • Scenario execution procedure (conditionally ExecuteExchangeByScenario) — sequential iteration over the rows of the Table Part “ExchangeSettings” and calling the synchronization mechanism for each node considering TypeOfExchangeTransport and ActionPerformed.
  • Scheduled task management procedures — creating a task by GUID, setting the schedule, enabling/disabling, automatic disabling in case of repeated errors (setting DisabledAutomatically).

Form Module (list/element):

  • OnCreationOnServer — initialization of visibility and availability of elements.
  • Form commands: “Execute Exchange” (manual start of the scenario), “Configure Schedule”, “Enable/Disable Automatic Execution”.
  • Handlers for reacting to changes in the flag UseScheduledTask (managing the availability of schedule settings).

5. Posting and Movements

The object is not an accounting document and does not generate accounting entries and movements in accounting registers. This is a service document of the data exchange subsystem. Accordingly:

  • It does not make entries in the accounting register (standard chart of accounts of the RK: 1210, 1030, 1330, 3310, 3130, 6010, 7010, etc.) — these accounts are not related to exchange scenarios.
  • It does not participate in tax and contribution calculations (VAT 16%, PIT, social contributions, OSMS/VOSMS, social tax) and in the formation of electronic documents (ESF/SNT). These mechanisms are implemented by specialized accounting documents, not by the exchange scenario.
  • The “result of the object’s work” is synchronization operations: unloading/loading changes for the specified exchange plan nodes, recording service information about the progress and status of the exchange (registration log, service information registers of the exchange subsystem, updating the status of the scheduled task).

The posting indicator in the standard configuration for this document is functionally not used; the “launch” of the scenario is performed by a command (manual or scheduled), not by posting the document.

Requires verification (version-specific): in some releases, the posting mode for the document may be set to “Prohibit”. Clarify the value of the “Posting” property of the object in the specific build 3.0.74.2.


Connection Object Nature of Connection
Exchange Nodes ExchangePlan.* (any exchange plan of the configuration) Table Part “ExchangeSettings” refers to specific nodes of information bases.
Transport Enumeration.MessageTransportTypes Defines the method of transmission for each row.
Action Enumeration.ExchangeActions Defines the direction of exchange for each row.
Schedule Scheduled Task (ScheduledTaskGUID) Automatic launch of the scenario; managed through the flag attribute and service GUID.
Transport Settings Information registers of the exchange subsystem (connection parameters COM/WS/FTP/file) Store connection attributes to nodes used during execution.

Input Based On. For a service document of this purpose, input based on and use as a basis in the standard delivery are not provided.


7. Extension Points

  • Configuration Extension: intercept OnWriting / scenario execution procedures to add custom logic (notifications to the administrator, additional validation of topology, custom error handling).
  • Additional processing before/after exchange: implementation of data preparation or post-processing steps in the iteration cycle of the Table Part “ExchangeSettings”.
  • Event logic for nodes: reaction to changes in the composition of ExchangeSettings for auto-configuration of transport.
  • Monitoring and notifications: processing the DisabledAutomatically indicator for escalation in case of repeated failures (for example, integration with a notification system).
  • Form extension: adding commands for manual launch of individual scenario rows, diagnosing connection with the node, viewing the log of the last exchange.

When making modifications, maintain separation: accounting logic (entries, taxes, ESF/SNT) — in specialized accounting documents, while this object is solely responsible for orchestrating data synchronization.

Частые вопросы

Does the document "DataExchangeScenarios" generate accounting entries?
No. This is a service document of the data exchange subsystem. It does not make entries in the accounting register, does not calculate taxes and contributions, and does not generate electronic invoices (ESF) or tax return forms. Its result is synchronization operations (export/import of changes by nodes of the exchange plan) and updating service information.
Is it a reference or a document?
According to the configuration metadata, it is a Document (Document.DataExchangeScenarios). The term "reference" found in some materials is an inaccuracy in description.
How is the exchange scenario launched?
In two ways: manually with the "Execute Exchange" command from the list/item form and automatically on schedule through a scheduled task if the "UseScheduledTask" flag is set. The binding to the task is stored in the service field ScheduledTaskGUID.
What does the attribute "AutomaticallyDisabled" mean?
This is an indicator that the system has automatically disabled the scenario due to recurring synchronization errors (node unavailability, transport errors, exceeding limits). After resolving the issue, the scenario needs to be enabled again.
Where can the object be found in the interface?
Section "Administration" → "Data Synchronization" → "Data Synchronization Scenarios", or via the navigation link e1cib/list/Document.DataExchangeScenarios.

Read also

Источники

Была ли статья полезна?
💼 Нужна помощь с 1С или учётом? Слава КВЦ — многолетняя практика в 1С в Казахстане. Изучите разложенный НК РК 2026 или спросите в чате BuhGPT — ответит за секунды.