SELECT gjh.set_of_books_id, gjl.je_line_num, mta.organization_id, ood.organization_code, ood.organization_name, mtt.transaction_type_name, NULL trx_number, to_char(ooh.order_number) trx_source, trunc(mmt.transaction_date) transaction_date, gcc.concat…