Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| basketno | INT | 10 | √ | null |
|
|
primary key, Koha defined number |
||||||||||
| basketname | VARCHAR | 50 | √ | NULL |
|
|
name given to the basket at creation |
||||||||||
| note | LONGTEXT | 2147483647 | √ | NULL |
|
|
the internal note added at basket creation |
||||||||||
| booksellernote | LONGTEXT | 2147483647 | √ | NULL |
|
|
the vendor note added at basket creation |
||||||||||
| contractnumber | INT | 10 | √ | NULL |
|
|
links this basket to the aqcontract table (aqcontract.contractnumber) |
||||||||||
| creationdate | DATE | 10 | √ | NULL |
|
|
the date the basket was created |
||||||||||
| closedate | DATE | 10 | √ | NULL |
|
|
the date the basket was closed |
||||||||||
| booksellerid | INT | 10 | 1 |
|
|
the Koha assigned ID for the vendor (aqbooksellers.id) |
|||||||||||
| VARCHAR | 10 | √ | NULL |
|
|
the borrowernumber of the person who created the basket |
|||||||||||
| booksellerinvoicenumber | LONGTEXT | 2147483647 | √ | NULL |
|
|
appears to always be NULL |
||||||||||
| basketgroupid | INT | 10 | √ | NULL |
|
|
links this basket to its group (aqbasketgroups.id) |
||||||||||
| deliveryplace | VARCHAR | 10 | √ | NULL |
|
|
basket delivery place |
||||||||||
| billingplace | VARCHAR | 10 | √ | NULL |
|
|
basket billing place |
||||||||||
| branch | VARCHAR | 10 | √ | NULL |
|
|
basket branch |
||||||||||
| is_standing | BOOLEAN | 3 | 0 |
|
|
orders in this basket are standing |
|||||||||||
| create_items | enum('ordering', 'receiving', 'cataloguing') | 11 | √ | NULL |
|
|
when items should be created for orders in this basket |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | basketno |
| aqbasket_ibfk_4 | Performance | Asc | branch |
| authorisedby | Performance | Asc | authorisedby |
| basketgroupid | Performance | Asc | basketgroupid |
| booksellerid | Performance | Asc | booksellerid |
| contractnumber | Performance | Asc | contractnumber |

