Answer the question
In order to leave comments, you need to log in
Bitrix how to display information from two getlists if DATE_CREATE is known?
There are two getlists, both have a DATE_CREATE field, which are completely identical.
Whether it is possible somehow, knowing DATE_CREATE from the first getlist, to make check on the second getlist and to receive all values which are in this getlist?
For example:
I have the following fields in the first getlist: ID, DATE_CREATE, USER_ID In the second
getlist
, the following fields: ID, DATE_CREATE, PAYD_CREATE, TRANSACTION_ID
PAYD_CREATE, TRANSACTION_ID from second getlist?
I did the following: I
called two getlists, in the second getlist I check DATE_CREATE against the first getlist
Outputs correctly, but after the first output it doesn't work anymore. How to loop correctly so that it goes through the entire table?
First getlist:
$vouchers = \Tech\vouch\VoucherTable::getList([
'filter' => [
]
]);
$transactionsVouchers = \Tech\Transact\TransactionTable::getList([
'filter' => [
"DATE_CREATE" => $transactionVoucher["DATE_CREATE"]
]
])->fetchCollection();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question