Documentation

DiscountRestrictionTable

DiscountRestrictionTable class for handling table with restrictions for applied discounts.

Class methods

MethodDescription Available from version
getMapReturns list of fields for table with restrictions for applied discounts.
getTableNameReturns name for table with restrictions to discount application.
changeActiveByDiscountSets active status flag in table by a discount ID.
deleteByDiscountDeletes list of restrictions by a discount ID.

Field of restriction table

Field Description Type Required
ID Restriction ID.Int Да
DISCOUNT_ID Discount ID.Int Да
ACTIVE Active status flag (Y/N).Char(1) Нет
USER_GROUP_ID User Group ID.Int Нет
PRICE_TYPE_ID Price type ID. Int Нет


© «Bitrix24», 2001-2022
Up