In the Trade Management for Kazakhstan configuration, release 3.4.5.21, the «ЭлектронныйДокументИсходящийЭДО» document stores outgoing electronic document interchange data, including the organization and recipient, document type, signing route, interchange identifiers, dates, and processing statuses.
1. Identification
| Parameter | Value |
|---|---|
| Object type | Document (Documents) |
| Name | ЭлектронныйДокументИсходящийЭДО |
| Full path | Документ.ЭлектронныйДокументИсходящийЭДО |
| Synonym | «Outgoing electronic document» |
| Configuration | Trade Management for Kazakhstan, 3.4.5.21 |
| Subsystem | EDI (electronic document interchange) |
| Numbering | String, length 11, nonperiodical (Nonperiodical) |
| Posting | Internal document of the EDI subsystem. See section 5 for register records. |
Purpose. The object belongs to the electronic document interchange subsystem and represents an outgoing electronic document sent to a counterparty. It stores interchange transmission data, including workflow identifiers, the route, signature type, and dates and statuses for sending, signing, and cancellation. In the document card, users can view the contents, sign the document with an electronic digital signature, and perform the interchange operations available in the configuration.
Accessing the object: the infobase uses the technical navigation link e1cib/list/Документ.ЭлектронныйДокументИсходящийЭДО. Electronic invoices and accompanying notes for goods (ANGs) are processed in the Electronic Invoice Information System (EI IS), Virtual Warehouse, and ANGs.
2. Header attributes and tabular sections
2.1 Header attributes
| Name | Type | Required | Purpose |
|---|---|---|---|
| Организация | СправочникСсылка.Организации | Yes | Legal entity on whose behalf the document is issued. |
| Контрагент | СправочникСсылка.Контрагенты | No | Legal entity receiving the electronic document. |
| ДоговорКонтрагента | СправочникСсылка.ДоговорыКонтрагентов | No | Contract under which the interchange takes place. |
| ВидДокумента | СправочникСсылка.ВидыДокументовЭДО | Yes | Type of document being sent. |
| ТипРегламента | ПеречислениеСсылка.ТипыРегламентовЭДО | Yes | Type of procedure governing the electronic interchange. |
| СпособОбмена | ПеречислениеСсылка.СпособыОбменаЭД | Yes | Electronic interchange method used. |
| МаршрутПодписания | СправочникСсылка.МаршрутыПодписания | Yes | Route for document approval and signing. |
| ВидПодписи | ПеречислениеСсылка.ВидыЭлектронныхПодписей | No | Type of electronic signature used. |
| ИдентификаторДокументооборота | String | Yes | End-to-end workflow identifier. |
| ИдентификаторОрганизации | String | No | Organization identifier in the interchange system. |
| ИдентификаторКонтрагента | String | No | Counterparty identifier in the interchange system. |
| ИдентификаторСвязи | String | No | Technical identifier for the link between interchange objects. |
| НомерДокумента | String | No | Number of the linked source document. |
| ДатаДокумента | Date | No | Date of the linked source document. |
| ДатаОтправки | Date | No | Date the electronic document was sent to the recipient. |
| ДатаПодписания | Date | No | Date the document was electronically signed. |
| ДатаАннулирования | Date | No | Date the document was cancelled. |
| СуммаДокумента | Number | No | Total amount of the electronic document. |
| ВыгружатьДополнительныеСведения | Boolean | No | Indicates whether to include additional information in the interchange package. |
| СодержитМаркируемыеТовары | Boolean | No | Indicates whether the document contains goods subject to marking. |
| Исправлен | Boolean | No | Indicates whether the document is a corrected document. |
| ОбменБезПодписи | Boolean | No | Indicates whether the interchange takes place without an electronic signature. |
| ТребуетсяПодтверждение | Boolean | No | Indicates whether confirmation of receipt is required. |
| ТребуетсяИзвещение | Boolean | No | Indicates whether a notification or receipt is required. |
| НаОзнакомлении | Boolean | No | Indicates that the document is under review. |
| Остановлен | Boolean | No | Indicates that the workflow is suspended. |
| ПричинаОстановки | ПеречислениеСсылка.ПричиныОстановкиЭДО | No | Reason for suspending the workflow. Used with the Остановлен flag. |
| Ответственный | СправочникСсылка.Пользователи | No | User responsible for processing the document. |
| Комментарий | String | No | User comment. |
The table lists the attributes documented for this object. To view the complete metadata for a specific infobase, go to Configuration → Open configuration → Documents → ЭлектронныйДокументИсходящийЭДО → Data in Designer.
2.2 Tabular sections
This metadata description does not list individual tabular sections for the object. The contents of the electronic document are linked to the source document and the electronic interchange package, and the СуммаДокумента attribute stores the total amount. To view the tabular sections in the installed configuration, go to Configuration → Open configuration → Documents → ЭлектронныйДокументИсходящийЭДО → Data → Tabular sections.
3. Forms
To view the forms added to the object in the installed configuration, go to Configuration → Open configuration → Documents → ЭлектронныйДокументИсходящийЭДО → Forms. This type of document uses the following forms.
| Form | Purpose |
|---|---|
| Document form (ФормаДокумента) | Electronic document card with interchange attributes, processing status, and commands for signing, sending, and viewing the contents. |
| List form (ФормаСписка) | List of outgoing electronic documents with filters for organization, counterparty, document type, and processing status. |
| Selection form (ФормаВыбора) | Lets users select an electronic document from related configuration objects. |
The main form, list form, and selection form let users work with the document card, select an object, and monitor outgoing interchange. The commands available on each form depend on its attributes, commands, and form module in release 3.4.5.21.
4. Key module procedures
The list of handlers comes from static analysis of the BSL modules without running the code. Handler names appear as defined in the object module.
Object module (ObjectModule)
| Handler | Length | Purpose |
|---|---|---|
| ОбработкаЗаполнения | 3 lines | Runs when a new object is populated, including when it is created based on related data. |
| ПередЗаписью | 20 lines | Runs before the document is written and processes its attributes and electronic interchange data. |
| ПриЗаписи | 13 lines | Runs when the object is written and processes related EDI data as specified in the code. |
| ПриКопировании | 4 lines | Runs when a new document is created by copying an existing object. |
| ПередУдалением | 7 lines | Runs before the object is deleted and processes its related data. |
Common module dependencies by number of calls
ЭлектронныеДокументыЭДО — 4 calls, ОбщегоНазначенияБЭД — 2, ЭлектронныеДокументыЭДОКлиентСервер — 2, ОбщегоНазначения — 1, ОбщегоНазначенияКлиентСервер — 1, РаботаСПрочтениямиВызовСервера — 1, ИнтеграцияЭДО — 1.
These dependencies connect the object to shared electronic document interchange mechanisms, configuration utility functions, read status processing, and EDI integration. The procedure code in the release 3.4.5.21 object module determines the exact call order and the parameters passed.
5. Posting and register records
Static analysis shows that the RegisterRecords list for ЭлектронныйДокументИсходящийЭДО is empty. The document stores electronic interchange settings and status data, including identifiers, the route, and information on signing, sending, notification, suspension, and cancellation.
The linked source document records the business transaction. The EDI document links that transaction to the interchange package and lets users track its processing stages. Accountants therefore use the linked source document to analyze amounts, balances, and settlements, and the outgoing electronic document card to track delivery and signing.
Electronic invoices and accompanying notes for goods also use the Electronic Invoice Information System (EI IS), Virtual Warehouse, and ANGs. Accountants can use it to match a document to infobase data by number, date, parties to the interchange, and processing status.
6. Related objects and creation based on other objects
- Related documents: source documents and electronic documents for which an outgoing interchange package is created.
- Catalogs: ВидыДокументовЭДО, МаршрутыПодписания, Организации, Контрагенты, ДоговорыКонтрагентов, Пользователи.
- Enumerations: ТипыРегламентовЭДО, СпособыОбменаЭД, ВидыЭлектронныхПодписей, ПричиныОстановкиЭДО.
- Object creation: the document is created when the configuration runs an outgoing electronic interchange workflow. The ИнтеграцияЭДО and ЭлектронныеДокументыЭДО mechanisms link it to the source data.
- Response data: statuses, notifications, and other processing results are matched to the outgoing workflow by its identifiers.
To trace the links for a specific document instance, use its attributes, workflow identifier, and document card commands. To find references to the object in Designer, go to Edit → Global search and search for ЭлектронныйДокументИсходящийЭДО.
7. Extension points
- Object module handlers: ПередЗаписью, ПриЗаписи, ОбработкаЗаполнения, ПриКопировании, and ПередУдалением let you add logic through a configuration extension.
- Common EDI modules: ЭлектронныеДокументыЭДО, ЭлектронныеДокументыЭДОКлиентСервер, and ИнтеграцияЭДО help process interchange data and coordinate interactions between objects.
- Forms: a form extension lets you add commands, interface attributes, and handlers for user actions.
- Event subscriptions: these run additional processing on document write events without modifying the standard object.
- Additional attributes and information: these store custom data using the mechanism provided by the configuration.
Before developing an extension, record the complete set of attributes, tabular sections, forms, and procedures for the object in release 3.4.5.21. To open the metadata, go to Configuration → Open configuration → Documents → ЭлектронныйДокументИсходящийЭДО. Implement changes in a configuration extension and verify the order in which the handlers run.
Questions and answers
Where can I find ЭлектронныйДокументИсходящийЭДО in Designer?
Go to Configuration → Open configuration → Documents → ЭлектронныйДокументИсходящийЭДО. The attributes and tabular sections are on the «Data» tab, the forms are under «Forms», and the object's program logic is in the object module.
How do I open the list of outgoing documents using a technical link?
In the infobase, use the navigation link e1cib/list/Документ.ЭлектронныйДокументИсходящийЭДО. It opens the list form assigned to the object in the configuration.
What data helps match the document to an external interchange?
Use the workflow identifier, organization and counterparty identifiers, document number and date, and the dates of sending, signing, and cancellation. You can check electronic invoices and accompanying notes for goods in the Electronic Invoice Information System (EI IS), Virtual Warehouse, and ANGs.
Where do I check the sending status and review the business transaction?
Check the electronic interchange status in the ЭлектронныйДокументИсходящийЭДО card using the identifiers, dates, and processing flags. Accountants verify the business transaction details against the linked source document.
What should I check before customizing the object through an extension?
Record the metadata for release 3.4.5.21 and review the object module handler code and the common modules it uses. Then determine where to attach the extension and when the added logic should run.
