Share via


MainAccountCategory::validateAccountCategory Method

Indicates whether an account category is valid for use on a main account.

Syntax

client server public static boolean validateAccountCategory(AccountCategory _accountCategory, [AccountCategoryRef _accountCategoryRef])

Run On

Called

Parameters

Return Value

Type: boolean
true if the account category is valid; otherwise, false.

Remarks

This method gives an error message on failure. The optional _accountCategoryRef parameter is used if it is supplied; otherwise, the _accountCategory parameter is used for the read.

See Also

Reference

MainAccountCategory Table