Skip to main content

items

NameTypeStorageNullableForeign KeysDefault Value & Notes
PKIDintegerplainItem 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)
modelintegerplainitems.IDModel item ID; only for non-MODEL
visibilitysmallintplainDefault: 0Visibility (`0`=REGULAR, `1`=ARCHIVED, `2`=DELETED)
nametextmainProduct name
manufacturertextmainDefault: ''Manufacturer (brand or company name)
itemnumtextmainDefault: ''Item number (SKU)
barcodetextmainDefault: ''Barcode (e.g. GTIN, EAN or UPC code)
typesmallintplainDefault: 0Item type (`0`=SIMPLE, `1`=SERIALS, `2`=CHARGES, `3`=SERIALSANDCHARGES, `4`=SET, `5`=CONTAINER, `6`=NOSTOCK, `7`=MODEL)
forcestocksmallintplainForce stock check on depletion (`0`=STORAGE, `1`=LOCATION)
applicabilitysmallintplainDefault: 0Applicability (`0`=ALWAYS, `1`=NEVER, `2`=BILLINGONLY, `3`=PROCUREMENTONLY)
unitcharacter varying(3)extendedDefault: ''Unit code as defined by (UN/CEFACT Recommendation 20)
sellingpricedouble precisionplainDefault: 0Default selling price per unit
purchasepricedouble precisionplainDefault: 0Default purchase price per unit
taxratedouble precisionplainTax rate in percent
weightdouble precisionplainDefault: 0Shipping weight per unit in kilogram
classcodetextmainDefault: ''Product classification code (e.g. GPC, CPV or UNSPSC code)
tariffcodetextmainDefault: ''Tariff code (e.g. HS, CN or HTS code)
origincharacter varying(2)extendedDefault: ''Origin country code (ISO 3166-1 alpha-2)
descriptiontextextendedDefault: ''Detailed general description
foreigntaxratesjsonextendedCountry-specific tax rates in percent; use country code as object key
picbinfileintegerplainbinfiles.IDBinary file ID; is read-only (not for `PUT` or `PATCH`)
subitemsjsonextendedJSON-encoded items (array)
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_items_forkginfork
fk_items_modelbtreemodel
fk_items_ownergroupginownergroup
fk_items_picbinfilebtreepicbinfile
i_items_barcodebtreebarcode
i_items_itemnumbtreeitemnum
i_items_namebtreename
i_items_noforkginfork
i_items_noownerginownergroup
pk_itemsbtreeID
s_items_barcodeginbarcode
s_items_itemnumginitemnum
s_items_manufacturerginmanufacturer
s_items_nameginname
NameType
c_items_typecheck
dc_items_applicabilitycheck
dc_items_barcodecheck
dc_items_classcodecheck
dc_items_descriptioncheck
dc_items_forcestockcheck
dc_items_foreigntaxratescheck
dc_items_itemnumcheck
dc_items_manufacturercheck
dc_items_namecheck
dc_items_origincheck
dc_items_subitemscheck
dc_items_tariffcodecheck
dc_items_taxratecheck
dc_items_typecheck
dc_items_visibilitycheck
dc_items_weightcheck
fk_items_creatorforeign_key
fk_items_forkforeign_key
fk_items_modelforeign_key
fk_items_ownergroupforeign_key
fk_items_picbinfileforeign_key
pk_itemsprimary_key
NameTypeEventsFunctionDefinition
td_items_serialsbeforedeleteftd_items_serials
ti_items_modelbeforeinsertftiu_items_model
tu_items_modelbeforeupdateftiu_items_model
tu_items_typebeforeupdateft_integrity
Loading...