Documentation

Update

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

The method Update replaces the variant parameters with the new ones from the supplied array.

Parameters

ParameterDescription
ID The ID of the order property value whose information is to be updated.
arFields Associated array containing new parameters of the order property value variant whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • ORDER_PROPS_ID - the order property ID;
  • NAME - variant name;
  • VALUE - variant value;
  • SORT - sort weight for positioning in lists;
  • DESCRIPTION - variant description.

Returned values

Returns the ID of the updated variant on success or false otherwise.

© «Bitrix24», 2001-2024