Adding Document Number to the Detailed Trial Balance Report

Hi All,

How do I retrieve the DocumentNumber (DocumentNum) field from the LedgerJournalTrans Table, populate it to the LedgerTrialBalanceTmp Table and display it on the Detailed trial Balance report?

A quick response to this query will be highly apprecieted.

Thank you.