Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ID | int4 | 10 | √ | null |
|
|
Item ID |
|||||||||||||||
ownergroup | int4 | 10 | √ | null |
|
|
Owner group ID ( |
|||||||||||||||
creator | int4 | 10 | √ | null |
|
|
Creator user ID (defaults to authenticated user on creation) |
|||||||||||||||
creationdate | int8 | 19 | date_part('epoch'::text, now()) |
|
|
Creation date and time as a Unix time stamp (defaults to current date and time on creation) |
||||||||||||||||
lastmodified | int8 | 19 | date_part('epoch'::text, now()) |
|
|
Last modification date and time as a Unix time stamp (auto-reset on modification) |
||||||||||||||||
model | int4 | 10 | √ | null |
|
|
Model item ID (only for non-MODEL) |
|||||||||||||||
picbinfile | int4 | 10 | √ | null |
|
|
||||||||||||||||
visibility | int2 | 5 | 0 |
|
|
Visibility ( |
||||||||||||||||
name | text | 2147483647 | null |
|
|
Product name |
||||||||||||||||
manufacturer | text | 2147483647 | ''::text |
|
|
Manufacturer (brand or company name) |
||||||||||||||||
itemnum | text | 2147483647 | ''::text |
|
|
Item number (SKU) |
||||||||||||||||
barcode | text | 2147483647 | ''::text |
|
|
Barcode (e.g. UPC or EAN/GTIN) |
||||||||||||||||
type | int2 | 5 | 0 |
|
|
Item type ( |
||||||||||||||||
forcestock | int2 | 5 | √ | null |
|
|
Force stock check on depletion ( |
|||||||||||||||
unit | varchar | 3 | ''::character varying |
|
|
Unit code (UN/CEFACT Recommendation 20) |
||||||||||||||||
sellingprice | float8 | 17,17 | 0 |
|
|
Default selling price per unit |
||||||||||||||||
purchaseprice | float8 | 17,17 | 0 |
|
|
Default purchase price per unit |
||||||||||||||||
taxrate | float8 | 17,17 | √ | null |
|
|
Tax rate in percent |
|||||||||||||||
weight | float8 | 17,17 | 0 |
|
|
Shipping weight per unit in kilogram |
||||||||||||||||
description | text | 2147483647 | ''::text |
|
|
Detailed general description |
Table contained 0 rows
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
pk_items | Primary key | Asc | ID |
fk_items_model | Performance | Asc | model |
i_items_barcode | Performance | Asc | barcode |
i_items_itemnum_ID | Performance | Asc/Asc | itemnum + ID |
i_items_name_ID | Performance | Asc/Asc | name + ID |
i_items_noowner | Performance | Asc | ownergroup |
i_items_owner | Performance | Asc | ownergroup |
s_items | Performance | Asc/Asc/Asc/Asc | name + manufacturer + itemnum + barcode |