catalog.document.element.getFields
Scope: catalog Permissions to execute: for all
catalog.document.element.getFields()
Method returns list of product fields for inventory management.
Parameters
No parameters.
Examples
BX24.callMethod( 'catalog.document.element.getFields', {}, function(result) { if(result.error()) console.error(result.error()); else console.log(result.data()); } );
Returned fields
Field | Description | Type | Note |
---|---|---|---|
amount | Amount. | double | |
docId | Item ID. | integer | Read only. |
elementId | Product ID (catalog.product.list). | integer | Read only. |
id | Item product ID. | integer | Read only. |
purchasingPrice | Purchase price. | double | |
storeFrom | Source warehouse. | integer | |
storeTo | Target warehouse. | integer |
© «Bitrix24», 2001-2024