Documentation

Update

int
CSalePersonType::Update(
 int ID,
 array arFields
);

The method Update replaces parameters of the specified payer type with the new ones.

Parameters

ParameterDescription
ID The ID of the payer type whose properties are to be modified.
arFields Associated array containing new parameters of the payer type whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • LID - the ID of the site owning the new payer type;
  • NAME - the payer type name;
  • SORT - the payer type sort weight.

Returned values

Returns the ID of an updated payer type or false otherwise.

 

© «Bitrix24», 2001-2024