MageSmith

🛒 Magento_Sales · engine innodb

sales_order_tax_item

Sales Order Tax Item

Neighbourhood (1-hop foreign-key graph — showing 2 of 3)

flowchart LR
  c["sales_order_tax_item"]:::center
  n0["sales_order_item"]
  click n0 "/schema/table/sales_order_item"
  n0 -- associated_item_id --> c
  n1["sales_order_tax"]
  click n1 "/schema/table/sales_order_tax"
  n1 -- tax_id --> c
  click c "/schema/table/sales_order_tax_item"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (10)

NameTypeNullDefaultComment
tax_item_id PKint unsignednoTax Item ID
tax_id int unsignednoTax ID
item_id int unsignedyesItem ID
tax_percent decimal noReal Tax Percent For Item
amount decimal noTax amount for the item and tax rate
base_amount decimal noBase tax amount for the item and tax rate
real_amount decimal noReal tax amount for the item and tax rate
real_base_amount decimal noReal base tax amount for the item and tax rate
associated_item_id int unsignedyesId of the associated item
taxable_item_type varchar(32) noType of the taxable item

Keys & indexes

Primary key: tax_item_id

Unique

  • SALES_ORDER_TAX_ITEM_TAX_ID_ITEM_ID (tax_id, item_id)

Indexes

  • SALES_ORDER_TAX_ITEM_ITEM_ID (item_id) btree

References (3)