RUKKENZH
Задать вопрос AI
SectionsОбъекты конфигурации 1С
Directory "Hiring in the Organization Attached Files" (Accounting for Kazakhstan 3.0)
Язык статьи:🇷🇺 RU🇰🇿 KK🇬🇧 EN

Directory "Hiring in the Organization Attached Files" (Accounting for Kazakhstan 3.0)

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

1. Identification

Parameter Value
Object Type Catalog
Full Name Catalogs.HiringInOrganizationAttachedFiles
Object Name HiringInOrganizationAttachedFiles
Synonym Attached Files (Hiring in Organizations)
Configuration 1C:Accounting for Kazakhstan, edition 3.0, version 3.0.74.2
File Owner Document.HiringInOrganization
Subsystem “File Management” (BSP: FileManagement)

Purpose. A technical catalog that implements a file storage system attached to the documents “Hiring in Organization”. It is part of the file management subsystem of the Standard Subsystems Library (BSP). It serves to attach scans of employment contracts, hiring orders, applications, copies of identity documents, and other employee personnel documents to a specific hiring record.

The user does not work with this catalog directly — elements are created automatically when files are uploaded through the “Attached Files” panel of the owner document form. Each catalog element corresponds to one uploaded file (current version; versions are stored separately if versioning is enabled).

Where to find: direct navigation link to the list — e1cib/list/Catalog.HiringInOrganizationAttachedFiles. In normal mode, it opens from the document “Hiring in Organization” → command/panel “Attached Files”.


2. Attributes

2.1 Header Attributes

Name Type Mandatory Purpose
Author Catalog.Users Mandatory (ShowError) The user who uploaded the file. Automatically filled when the record is created.
FileOwner Document.HiringInOrganization Not mandatory Reference to the hiring document to which the file is attached. The main attribute for the “file → document” relationship.
UniversalModificationDate Date and time Not mandatory Date of the last modification of the file in UTC format. Used for synchronization and version control.
CreationDate Date and time Mandatory (ShowError) Date and time of the initial file upload. Automatically filled.
Encrypted Boolean Not mandatory Indicates whether the file is encrypted. Managed by the electronic signature and encryption subsystem.
ModifiedBy Catalog.Users Not mandatory The user who last modified the file or its attributes.
ImageIndex Number Not mandatory Numeric code of the file type icon for display in the list (doc, pdf, jpg, etc.).
Description String Not mandatory Text description of the file (name), entered by the user. Serves as the representation of the element.
SignedEP Boolean Not mandatory Indicates the presence of an electronic signature on the file.
FilePath String Not mandatory Path to the file on the disk volume (for external storage).
Size Number Not mandatory Size of the file in bytes. Displayed for volume control.
Extension String Not mandatory File extension (docx, pdf, jpg…). Determines the associated program for opening.
EditingUser Catalog.Users Not mandatory The user who has locked the file for editing (blocking for others).
TextExtractionStatus Enumeration.TextExtractionStatus Not mandatory Status of text extraction for full-text search.
TextStorage Value storage Not mandatory Extracted text of the document for full-text search.
FileStorageType Enumeration.FileStorageTypes Mandatory (ShowError) Method of storage: in the information base or on the disk volume. Critical parameter.
Volume Catalog.FileStorageVolumes Not mandatory Volume of file storage. Mandatory if FileStorageType = OnDisk.

Binary file data when stored “in the base” is not placed in the catalog attribute but in the subordinate information register (InformationRegister.AttachedFilesStorage / “Binary File Data” BSP). The attributes FileStorageType, Volume, and FilePath determine the location of the content.

2.2 Table Parts

This catalog does not have table parts — it is a flat file card element. The multiplicity of versions and digital signatures is implemented not through table parts but through separate BSP objects (version register, electronic signature information register).


3. Forms

For service catalogs of attached files, specific forms are generally not created, and common managed forms of the “File Management” subsystem of BSP are used. Practical list:

Form Purpose
ElementForm (or general CommonForm.AttachedFileForm) Card of a single file: attributes, buttons “Open”, “Edit/Finish Editing”, “Save As”, “Sign EP”, “Encrypt”.
ListForm (general CommonForm.AttachedFilesForm) Panel/list of files embedded in the form of the document “Hiring in Organization”: adding, uploading, deleting, viewing files.
SelectForm Selecting a file from the list of attached files (when accessed programmatically).

User interaction occurs through the attached files panel of the owner document; separately, the list is rarely opened from the menu (for administration/searching for lost files).


4. Key Module Procedures

