Documentation

Update

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

Method updates user account parameters according to parameters from the array arFields. Non-static method.

Call parameters

ParameterDescription
ID Updated account ID.
arFields Associative array with the new account parameters. Can contain the following keys:
  • USER_ID - owner user code;
  • CURRENT_BUDGET - current amount deposited at the account;
  • CURRENCY - currency;
  • NOTES - text description;
  • LOCKED - flag for locked account;
  • DATE_LOCKED - date of locked account.

Returned values

Method returns updated account code or false in case of error.



© «Bitrix24», 2001-2024
Up