Zum Hauptinhalt springen

pricelists

Module: pricelists

Price lists with date validity and account assignments.

NameTypeNullableDefault ValueNotes
PKID
integerPrice list ID
fork
forks.ID
integerFork ID (`null` for base module)
ownergroup
groups.ID
integerOwner group ID (`null`=PUBLIC)
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)
activity
smallint0Activity (`0`=ACTIVE, `1`=DEACTIVATED, `2`=DELETED)
name
textName
type
smallint0Price list type (`0`=BILLING_MIN, `1`=BILLING_MAX, `2`=PROCUREMENT_MIN, `3`=PROCUREMENT_MAX, `4`=PRODUCTION_MIN, `5`=PRODUCTION_MAX)
currency
character varying(3)Currency code (ISO 4217)
discount
double precision0Default relative discount in percent
datefrom
bigintStart date as a Unix timestamp; must be less than or equal to `dateto`
dateto
bigintEnd date as a Unix timestamp; must be greater than or equal to `datefrom`
applytoall
smallint0Apply to all accounts regardless of association via `pricelists2accounts`
description
text''Detailed general description
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_pricelists_forkginfork
fk_pricelists_ownergroupginownergroup
i_pricelists_noforkginfork
i_pricelists_noownerginownergroup
pk_pricelistsbtreeID
s_pricelists_nameginname
NameType
c_pricelists_datecheck
dc_pricelists_activitycheck
dc_pricelists_currencycheck
dc_pricelists_descriptioncheck
dc_pricelists_discountcheck
dc_pricelists_namecheck
dc_pricelists_typecheck
fk_pricelists_forkforeign_key
fk_pricelists_ownergroupforeign_key
pk_pricelistsprimary_key
Loading...