Documentation

GetByID

array
CSaleUserTransact::GetByID(
 int ID
);

Method returns transaction parameters with ID. Non-static method.

Call parameters

ParameterDescription
ID Transaction number.

Returned values

Method returns an associative array with transaction parameters having the following keys:

  • ID - transaction code;
  • USER_ID - user code;
  • AMOUNT - total;
  • CURRENCY - amount currency;
  • DEBIT - "Y", in case of debit; if "N" - in case of crediting the account;
  • DESCRIPTION - description;
  • ORDER_ID - order code, if transaction is order-related;
  • EMPLOYEE_ID - user code who performed transaction;
  • TIMESTAMP_X - timestamp;
  • TRANSACT_DATE - transaction date.


© «Bitrix24», 2001-2024