Documentation

catalog.document.cancel

Scope: catalog Permissions to execute: for all

catalog.document.cancel(id)

Method for cancelling inventory management item by ID.

Parameters

ParameterType Description
idinteger Inventory management item ID.

Examples

BX24.callMethod(
    'catalog.document.cancel', 
    {
      id: 112
    }, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});

© «Bitrix24», 2001-2024