invantive-dokumentationen del af invantive cloud
Invantive Support ForumsLog ind / Tilmeld dig

Magento Data Model

Magento-webshop.

Opsæt denne platform i Invantive Cloud: https://cloud.invantive.com/magento

Dataene er partitioneret pr. partition (COMPANY_CODE).

Tekstsammenligninger på denne platform skelner mellem store og små bogstaver.

Platform

  • Anvendes fra: Invantive Cloud og Invantive-produkterne på din egen computer eller server.
  • Type: En program, der tilgås via dens API.
  • Invantive Cloud-planer: Office for Entrepreneurs, Office for Accountants, Premium Finance, OEM.

Ordliste

  • 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.

Tal

Figur Tæl
Tabeller 31
Kolonner 918
Tabeller med indsætning 16
Tabeller med opdatering 15
Tabeller med sletning 14
Tabeller dokumenteret 30

Plakat om datamodellen

Denne datamodel indeholder endnu ingen nøgler; de punktsatte relationer udledes af kolonnenavnene.

PDF, 1 A0-ark

I tabellen på plakaten: Zoom ind og ud, piletasterne til at flytte, 0 til at tilpasse.

Magento datamodel, Side 1 af 1Magento datamodeltil brug sammen med Invantive UniversalSQLUdgivelse 27.1.33-BETA+6408 · 03-11-2026ButikSide 1 af 1 · documentation.invantive.euButikMagento.Store.StoreConfigs: Store ConfigsStoreConfigsMagento.Store.StoreGroups: Store GroupsStoreGroupsMagento.Store.StoreViews: Store ViewsStoreViewsMagento.Store.Websites: WebsitesWebsitesLandMagento.Store.Countries: CountriesCountriesNATIVEPLATFORMSCALARREQUESTSMagento.Native.NATIVEPLATFORMSCALARREQUESTS: Native Platform Scalar RequestsNATIVEPLATFORMSCALARREQUESTSMagentoNoterDenne datamodel indeholder endnu ingen nøgler; de punktsatte relationer udledes afkolonnenavnene.DatalexikonHver tabel og kolonne i denne datamodel er beskrevet i den tilhørende dokumentation pådocumentation.invantive.eu, hvor dokumentet også findes på andre sprog.NoterBoxerne er inddelt efter emne og markeret med forskellige farver alt efter kategori. Der tegnes enforbindelse i det emne, hvor tabellen med nøglen befinder sig; der defineres en lysegrå Box i etandet emne.EmnerButik1Tabeller uden relationer1ForklaringTransaktionsrelateretOpsætningTekniskFastkodede værdierBeskrevet i et andet emneAngivet nøgleForholdet beskrevet med ordKandidat udledt af kolonnenavneFed: en populær tabel+Bulk, +Read: tabellen findes også i disse varianter×n: n relationer mellem de samme tabellerGenereret ud fra metadataene fra Invantive UniversalSQL 27.1.33-BETA+6408 den 03-11-2026. Hver tabelindeholder et link til sin side med kolonner, nøgler og eksempler på Query-forespørgsler.documentation.invantive.eu/da/datamodels/magento
Plakaten som tekst: tabeller efter emne og deres indbyrdes sammenhænge

Butik

StoreConfigs, StoreGroups, StoreViews, Websites

Land (uden relationer)

Countries

NATIVEPLATFORMSCALARREQUESTS (uden relationer)

NATIVEPLATFORMSCALARREQUESTS

Forhold

Eksempler på 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

Egenskaber

Attributterne for denne platform findes på siden Attributes.

Tabeller

Magento.Catalog

Magento.Cms

Magento.Customers

Magento.Inventory

Magento.Marketing

Magento.Native

Magento.Sales

Magento.Store

Magento.Tax