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

Directory "Virtual Warehouses of Counterparties" - Technical Description (Accounting for Kazakhstan 3.0.74.2)

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

1. Identification of the object

Parameter Value
Object Type Catalog
Name VirtualWarehousesOfCounterparty
Full Name Catalog.VirtualWarehousesOfCounterparty
Synonym not set (—)
Configuration Accounting for Kazakhstan, ed. 3.0.74.2
Country of Accounting Republic of Kazakhstan, currency — tenge (₸)
Navigation Link e1cib/list/Catalog.VirtualWarehousesOfCounterparty

Purpose. The catalog stores a list of virtual (remote) warehouses owned by the counterparties of the organization. It is used in logistics and trade scenarios of electronic document flow in Kazakhstan: when issuing electronic invoices (ESF) and accompanying invoices (SNT), it is necessary to specify the counterparty's warehouse identified in its external system. Each virtual warehouse receives a unique numerical identifier (id), under which it is known in the counterparty's external system, ensuring correct API integration and matching of warehouses during data exchange.

Where to find in 1C: section “Sales” → “Virtual Warehouses of Counterparties”; or through the command “Update Virtual Warehouses” in the data retrieval wizard. Direct navigation — via the link e1cib/list/Catalog.VirtualWarehousesOfCounterparty.


2. Attributes and Table Parts

2.1 Header Attributes

Name Type Mandatory Purpose
Name (standard) String Mandatory The name of the virtual warehouse, displayed in lists and selection forms. Standard attribute of the catalog.
Counterparty CatalogReference.Counterparties Mandatory (ShowError) The counterparty-owner of the virtual warehouse. The record cannot be saved without filling this field — control at the level of filling verification.
WarehouseIdentifier Number (xs:decimal) Optional (DontCheck) Unique numerical identifier (id) of the warehouse in the counterparty's external system. Key for matching during API integration and exchange of ESF/SNT.
Address String (xs:string) Optional (DontCheck) Physical address of the counterparty's warehouse. Informational field, used for display in documents and printed forms.
Status EnumerationReference Optional (DontCheck) Status of the warehouse's activity (e.g., “Active” / “Blocked”). Affects the ability to select the warehouse in documents: blocked warehouses are filtered out.

2.2 Table Parts

There are no table parts. All data is stored in header attributes — the catalog is flat, one record = one virtual warehouse of one counterparty.


3. Forms

Form Role Composition/features
ListForm Main form for the list of warehouses ~41 control elements. Contains commands for working with the data retrieval wizard and setting the main warehouse.
ElementForm Creation/editing of a single warehouse ~27 elements. Input fields: Name, Address, Counterparty, WarehouseIdentifier. Key form for manual maintenance.
SelectionForm Selecting a warehouse from the list ~37 elements. Supports filtering by Status and Counterparty, contains a command to call the wizard. Invoked from documents when selecting the counterparty's warehouse.

4. Key Procedures of Modules

The application BSL code in evidence is not attached, so below is a typical set of handlers for a catalog of this purpose (integration). Specific lines/names are clarified according to the configurator of this assembly.

Object Module (FillingVerificationProcessing)

  • Control of the mandatory attribute Counterparty (ShowError): if the counterparty is not filled, the record is rejected with a message to the user.
  • Attributes Address, WarehouseIdentifier, Status are excluded from verification (DontCheck).

Object Module (BeforeSaving)

  • Normalization/checking the uniqueness of WarehouseIdentifier in the context of the counterparty (to prevent the same external id from being duplicated during exchange).

Element Form Module

  • OnCreationOnServer — initial setup of field availability and setting the default status.
  • Handlers for changing Counterparty — resetting filtering and clearing/recalculating dependent fields.

List/Selection Form Module

  • Command “Update Virtual Warehouses” — launching the data retrieval wizard: calling the counterparty's API, loading the list of warehouses and their identifiers, creating/updating catalog elements.
  • Command for setting the main warehouse — marking the warehouse to be used by default in documents.
  • Setting filters for the selection form by Status and Counterparty.

