The @ISACCTYPE() function returns TRUE if the current member has the associated accounts tag.
@ISACCTYPE(tag)
tag | Valid account tag defined in the current database. Any of the following tags may be used: First, Last, Average, Expense, and Two-Pass. |
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;
Copyright (c)1991-2000 Hyperion Solutions Corporation. All rights reserved.