Zum Hauptinhalt springen

addresses

Module: accounts

Billing and shipping addresses linking accounts to contacts.

NameTypeNullableDefault ValueNotes
PKID
bigintAddress 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)
account
accounts.ID
integerAccount ID (**dependency**)
contact
contacts.ID
integerContact ID
type
smallint0Address type (`0`=BILLING_SHIPPING, `1`=BILLING_BILLING, `2`=PROCUREMENT_SHIPPING, `3`=PROCUREMENT_BILLING, `4`=COLLECTION, `5`=BILLING_SELLER, `6`=PROCUREMENT_SELLER)
default
smallint0Default for this address type
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_addresses_contactbtreecontact
pk_addressesbtreeID
u_addresses_account_contact_typebtreeaccount, contact, type, +default
NameType
dc_addresses_typecheck
fk_addresses_accountforeign_key
fk_addresses_contactforeign_key
pk_addressesprimary_key
u_addresses_account_contact_typeunique
NameTypeEventsFunctionDefinition
tiu_addresses_defaultafterinsert, updateftiu_addresses_default
Loading...