Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _accountCategory
Type: AccountCategory Extended Data Type
The account category against which to test.
- _accountCategoryRef
Type: AccountCategoryRef Extended Data Type
The account category reference to test against; optional.
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.