Skip to main content

relateditems

Module: inventory

Related item associations for cross-selling.

NameTypeNullableDefault ValueNotes
PKID
bigintComponent ID
creator
integerCreator user ID (defaults to authenticated user on creation)
creationdate
bigintEXTRACT(epoch FROM now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodified
bigintEXTRACT(epoch FROM now())Last modification date and time as a Unix timestamp (auto-reset on modification)
item
items.ID
integerItem ID (**dependency**)
relateditem
items.ID
integerRelated item ID; must be distinct from `item`
relation
text''Relation
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_relateditems_relateditembtreerelateditem
pk_relateditemsbtreeID
u_relateditems_item_relateditembtreeitem, relateditem
NameType
c_relateditems_relateditemcheck
dc_relateditems_relationcheck
fk_relateditems_itemforeign_key
fk_relateditems_relateditemforeign_key
pk_relateditemsprimary_key
u_relateditems_item_relateditemunique
Loading...