Customer & Supplier Transactions Reports

Hi Sage family

I have done some simple customization and format in the existing Sage 300 Reports of Vendor Transactions Report (apvtrn01) and Customer Transactions Report (arvtrn01) and it works well.

But I have an important information that i also need to add in the report for transaction under [PY] which the details are update in the field "REFERENCE" in the Payment and Receipt Header.

Somehow I can't find this field from the existing table in the reports. And I am not familiar on how to add tables to the reports.

Can anyone help or advice. 

Many thanks in advance.