Saltar al contenido

app.catalog_bindings

TablaSeguridad a nivel de fila activa

Tenant catalog items bound to canon elements (Section 7.4). Each item gets an item ID {URID}-{ORG}-{SEQ} issued by next_sequence on insert.

Clave primaria: id

Columnas de app.catalog_bindings
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
item_idtextNoItem ID {URID}-{ORG}-{SEQ}: the element's URID, the org code and a sequence per org and URID. Issued by the database, never changed.
element_idtextNoCanon element the item is an instance of.Hace referencia a xpms.elements.element_id
nametextNoName the org uses for the item.
unit_basistextSíUnit the item is bought in.Hace referencia a xpms.dim_unit_alias.alias
default_unit_price_minorbigintSíDefault price in minor units; NULL is unpriced.
currency_codecharacter(3)SíISO 4217 currency of the default price.Hace referencia a private.currencies.currency_code
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id