catalog.document.confirm
Scope: catalog Permissions to execute: for all
Attention! Starting from version 22.400.0 the method has been deprecated. It's recommended to use the method catalog.document.conduct.
catalog.document.confirm(id)
Method for processing a document item.
Returns true
on success.
Parameters
Parameter | Type | Description |
---|---|---|
id | integer | Item ID. |
Example
BX24.callMethod( 'catalog.document.confirm', { 'id': 42, }, function(result) { if(result.error()) console.error(result.error()); else console.log(result.data()); } );
$result = CRest::call( 'catalog.document.confirm', [ 'id' => 42, ] ); echo '<pre>'; print_r($result); echo '</pre>';
© «Bitrix24», 2001-2024