catalog.ratio.getFields
Scope: catalog Permissions to execute: for all
catalog.ratio.getFields()
The method returns fields for measurement unit ratio.
Parameters
No parameters.
Examples
BX24.callMethod( 'catalog.ratio.getFields', {}, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); } );
Returned fields
Field | Description | Type | Note |
---|---|---|---|
id | Unit of measurement ID | integer | Read only. |
isDefault | Unit of measurement by default | char | |
productId | Product ID | integer | Required field. |
ratio | Unit of measurement ratio | double | Required field. |
© «Bitrix24», 2001-2024