Zum Hauptinhalt springen

components

Module: inventory

Bill of materials linking parent items to component items.

NameTypeNullableDefault ValueNotes
PKID
bigintComponent 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**)
component
items.ID
integerComponent item ID; must be distinct from `item`
amount
double precision0Amount (quantity)
price
double precisionImputed price per unit
fixed
smallint0Fixed quantity
order
integer
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_components_componentbtreecomponent
pk_componentsbtreeID
u_components_item_componentbtreeitem, component
NameType
c_components_componentcheck
dc_components_ordercheck
fk_components_componentforeign_key
fk_components_itemforeign_key
pk_componentsprimary_key
u_components_item_componentunique
Loading...