Documentation

catalog.roundingRule.getFields

Scope: catalog Permissions to execute: for all

catalog.roundingRule.getFields()

The method returns fields of price rounding rules.

Parameters

No parameters.

Examples

BX24.callMethod(
    'catalog.roundingRule.getFields', 
    {}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});

Returned fields поля

Field DescriptionTypeNote
catalogGroupId Price type.integerRequired field.
createdBy Created by.integerRead only.
dateCreate Date created.datetimeRead only.
dateModify Date updated.datetimeRead only.
id Price rounding rule ID.integerRead only.
modifiedBy Modified by.integerRead only.
price Minimal price.doubleRequired field.
roundPrecision Rounding precision.doubleRequired field.
roundType Rounding type.integerRequired field.


© «Bitrix24», 2001-2024