Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| activeFlag | BIT | 1 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| countedAsAvailable | BIT | 1 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| dateLastModified | DATETIME | 26 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| defaultCustomerId | INT | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| defaultFlag | BIT | 1 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| defaultVendorId | INT | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| description | VARCHAR | 252 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| locationGroupId | INT | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| name | VARCHAR | 30 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| parentId | INT | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| pickable | BIT | 1 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| receivable | BIT | 1 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| sortOrder | INT | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| typeId | INT | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| customFields | JSON | 1073741824 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| FK5b4bqcapyw1o0negakd8x1r4h | Performance | Asc | typeId |
| FKdbr8c3q0091lx99rftn63xd6o | Performance | Asc | locationGroupId |
| FKo7qub3x04qf08t0p66p4kjo62 | Performance | Asc | defaultVendorId |
| FKrm7ei310f0tvnlciel8wlrjaa | Performance | Asc | defaultCustomerId |
| locationNameIdx | Performance | Asc | name |
| UKlc2j6104g2nrydu089volt013 | Must be unique | Asc/Asc | name + locationGroupId |