dokumentace k produktu Invantivesoučást invantive cloud
Fóra podpory InvantivePřihlásit se/ Zaregistrujte se

Magento Data Model

Internetový obchod Magento.

Nastavte tuto platformu v Invantive Cloud: https://cloud.invantive.com/magento

Data jsou rozdělena na oddíly (COMPANY_CODE).

Porovnávání textů na této platformě rozlišuje velká a malá písmena.

Platforma

  • Používá se v: Invantive Cloud a v produktech Invantive na vašem vlastním počítači nebo serveru.
  • Typ: aplikace přístupná prostřednictvím jejího API.
  • Plány Invantive Cloud: Office for Entrepreneurs, Office for Accountants, Premium Finance, OEM.

Slovníček pojmů

  • Installation: One Magento or Adobe Commerce shop system with its own administration and database, holding one or more websites.
  • Website: The top level of a shop's structure, with its own customers, checkout, payment settings and stock assignment, holding one or more stores.
  • Store: A level below the website that fixes the root category, and with it the part of the catalogue that is offered.
  • Store View: The lowest level of the structure, usually one per language, with its own texts, currency display, design and address.
  • Attribute: A property of products, categories or customers, such as colour or size, which a merchant can define beyond the standard fields.
  • Attribute Set: A template that decides which attributes a product has, so that, for example, shoes and laptops each get the properties that fit them.
  • Product: An item for sale, identified by its SKU, with a type, an attribute set, prices, images, stock and the websites where it is sold.
  • Product Type: The kind of product: simple, configurable, grouped, bundle, virtual or downloadable, which decides how it is bought and shipped.
  • Category: A node in the tree of categories that structures the catalogue and the menu of a store, below a root category.
  • Customer: A registered shopper with an account on a website, holding addresses, a customer group and the store where the account was made.
  • Customer Group: A classification of customers, such as general, wholesale or not logged in, that decides tax class, prices and promotions.
  • Cart: The basket of a shopper before ordering, technically a quote, which becomes an order at checkout.
  • Order: A purchase placed by a customer or guest, with items, addresses, payment and shipping, followed until complete, closed or cancelled.
  • Order State and Status: The state is the internal step of an order that decides what may happen next; the status is a label shown to staff and customers.
  • Invoice: A document that bills all or part of an order and, for online payment methods, captures the payment.
  • Shipment: A record that some or all items of an order were sent, with optional tracking numbers of the carrier.
  • Credit Memo: A document that refunds all or part of an invoiced amount, online through the payment provider or offline.
  • Payment Transaction: A step with the payment provider for an order, such as an authorisation, capture, void or refund, with the provider's reference.
  • Cart Price Rule: A promotion applied in the basket when its conditions are met, with or without a coupon code.
  • Coupon: A code that a shopper enters to activate a cart price rule, with limits on how often it may be used.
  • Tax Rule: A combination of customer tax classes, product tax classes and tax rates that decides which tax applies to a sale.
  • Source: A physical place that holds and ships stock, such as a warehouse or shop, in multi-source inventory.
  • Stock: A virtual pool of sources from which one or more websites sell, determining the salable quantity of each product.
  • CMS Page and Block: Content managed in the shop itself: pages such as about us or terms, and blocks of content placed within other pages.

Čísla

Obrázek Počet
Tabulky 31
Sloupce 918
Tabulky s vložkami 16
Tabulky s aktualizací 15
Tabulky s příkazem DELETE 14
Zaznamenané tabulky 30

Plakát s datovým modelem

Tento datový model zatím nedefinuje žádné klíče; vztahy vyznačené tečkami jsou odvozeny z názvů sloupců.

PDF, 1 list formátu A0

V tabulce na plakátu: Zoom a oddálení, pohyb pomocí šipek, 0 znamená přizpůsobení.

Magento datový model, List 1 z 1Magento datový modelpro použití s Invantive UniversalSQLVydání 27.1.33-BETA+6408 · 03-11-2026ObchodList 1 z 1 · documentation.invantive.euObchodMagento.Store.StoreConfigs: Store ConfigsStoreConfigsMagento.Store.StoreGroups: Store GroupsStoreGroupsMagento.Store.StoreViews: Store ViewsStoreViewsMagento.Store.Websites: WebsitesWebsitesZeměMagento.Store.Countries: CountriesCountriesNATIVEPLATFORMSCALARREQUESTSMagento.Native.NATIVEPLATFORMSCALARREQUESTS: Native Platform Scalar RequestsNATIVEPLATFORMSCALARREQUESTSMagentoPoznámkyTento datový model zatím nedefinuje žádné klíče; vztahy vyznačené tečkami jsou odvozeny z názvůsloupců.Datový slovníkKaždá tabulka a každý sloupec tohoto datového modelu je popsán v příslušné dokumentaci nastránkách documentation.invantive.eu, kde je tento příspěvek k dispozici také v dalších jazycích.PoznámkyBoxy jsou seskupeny podle témat a barevně odlišeny podle kategorií. V tématu tabulky obsahujícíklíč je nakreslena relace; v jiném tématu je definován Box světle šedé barvy.TémataObchod1Tabulky bez vztahů1LegendaTransakčníNastaveníTechnickéPevně zadané hodnotyVysvětleno v jiném tématuDeklarovaný klíčVztah popsaný slovyKandidát odvozený z názvů sloupcůTučné písmo: oblíbená tabulka+Hromadně, +Číst: tabulka existuje také v těchto variantách×n: n vztahů mezi stejnými tabulkamiVygenerováno z metadat nástroje Invantive UniversalSQL 27.1.33-BETA+6408 dne 03-11-2026. Každá tabulkaobsahuje odkaz na svou stránku se sloupci, klíči a ukázkovými Querymi.documentation.invantive.eu/cs/datamodels/magento
Plakát jako text: tabulky podle témat a jejich vzájemné vztahy

Obchod

StoreConfigs, StoreGroups, StoreViews, Websites

Země (bez vztahů)

Countries

NATIVEPLATFORMSCALARREQUESTS (bez vztahů)

NATIVEPLATFORMSCALARREQUESTS

Vztahy

Příklad Query

select itm.sku
,      itm.name
,      sum(itm.qty_ordered - itm.qty_shipped) qty_to_ship
from   Magento.Sales.OrderItems itm
join   Magento.Sales.Orders ord
on     ord.entity_id = itm.order_id
where  ord.state in ('new', 'processing')
group
by     itm.sku
,      itm.name
select ord.state
,      count(*) order_count
,      sum(ord.grand_total) order_total
from   Magento.Sales.Orders ord
where  ord.created_at >= to_char(sysdateutc - 30, 'YYYY-MM-DD')
group
by     ord.state
select pdt.sku
,      pdt.name
,      pdt.price
,      pdt.extension_attributes_stock_item_qty stock_quantity
from   Magento.Catalog.Products pdt
where  pdt.status = 1
and    pdt.price > 100
select sim.sku
,      sim.source_code
,      sim.quantity
from   Magento.Inventory.SourceItems sim
where  sim.status = 1
and    sim.quantity < 5

Atributy

Atributy této platformy jsou na stránce Atributy.

Tabulky

Magento.Catalog

Magento.Cms

Magento.Customers

Magento.Inventory

Magento.Marketing

Magento.Native

Magento.Sales

Magento.Store

Magento.Tax