gtGLName
This function call retrieves the Account's description, or alternative description.
Note: The account's description can also be retrieved using the gtGL function, if the third parameter is entered as description.
Company
The company code that the account belongs to.
Account
The account number for which the description (or name) is to be returned for.
Reference
Enter an alphanumeric value in this field if you want the function to return the general ledger account description, or a numeric value if you want the function to return the general ledger account alternative description. If you leave this field empty, the general ledger account description is returned.
Returns
- GL Account description
- Error - if an error is encountered
Example
=gtGLName(01,MAS.AK.SLS.1010)
Errors Returned
- Must have a Company identifier
- Invalid Company identifier
- Must have an Account identifier
- Account does not exist