Documentation

Add

int
CSaleTax::Add(
 array arFields
);

The method Add creates a new tax given its parameters.

Parameters

ParameterDescription
arFields Associated array containing parameters of the new tax whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • LID - the site ID;
  • NAME - tax name;
  • DESCRIPTION - tax description;
  • CODE - mnemonic code.

Returned values

Returns the ID of the new tax on success or false otherwise.

 

© «Bitrix24», 2001-2024
Up