Saltar al contenido

app.vendor_products

TablaSeguridad a nivel de fila activa

What a vendor sells, bound to a catalog item or canon element, with the vendor's SKU and price.

Clave primaria: id

Columnas de app.vendor_products
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.vendors on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
vendor_iduuidNoVendor selling.Hace referencia a app.vendors.id
catalog_binding_iduuidSíCatalog item of the same org the product fulfills.Hace referencia a app.catalog_bindings.id
element_idtextSíCanon element the product is, when bound directly.Hace referencia a xpms.elements.element_id
vendor_skutextNoThe vendor's product identifier (recorded, never minted).
unit_price_minorbigintSíVendor price in minor units; NULL is unpriced.
currency_codecharacter(3)SíISO 4217 currency of the price.Hace referencia a private.currencies.currency_code
lead_time_daysintegerSíDays from order to delivery.
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