CSaleUserTransact::GetByID
array
CSaleUserTransact::GetByID(
int ID
);
The method GetByID returns parameters of the specified
transaction.
Parameters
Parameter | Description |
ID |
The transaction ID. |
Return Values
The method returns an associated array containing parameters of the
transaction with the following keys:
- ID - the transaction ID;
- USER_ID - the user ID;
- AMOUNT - the amount;
- CURRENCY - the currency of the amount;
- DEBIT - "Y" places money to an account,
"N" withdraws money from an account;
- DESCRIPTION - the description;
- ORDER_ID - the order ID (if applicable);
- EMPLOYEE_ID - the ID of the user accomplished the transaction;
- TIMESTAMP_X - the date when the record was last modified;
- TRANSACT_DATE - the date of the transaction.