There is usually no separate application BSL code (evidence for modules is not attached) for the catalog — all logic is implemented in the common BSP modules. Standard handlers and entry points for this type of object:

  • Object Module — BeforeWriting. Filling in service attributes: ModifiedBy, UniversalModificationDate; control that for FileStorageType = OnDisk the Volume is filled.
  • Object Module — BeforeDeleting. Initiates the deletion of binary data from the volume (for files on disk) and related versions through the BSP subsystem to avoid leaving “orphans” on the disk.
  • FileManagementService (common module). Main business logic: AddFile, UpdateFileVersion, WriteFileToDatabase, text extraction for full-text search, working with volumes.
  • FileManagementClientService / FileManagementClient. Client commands: opening, editing (locking via EditingUser), finishing editing, saving the modified file back.
  • ElectronicSignature*. Signing and encrypting the file with setting the attributes SignedEP, Encrypted.
  • UpdateDatabase. Registering the catalog as part of the attached files and processing the transition between storage methods (base ↔ volumes).

Specific paths path:string cannot be provided — evidence for BSL modules is absent in the source data; standard handlers for this type of object are listed.


5. Posting and Movements

The catalog is not posted and does not generate accounting entries and movements in accumulation/accounting registers — it is a file storage object, not a document. Accordingly, the chart of accounts of the RK (1210, 1030, 1330, 3310, 3130, 6010, 7010, etc.) and tax calculations are not applicable to it.

Data related to the element is placed in service registers of the “File Management” subsystem:

Object What it stores
Information Register of Binary File Data The actual content of the file when FileStorageType = InDatabase.
Information Register of File Versions History of versions (if versioning is enabled).
Information Register of Electronic Signatures EP data of the file (when SignedEP = True).
Volume on Disk (FileStorageVolumes) File at path FilePath when FileStorageType = OnDisk.

The financial and tax context (VAT rate 16%, MRP 4,325 ₸, MSP 85,000 ₸, deduction for individual income tax 30 MRP/month and no more than 360 MRP/year, individual income tax 10%/15%, OPP 10%, OPPR 3.5%, VOSMS 2%, OSMS 3%, CO 5%, social tax 6%, ESF/SNT) is implemented in personnel and payroll documents, not in the file catalog. It is provided here for reference to comply with the current values of the RK for 2026 and is not affected by this object.


  • Owner: Document.HiringInOrganization (attribute FileOwner). The lifecycle of the file is tied to the existence of the document.
  • Catalog.Users — attributes Author, ModifiedBy, EditingUser.
  • Catalog.FileStorageVolumes — attribute Volume (for files on disk).
  • Enumerations FileStorageTypes, TextExtractionStatus.
  • BSP Registers of binary data, versions, electronic signatures (see section 5).

Input on basis for this catalog is not provided and does not make sense — elements are created by the attached files mechanism, not by “Create on Basis” commands.


7. Extension Points

  • Configuration Extension: adding attributes to the file card (for example, type of personnel document, storage period) and columns to the list; overriding handlers BeforeWriting/BeforeDeleting of the object module.
  • BSP Programming Interfaces: FileManagement, FileManagementClient, FileManagementService — for programmatically adding/reading files of the hiring document.
  • Storage: transferring files “in base ↔ to volumes” through subsystem settings; when externally stored, control the filling of Volume and the availability of the volume directory.
  • Full-text Search: using TextExtractionStatus and TextStorage for indexing the content of personnel documents.
  • EP and Encryption: standard mechanisms for signing/encrypting with setting SignedEP and Encrypted — integration point with the cryptographic subsystem.

Requires verification (version-specific): the exact names of common forms and service registers of BSP depend on the version of the Standard Subsystems Library embedded in release 3.0.74.2 — verify against the composition of objects of the specific configuration.

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

Does this directory generate accounting entries?
No. This is a service directory-storage for attached files; it does not generate or create movements in the accounting or accumulation registers. Entries are generated by documents from the personnel/payroll module, not by the file card.
How can a user add a file to this directory?
Directly — it is not necessary. Files are added through the "Attached Files" panel in the "Hiring in the Organization" document form; the system automatically creates a directory item and fills in the OwnerOfFile attribute.
Where is the file content physically stored?
It is determined by the FileStorageType attribute: when stored "in the information base," binary data is located in the information register of the file management subsystem, and when stored "on disk" — in the volume (Directory.FileStorageVolumes) at the FilePath.
How to directly open the list of these files?
By the navigation link e1cib/list/Directory.HiringInOrganizationAttachedFiles. In regular operation, the list is opened from the owner document itself.
What happens to the files when the hiring document is deleted?
The files are linked to the document through OwnerOfFile; when deleted, the subsystem initiates the removal of binary data from the volume and related versions through the BeforeDelete handler to avoid leaving "orphaned" files.

Read also

Источники

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