Skip to main content

pricelists

NameTypeStorageNullableForeign KeysDefault Value & Notes
PKIDintegerplainPrice list ID
forkintegerplainforks.IDFork ID (`null` for base module)
ownergroupintegerplaingroups.IDOwner group ID (`null`=PUBLIC)
creatorintegerplainusers.IDCreator user ID (defaults to authenticated user on creation)
creationdatebigintplainDefault: date_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodifiedbigintplainDefault: date_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification)
activitysmallintplainDefault: 0Activity (`0`=ACTIVE, `1`=DEACTIVATED, `2`=DELETED)
nametextmainName
typesmallintplainDefault: 0Price list type (`0`=BILLING_MIN, `1`=BILLING_MAX, `2`=PROCUREMENT_MIN, `3`=PROCUREMENT_MAX)
currencycharacter varying(3)extendedCurrency code (ISO 4217)
discountdouble precisionplainDefault: 0Default relative discount in percent
datefrombigintplainStart date as a Unix timestamp; must be less than or equal to `dateto`
datetobigintplainEnd date as a Unix timestamp; must be greater than or equal to `datefrom`
applytoallsmallintplainDefault: 0Apply to all accounts regardless of association via `pricelists2accounts`
descriptiontextextendedDefault: ''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_creatorforeign_key
fk_pricelists_forkforeign_key
fk_pricelists_ownergroupforeign_key
pk_pricelistsprimary_key
Loading...