catalog.document.mode.status
Scope: catalog Permissions to execute: for all
catalog.document.mode.status()
Method gets information on enabled/disabled inventory management.
Returns inventory management status:
Y
- inventory management enabled;N
- inventory management disabled.
Parameters
No parameters.
Example
BX24.callMethod( 'catalog.document.mode.status', {}, function(result) { if(result.error()) console.error(result.error()); else console.log(result.data()); } );
$result = CRest::call( 'catalog.document.mode.status' ); echo '<pre>'; print_r($result); echo '</pre>';
© «Bitrix24», 2001-2024