OpeningBalance Property
The opening balance of this account.
Syntax
ANSI (Cross Platform) char* GetOpeningBalance();
int SetOpeningBalance(const char* lpszOpeningBalance); Unicode (Windows) LPWSTR GetOpeningBalance();
INT SetOpeningBalance(LPCWSTR lpszOpeningBalance);
@property (nonatomic,readwrite,assign,getter=openingBalance,setter=setOpeningBalance:) NSString* openingBalance; - (NSString*)openingBalance; - (void)setOpeningBalance:(NSString*)newOpeningBalance;
#define PID_ACCOUNT_OPENINGBALANCE 8 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
""
Remarks
The opening balance of this account (by default zero). Note that this property is only used when adding new accounts to QuickBooks, and will not be returned when retrieving account information from QuickBooks.
The amount should be formatted as a string in dollars.
Data Type
String