ACCOUNTTYPE function

Created by Harry Lewis, Modified on Tue, 16 Jul at 9:33 AM by Gabriel Michaud

Applies to

  • Velixo Classic

  • Velixo NX

  • Acumatica, MYOB Acumatica, Cegid XRP Flex

  • GL Module


Description

The ACCOUNTTYPE function returns the type of a specified general ledger account.



TABLE OF CONTENTS

 

Syntax

ACCOUNTTYPE(Connection, Account)

 

Parameters

The ACCOUNTTYPE function uses the following parameters (see our article using arrays or cell ranges as parameters):


Parameter

Required/Optional

Description

Connection

Required

The name of the connection, as specified in the Connection Manager

Account

Required

The general ledger account (or array of multiple accounts) for which the Type is to be displayed.

 

Examples

 

Example 1

Referencing a single account

 

  =ACCOUNTTYPE("Demo","10100")

Description: Returns the account type of general ledger account #10100 account.

 

Result: Asset

 


Example 2

Referencing an array of accounts

 


 

 

If a non-existent account is specified, the ACCOUNTTYPE function will display the message Account 'xxxxx' not found...

 

accounttype_notfound_1.png


or, if you have configured Velixo reports to return zero values under certain circumstances...


Options_return_zero.png

... your report will display Excel's #N/A error:


accounttype_notfound_2.png


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article