1 #line 2 "src/Dbo/Accounts/Definition.h"
3 #ifndef __DBO_ACCOUNTS_DEFINITION_H___
4 #define __DBO_ACCOUNTS_DEFINITION_H___
6 #include <Wt/WFormModel.h>
165 typedef struct ACCOUNTPARENT_S
172 extern const std::vector< AccountParent_t > s_accountParents;
177 extern const Wt::WFormModel::Field
guid ;
178 extern const Wt::WFormModel::Field
name ;
184 extern const Wt::WFormModel::Field
code ;
186 extern const Wt::WFormModel::Field
hidden ;
const Wt::WFormModel::Field name
const Wt::WFormModel::Field guid
const Wt::WFormModel::Field description
const Wt::WFormModel::Field commodity_scu
const Wt::WFormModel::Field account_typeName
const Wt::WFormModel::Field code
const Wt::WFormModel::Field non_std_scu
const Wt::WFormModel::Field commodity_guid
const Wt::WFormModel::Field placeHolder
const Wt::WFormModel::Field hidden
const Wt::WFormModel::Field parent_guid
@ CREDITLINE
18 ~ do not use
@ NUM_ACCOUNT_TYPES
15 ~ end of account types
@ CURRENCY
07 ~ currency trading account (DEPRECATED)
@ EXPENSE
09 ~ expense tracking account
@ CHECKING
15 ~ do not use
@ ASSET
02 ~ generic generalized asset account
@ INCOME
08 ~ income tracking account
@ BANK
00 ~ bank institutionally held monies, can be interest bearing
@ MUTUAL
06 ~ similar to stock, shows: price, # shares, value
@ LIABILITY
04 ~ generic generalized liability account
@ EQUITY
10 ~ used to balance the balance sheet
@ TRADING
14 ~ used to record multiple commodify transactions
@ CASH
01 ~ pure cash (shoebox)
@ CREDIT
03 ~ AMEX / VISA / DISCOVER type of credit cards
@ MONEYMRKT
17 ~ do not use
@ ROOT
13 ~ hidden root account for the account tree
@ PAYABLE
12 ~ A/R payable account
@ RECEIVABLE
11 ~ A/R receivable account
@ STOCK
05 ~ stock account show as three-column registers: price, # shares, value
DrCr
Account Debit/Credit Enum.
@ DEBIT
0x01 ~ DEBIT type account
@ NONE
0x00 ~ invalid - should not happen
@ CREDIT
0x02 ~ CREDIT type account
const std::vector< AccountDef_t > s_accountDefs
struct GCW::Dbo::Accounts::ACCOUNTDEF_S AccountDef_t
Account Definition.
const Wt::WFormModel::Field parent
const Wt::WFormModel::Field type
std::string backendName
the 'name' used in the back-end for the account
std::string colAccount
a printable 'label' for the 'account' column in the registers
std::string colDr
a printable 'label' for the 'debit' column in the registers
std::string colCr
a printable 'label' for the 'credit' column in the registers
Type parentType
acceptable parent account types
Type type
Account Type as per gnucash.
DrCr drcr
indicate if the account is Debit or Credit