AccountType Property
The type of account.
Syntax
ANSI (Cross Platform) int GetAccountType();
int SetAccountType(int iAccountType); Unicode (Windows) INT GetAccountType();
INT SetAccountType(INT iAccountType);
Possible Values
AT_UNSPECIFIED(0),
AT_ACCOUNTS_PAYABLE(1),
AT_ACCOUNTS_RECEIVABLE(2),
AT_BANK(3),
AT_COST_OF_GOODS_SOLD(4),
AT_CREDIT_CARD(5),
AT_EQUITY(6),
AT_EXPENSE(7),
AT_FIXED_ASSET(8),
AT_INCOME(9),
AT_LONG_TERM_LIABILITY(10),
AT_OTHER_ASSET(11),
AT_OTHER_CURRENT_ASSET(12),
AT_OTHER_CURRENT_LIABILITY(13),
AT_OTHER_EXPENSE(14),
AT_OTHER_INCOME(15),
AT_NON_POSTING(16)
@property (nonatomic,readwrite,assign,getter=accountType,setter=setAccountType:) int accountType; - (int)accountType; - (void)setAccountType:(int)newAccountType;
Possible Values
AT_UNSPECIFIED(0),
AT_ACCOUNTS_PAYABLE(1),
AT_ACCOUNTS_RECEIVABLE(2),
AT_BANK(3),
AT_COST_OF_GOODS_SOLD(4),
AT_CREDIT_CARD(5),
AT_EQUITY(6),
AT_EXPENSE(7),
AT_FIXED_ASSET(8),
AT_INCOME(9),
AT_LONG_TERM_LIABILITY(10),
AT_OTHER_ASSET(11),
AT_OTHER_CURRENT_ASSET(12),
AT_OTHER_CURRENT_LIABILITY(13),
AT_OTHER_EXPENSE(14),
AT_OTHER_INCOME(15),
AT_NON_POSTING(16)
#define PID_ACCOUNT_ACCOUNTTYPE 3 INQB_EXTERNAL void* INQB_CALL InQB_Account_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_Account_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
The type of account. You must set this property (to something other than atUnspecified) before adding an account to QuickBooks.
Note that you may not create accounts of type atNonPosting through the SDK.
The following values are permitted:
atUnspecified | 0 |
atAccountsPayable | 1 |
atAccountsReceivable | 2 |
atBank | 3 |
atCostOfGoodsSold | 4 |
atCreditCard | 5 |
atEquity | 6 |
atExpense | 7 |
atFixedAsset | 8 |
atIncome | 9 |
atLongTermLiability | 10 |
atOtherAsset | 11 |
atOtherCurrentAsset | 12 |
atOtherCurrentLiability | 13 |
atOtherExpense | 14 |
atOtherIncome | 15 |
atNonPosting | 16 |
Data Type
Integer