Requires verification (version-specific): the exact protocol/address of the data retrieval wizard's API and the algorithm for deduplicating warehouses may differ between assemblies 3.0.7x.


5. Posting and Movements

The catalog is not posted and does not independently generate movements in registers and accounting entries — it is normative-reference information (NRI). Records create/change movements only indirectly, as analytics in documents where the counterparty's warehouse is specified.

Data from the catalog is used in sales/purchase documents and electronic document flow (ESF/SNT). When posting such documents, standard movements for the RK are formed (accounts — according to the typical chart of accounts of the RK, VAT rate 16%):

Example: sale of goods with issuance of ESF (tenge)

Dr Cr Content
1210 6010 Reflected receivables from the buyer and income from sales (excluding VAT)
1210 3130 VAT on sales, 16% (to be paid)
7010 1330 Cost of goods sold written off

Example: receipt/payment (tenge)

Dr Cr Content
1330 3310 Receipt of goods, payables to the supplier
3310 1030 Payment to the supplier from the current account

The virtual warehouse of the counterparty acts as analytics/attribute of the electronic document (SNT/ESF) and is included in the XML export to the ESF IS by its WarehouseIdentifier; it does not affect the composition of entries.


  • Catalog.Counterparties — owner of the virtual warehouse (attribute Counterparty).
  • Documents ESF and SNT — consumers of the catalog: the counterparty's warehouse is specified when issuing electronic documents and is transmitted to external systems by WarehouseIdentifier.
  • Data Retrieval Wizard (“Update Virtual Warehouses”) — source of automatic filling of the catalog through the counterparty's API.
  • Enumeration of statuses — source of values for the Status attribute.

Input Based On. As a source for input based on, the catalog is generally not used. Filling is performed manually (ElementForm) or automatically through the data retrieval wizard/API exchange.


7. Extension Points

  • Configuration Extension: adding attributes (e.g., region code, warehouse type, validity period), adding custom commands in ListForm/SelectionForm, overriding FillingVerificationProcessing and BeforeSaving through extension handlers.
  • Event Subscriptions: BeforeSaving/OnSaving of the catalog — for logging changes or cascading synchronization with an external system.
  • Integration: refinement of the data retrieval wizard for a specific counterparty API; matching external id during loading; deduplication by the pair “Counterparty + WarehouseIdentifier.”
  • Filters for selection forms: programmatic addition of filters (by region, main warehouse indicator) for selection in ESF/SNT documents.
  • Additional attributes and information (BSP mechanism) — if it is necessary to expand the card without changing the configuration.

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

Does the directory VirtualCounterpartiesWarehouses generate entries upon recording?
No. This is regulatory and reference information (NRI); the directory does not generate or create movements. Entries are generated by documents (sales, electronic invoice (ESF), VAT invoices), where the counterpart's warehouse is used as an analytical attribute. Example of implementation in the RK: Dr 1210 Cr 6010 (income), Dr 1210 Cr 3130 (VAT 16%), Dr 7010 Cr 1330 (cost).
What attributes are mandatory for saving an element?
The standard Name and the Counterparty attribute (control ShowError) are mandatory. The attributes WarehouseIdentifier, Address, and Status are optional (DontCheck). It is impossible to save the record without specifying the counterparty.
What is the purpose of the WarehouseIdentifier?
This is a unique numerical ID of the warehouse in the external system of the counterparty. It serves as a matching key during API integration and exchange of electronic documents ESF/VAT invoices, is exported to the ESF information system, and allows for a clear link between the directory record and the external warehouse.
How is the directory filled?
In two ways: manually through the ElementForm and automatically through the data retrieval assistant (the "Update virtual warehouses" command), which accesses the counterparty's API, loads the list of warehouses and their identifiers, creating or updating elements.
Where to open the list in the interface?
Section "Sales" → "Virtual warehouses of counterparties", or via the navigation link e1cib/list/Directory.VirtualCounterpartiesWarehouses.

Read also

Источники

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