MB
02/09/2024, 3:22 PMCory Weiner
02/09/2024, 4:30 PMMB
02/09/2024, 4:55 PMCory Weiner
02/09/2024, 5:07 PMselect
t.trandisplayname applying_transaction,
appliedto.trandisplayname applied_to_transaction,
billLink.foreignamount applied_amount
from transaction t
join transactionLine line
on line.transaction = t.id
join PreviousTransactionLineLink billLink
on billLink.nextdoc = t.id
AND billLink.nextline = line.id
left outer join transaction appliedto
on appliedto.id = billLink.previousdoc
where t.type = 'VendPymt'
AND t.number = '79637' -- Replace 79637 with CHECK number
Cory Weiner
02/09/2024, 5:07 PMMB
02/09/2024, 5:09 PMMB
02/09/2024, 6:47 PMMB
02/09/2024, 6:47 PM