Documentation

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 DescriptionTypeNote
id Unit of measurement IDintegerRead only.
isDefault Unit of measurement by defaultchar
productId Product IDintegerRequired field.
ratio Unit of measurement ratiodoubleRequired field.


© «Bitrix24», 2001-2024