Documentation

CExtra::Add

bool
CExtra::Add(
 array arFields
);

The method Add adds a new record to the table of discounts.

Parameters

ParameterDescription
arFields Associated array with the following keys:
  • NAME - name of the discount;
  • PERCENTAGE - percentage value of the discount (both positive and negative values allowed).

Return Values

Returns True on success or False otherwise.

© «Bitrix24», 2001-2024
Up