Documentation

catalog.document.element.getFields

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 DescriptionTypeNote
amount Amount.double
docId Item ID.integerRead 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
Up