Zum Hauptinhalt springen

prices

Module: pricelists

Item prices per price list with rebates and discounts.

NameTypeNullableDefault ValueNotes
PKID
bigintPrice ID
creator
integerCreator user ID (defaults to authenticated user on creation)
creationdate
bigintdate_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodified
bigintdate_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification)
item
items.ID
integerItem ID (**dependency**)
pricelist
pricelists.ID
integerPrice list ID (**dependency**)
price
double precisionPrice per unit (`null`=`item.sellingprice` for billing or `null`=`item.purchaseprice` for procurement)
rebate
double precision0Absolute rebate per unit (applied before `discount`)
discount
double precisionRelative discount in percent (applied after `rebate`; `null`=`pricelist.discount`)
minamount
double precision0Minimum amount (quantity)
costprice
double precisionCost price per unit (`null`=`item.purchaseprice` for billing)
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_prices_itembtreeitem
fk_prices_pricelistginpricelist
pk_pricesbtreeID
NameType
dc_prices_discountcheck
dc_prices_minamountcheck
fk_prices_itemforeign_key
fk_prices_pricelistforeign_key
pk_pricesprimary_key
Loading...