Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
ID | int8 | 19 | √ | null |
|
|
Price 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) |
||||
item | int4 | 10 | null |
|
|
Item ID (**dependency**) |
||||
pricelist | int4 | 10 | null |
|
|
Price list ID (**dependency**) |
||||
price | float8 | 17,17 | √ | null |
|
|
Price per unit ( |
|||
rebate | float8 | 17,17 | 0 |
|
|
Absolute rebate per unit (applied before |
||||
discount | float8 | 17,17 | 0 |
|
|
Relative discount in percent (applied after |
||||
minamount | float8 | 17,17 | 0 |
|
|
Minimum amount (quantity) |
Table contained 0 rows
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
pk_prices | Primary key | Asc | ID |
fk_prices_item | Performance | Asc | item |
fk_prices_pricelist | Performance | Asc | pricelist |