Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null |
|
|
||||
| name | VARCHAR | 100 | √ | NULL |
|
|
||||
| office_id | BIGINT | 19 | √ | NULL |
|
|
||||
| debit_account_id | BIGINT | 19 | √ | NULL |
|
|
||||
| allow_multiple_debits | BIT | 1 | b'0' |
|
|
|||||
| credit_account_id | BIGINT | 19 | √ | NULL |
|
|
||||
| allow_multiple_credits | BIT | 1 | b'0' |
|
|
|||||
| description | VARCHAR | 500 | √ | NULL |
|
|
||||
| system_defined | BIT | 1 | b'0' |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| FK_acc_accounting_rule_acc_gl_account_credit | Performance | Asc | credit_account_id |
| FK_acc_accounting_rule_acc_gl_account_debit | Performance | Asc | debit_account_id |
| FK_acc_accounting_rule_m_office | Performance | Asc | office_id |
| name | Must be unique | Asc | name |