Documentation

sale.propertyVariant.getFields

sale.propertyVariant.getFields()

The method returns fields of property variant.

Returned fields:

Field Description
idVariant ID.
nameVariant name/
orderPropsIdBinding to property.
sortSorting.
valueVariant value.

Parameters

No parameters.



Examples

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


© «Bitrix24», 2001-2024