With the [ACC_DATA (acc_nr;co;field)] function, you can retrieve the master data for a general ledger account. If you do not select a field, the description will be included. If you want specific information from a series of general ledger accounts to be displayed, you can use this function in combination with the FILE_NEXT and FILE_FIRST functions.
The advantage of not selecting a company is that the same report can be used for each company. You only need to change the default company to get the right data.
Example
ACC_DATA(" 1300";001;"debcrd")
This function displays whether account 1300 in company 001 is a debit (D) or credit (C) account.