Skip to content

Latest commit

 

History

History
97 lines (69 loc) · 5.96 KB

File metadata and controls

97 lines (69 loc) · 5.96 KB

Inventory Accounting in the Trade Catalog: Overview of Methods

{% note tip "" %}

Choose a tool for developing with an AI agent:

  • use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
  • use the MCP server to develop a REST API integration in your own project. The agent refers to the official REST documentation

{% endnote %}

Inventory accounting is a tool that allows you to track the available and reserved quantity of goods in warehouses.

To add, move, or remove goods from the warehouse, use inventory accounting documents.

Quick navigation: all methods

User documentation: Bitrix24 Inventory Management

Inventory Accounting Documents

The following types of documents are available in inventory accounting:

  • A — goods arrival at the warehouse
  • S — goods receipt
  • M — goods transfer between warehouses
  • R — goods return
  • D — goods write-off

Set access permissions for each type of document. If access permissions are not configured, employees will see an error when attempting to open inventory accounting documents and will be unable to work with them.

{% note tip "User Documentation" %}

{% endnote %}

Current API Version

For new development, use the catalog.document.* and catalog.document.element.* methods. Deprecated methods catalog.document.confirm, catalog.document.unconfirm, catalog.document.fields, and catalog.document.element.fields are kept only to support legacy integrations.

Current replacements:

#| || If a Legacy Integration Uses | Use Now || || catalog.document.confirm | catalog.document.conduct || || catalog.document.unconfirm | catalog.document.cancel || || catalog.document.fields | catalog.document.getFields || || catalog.document.element.fields | catalog.document.element.getFields || |#

Linking Inventory Accounting Documents with Other Objects

Goods in the Inventory Accounting Document. Specify the goods for the inventory accounting document using the methods catalog.document.element.*.

Warehouses. Specify the warehouse for which you are creating the inventory accounting document. Use the methods catalog.store.*.

Custom Fields for Inventory Accounting Documents. You can create additional fields for inventory accounting documents using the method userfieldconfig.add. Pass moduleId = catalog, and specify the document type in entityId using the CAT_STORE_DOCUMENT_<DOC_TYPE> format, for example CAT_STORE_DOCUMENT_A. You can view additional fields and change their values using the methods catalog.userfield.document.*.

Overview of Methods {#all-methods}

Scope: catalog

Who can execute methods: administrator

Basic

#| || Method | Description || || catalog.document.add | Adds an inventory accounting document || || catalog.document.update | Updates an inventory accounting document || || catalog.document.list | Returns a list of inventory accounting documents || || catalog.document.delete | Deletes an inventory accounting document || || catalog.document.deleteList | Deletes a group of inventory accounting documents || || catalog.document.conduct | Conducts an inventory accounting document || || catalog.document.conductList | Conducts a group of inventory accounting documents || || catalog.document.cancel | Cancels the conduct of an inventory accounting document || || catalog.document.cancelList | Cancels the conduct of a group of inventory accounting documents || || catalog.document.mode.status | Checks if inventory accounting is enabled || || catalog.document.getFields | Returns available fields of the inventory accounting document || |#

Goods in the Inventory Accounting Document

#| || Method | Description || || catalog.document.element.add | Adds a good to the inventory accounting document || || catalog.document.element.update | Updates a good in the inventory accounting document || || catalog.document.element.list | Returns a list of goods in the inventory accounting document || || catalog.document.element.delete | Deletes a good from the inventory accounting document || || catalog.document.element.getFields | Returns a list of available fields for goods in the inventory accounting document || |#