@ISACCTYPE

Returns TRUE if the current member has the associated accounts tag.

Syntax

@ISACCTYPE (tag)

tag Valid account tag defined in the current database. Any of these values may be used: First, Last, Average, Expense, and Twopass.

Example

The following example is based on the Sample Basic database. For members with the Expense accounts tag, the formula uses the @ABS function to calculate Budget as the absolute value of Budget.

IF (@ISACCTYPE(Expense))
   Budget = @ABS(Budget);
ENDIF;

©2004 Hyperion Solutions Corporation. All Rights Reserved.
http://www.hyperion.com