In the «Trade Management for Kazakhstan» configuration, edition 3.4, version 3.4.5.21, the «Inventory Allocation Adjustment» document transfers an inventory balance from its original allocation to a new one and is used as a separate adjustment transaction.
1. Identification
| Parameter | Value |
|---|---|
| Object type | Document (Documents) |
| Name | КорректировкаНазначенияТоваров |
| Full path | Документ.КорректировкаНазначенияТоваров |
| Display name | «Inventory Allocation Adjustment» |
| Configuration | «Trade Management for Kazakhstan», edition 3.4, version 3.4.5.21 |
| Numbering | Type «String», length 11, frequency «Yearly» |
| Where to find it in 1C | Main menu → «Functions for Technical Specialists» → «Documents» → «Inventory Allocation Adjustment». Direct navigation link: e1cib/list/Документ.КорректировкаНазначенияТоваров |
Purpose. The document changes the allocation used to track inventory separately for a specific order, activity, or other accounting dimension. Use it to replace a previously recorded allocation while leaving the source document intact. A separate transaction transfers the balance between allocation values.
The document is typically used by an accountant, an inventory accounting specialist, or a manager responsible for order fulfillment. Before posting, specify the organization, the original and new allocations, the warehouse, the item, and the quantity.
2. Header fields and tabular sections
2.1 Header fields
| Name | Type | Required | Purpose |
|---|---|---|---|
| Организация | СправочникСсылка.Организации | Yes | Organization on whose behalf the document is created. |
| ВидОперации | ПеречислениеСсылка.ВидыОперацийКорректировкиНазначения | Yes | Determines how the document is processed and which fields it uses. |
| Назначение | СправочникСсылка.Назначения | No | Inventory allocation at the document level. |
| ДокументПоРаспоряжению | Boolean | No | Indicates that the document was created from an instruction or a source order. |
| ВидыЗапасовУказаныВручную | Boolean | No | Indicates that the user entered the inventory types in the tabular section. |
| Комментарий | String | No | Free-text note about the adjustment. |
2.2 «Items» tabular section (16 columns)
| Name | Type | Purpose |
|---|---|---|
| Номенклатура | СправочникСсылка.Номенклатура | Item whose allocation is being changed. |
| Характеристика | СправочникСсылка.ХарактеристикиНоменклатуры | Item characteristic, if characteristics are tracked for the item. |
| Упаковка | СправочникСсылка.УпаковкиЕдиницыИзмерения | Packaging used for the item. |
| КоличествоУпаковок | Number | Number of packages. |
| Количество | Number | Quantity in storage units of measure. |
| Склад | СправочникСсылка.Склады | Warehouse where the balance being adjusted is tracked. |
| Помещение | СправочникСсылка.СкладскиеПомещения | Warehouse room, if rooms are used. |
| Ячейка | СправочникСсылка.СкладскиеЯчейки | Warehouse bin, if bin locations are tracked. |
| ИсходноеНазначение | СправочникСсылка.Назначения | Allocation from which the quantity is transferred. |
| НовоеНазначение | СправочникСсылка.Назначения | Allocation to which the quantity is transferred. |
| Серия | СправочникСсылка.СерииНоменклатуры | Item lot or serial number, if lot or serial tracking is enabled. |
| СтатусУказанияСерий | Number | Internal status indicating whether lot or serial information has been entered for the row. |
| АналитикаУчетаНоменклатуры | СправочникСсылка.КлючиАналитикиУчетаНоменклатуры | Key for the original item accounting dimensions. |
| ИсходноеНазначениеДвиженияПоСкладскимРегистрам | Boolean | Internal flag for processing the original allocation in warehouse registers. |
| Заказ | Composite type | Order or other instruction associated with the allocation. |
| АналитикаУчетаНоменклатурыОприходование | СправочникСсылка.КлючиАналитикиУчетаНоменклатуры | Accounting dimension key for recording the quantity under the new allocation. |
The key pair in each row is «ИсходноеНазначение» → «НовоеНазначение». It determines the direction of the transfer. The item, characteristic, lot or serial number, warehouse, and quantity identify the balance to which the adjustment applies.
2.3 «ВидыЗапасов» tabular section (10 columns)
This tabular section breaks down the transaction by inventory type. The key field «ВидЗапасов» has the type СправочникСсылка.ВидыЗапасов and identifies the category of inventory being tracked, such as owned goods, consignment goods, goods held for safekeeping, or another configured type.
By default, the document populates this section automatically. When the «ВидыЗапасовУказаныВручную» flag is set, the user is responsible for ensuring that the rows match the «Items» section. Before posting, compare the items, quantities, warehouse dimensions, and allocations in both tabular sections.
3. Forms
| Form | Purpose |
|---|---|
| ФормаДокумента | Main form for entering and editing the document. It contains the header fields, the «Items» and «ВидыЗапасов» tabular sections, and the commands for saving and posting. |
| ФормаСписка | List of documents. Open it from «Functions for Technical Specialists» or using the navigation link e1cib/list/Документ.КорректировкаНазначенияТоваров. |
| ФормаВыбора | Used to select a reference to the document from another configuration object. |
The main document form in version 3.4.5.21 determines which elements are available. To examine additional forms and commands, open the configuration in «Designer» mode and go to «Configuration» → «Open Configuration» → «Documents» → «КорректировкаНазначенияТоваров» → «Forms».
4. Key module procedures
The procedures below belong to the object module and handle document processing. The handler names match those in the configuration.
Object module (ObjectModule)
| Handler | Length | Function |
|---|---|---|
| ОбработкаПроведения | 39 lines | Prepares the document's register entries and delegates calculations to the common modules ПроведениеСерверУТ, ЗапасыСервер, ДоходыИРасходыСервер, and СкладыСервер. |
| ОбработкаУдаленияПроведения | 24 lines | Handles unposting and the associated register entries. |
| ОбработкаПроверкиЗаполнения | 82 lines | Checks that allocations, warehouse, quantity, and inventory types have been entered. It generates messages using the «СтрокаИсключения» object. |
| ПередЗаписью | 38 lines | Prepares fields and internal flags before the document is saved. |
| ОбработкаЗаполнения | 44 lines | Populates the document when it is created, including by copying data from the source object. |
Common module dependencies (number of calls)
ПроведениеСерверУТ (28), ЗапасыСервер (15), НоменклатураСервер (10), ОбщегоНазначения (10), ОбщегоНазначенияУТ (7), СкладыСервер (3), ЗначениеНастроекПовтИсп (1), ОбщегоНазначенияКлиентСервер (1), ДоходыИРасходыСервер (1), СтроковыеФункцииКлиентСервер (1), НоменклатураКлиентСервер (1), ОбеспечениеСервер (1).
The «ПроведениеСерверУТ» and «ЗапасыСервер» modules do most of the processing for warehouse balances and their accounting dimensions. When developing an extension, bear in mind that other documents in the configuration also use these common modules.
5. Posting and register entries
The document creates entries in 15 accumulation registers. The key registers listed below identify the areas to check after posting.
| Register | Purpose of the entry |
|---|---|
| ДвиженияНоменклатураНоменклатура | Transfers items between the original and new allocation dimensions. |
| ПартииТоваровОрганизаций | Changes the allocation dimension in the organization's inventory batch records. |
| ДетализацияПартийТоваровДляНДСиУСН | Records internal batch details while retaining the configuration metadata object's name. |
| ПартииРасходовНаСебестоимостьТоваров | Transfers the batch accounting dimension used to calculate inventory cost. |
| ПартииЗатратНаВыпуск | Processes cost batches when inventory is allocated to production. |
| НДСПредъявленный | Processes the input VAT dimensions associated with the batches being transferred. |
| НДСЗаписиКнигиПродаж | Processes the associated register dimensions while retaining the register's technical name. |
| ОбеспечениеЗаказов | Transfers the supply allocated for fulfillment to a new order or allocation. |
| РезервыТоваровОрганизаций | Changes the allocation of reserved inventory. |
| ПрочиеАктивыПассивы | Processes the associated accounting dimensions for other assets and liabilities. |
To verify the posting result, open the document form and select «More» → «Document Register Entries». In the warehouse balance reports, check that the quantity decreased under the original allocation and appeared under the new allocation, with the other relevant dimensions on the row preserved.
Treatment in Kazakhstan statutory accounting
The document adjusts the allocation dimension in the configuration's operational accounting. To verify the result, the accountant compares the document's register entries, warehouse balances, and batch records for the original and new allocations. The entries depend on the operation type, the accounting dimensions entered, and the organization's accounting settings in the database.
If the balance does not transfer after posting, first check the organization, warehouse, characteristic, lot or serial number, inventory type, original allocation, and available quantity. Then repost the document and select «More» → «Document Register Entries» again.
6. Related objects and creation from a source document
- «Назначения» catalog. Contains the values for the «ИсходноеНазначение», «НовоеНазначение», and «Назначение» fields.
- «ВидыОперацийКорректировкиНазначения» enumeration. Determines how the adjustment is processed.
- Warehouse dimension catalogs. The «Номенклатура», «ХарактеристикиНоменклатуры», «СерииНоменклатуры», «ВидыЗапасов», «Склады», «СкладскиеПомещения», and «СкладскиеЯчейки» catalogs are used to populate rows.
- Order or instruction. Links the adjustment to the object for which the inventory has been allocated.
- Creation from a source document. When the document is created from a related instruction, the «ОбработкаЗаполнения» handler copies the available source data and creates the initial rows.
Before posting a document created from a source document, check both sides of the transfer. The original allocation must match the current balance, and the new allocation must match the order or activity for which the goods will be used.
Accountants who need to work with electronic invoices, the Virtual Warehouse, or accompanying waybills for goods (AWGs) use the Electronic Invoice Information System (EIIS), Virtual Warehouse, and AWGs. The «Inventory Allocation Adjustment» document in 1C is handled separately from electronic documents in the EIIS.
7. Extension points
- Object module handlers. Use a configuration extension with the &Перед, &После, or &Вместо annotations for «ОбработкаПроведения», «ОбработкаПроверкиЗаполнения», «ОбработкаЗаполнения», and «ПередЗаписью».
- Common posting modules. Review the related logic in «ПроведениеСерверУТ», «ЗапасыСервер», and «ОбеспечениеСервер», taking into account how other objects use these modules.
- Additional attributes and information. Use the «Properties» subsystem to add custom fields while preserving the vendor's base object.
- Event subscriptions. Use them to run additional save and posting logic while preserving the standard module.
- Additional fill handlers. Use them to populate the allocation automatically from an order or other instruction.
- Form extension. You can add commands, informational messages, and input validation to the document form.
Make changes in a configuration extension and test them on a copy of the infobase running version 3.4.5.21. After updating the configuration, recheck the borrowed procedures, the form extension, and the posting handlers.
8. Questions and answers
How do I open the document if it is missing from the accounting sections?
Go to «Main Menu» → «Functions for Technical Specialists» → «Documents» → «Inventory Allocation Adjustment». You can also open the list using the navigation link e1cib/list/Документ.КорректировкаНазначенияТоваров.
Which fields determine the direction of the transfer?
The «ИсходноеНазначение» → «НовоеНазначение» pair in each row of the «Items» tabular section determines the direction. The original allocation identifies where the quantity comes from, and the new allocation identifies where it is recorded after posting.
What should I check before posting?
Check the organization, operation type, item, warehouse, quantity, and original and new allocations. If additional warehouse dimensions are tracked, also compare the characteristic, lot or serial number, room, bin, and inventory type.
How do I verify the adjustment?
In the document, select «More» → «Document Register Entries», then compare the entries for the original and new allocations. Also run the warehouse balance report used in the database, grouping or filtering by allocation.
Where can I examine the document's program logic?
In «Designer» mode, go to «Configuration» → «Open Configuration» → «Documents» → «КорректировкаНазначенияТоваров». The fields and tabular sections are in the object tree, the forms are under «Forms», and the save and posting procedures are in the object module.
