Documentation

catalog.document.element.fields

Attention! Starting from version 22.400.0 the method has been deprecated. It's recommended to use the method catalog.document.getFields.

catalog.document.element.fields()

Method returns list of fields for inventory management products.

Parameters

No parameters.

Example

BX24.callMethod(
    'catalog.document.element.fields', 
    {}, 
    function(result)
    {
        if(result.error())
            console.error(result.error());
        else
            console.log(result.data());
    }
);
$result = CRest::call(
    'catalog.document.element.fields'
);

echo '<pre>';
print_r($result);
echo '</pre>';

Returned fields

Field DescriptionТипNote
ID Identifierinteger
DOC_ID Item IDintegerRequired
STORE_FROM Source warehouseinteger
STORE_TO Target warehouseintegerRequired
ELEMENT_ID Product ID (catalog.product.list)integerRequired
AMOUNT Numberdouble Required
PURCHASING_PRICE Purchase pricedouble Required

© «Bitrix24», 2001-2024
Up