Link categories to transactions in categories