Oracle Retail18 min readBy Priyanshu Pandey

RMS Database Schema Overview: Tables & Naming Conventions

Mastering the Oracle RMS database requires understanding its naming conventions and key schema patterns. Learn how to quickly navigate the thousands of tables in RMS by decoding their prefixes and suffixes.

Phase 1 · Foundations · Oracle RMS Series

RMS Database Schema: Tables & Naming Conventions

Oracle RMS contains thousands of tables. Memorizing them all is impossible, but understanding the underlying naming conventions unlocks the entire data model. Learn the prefixes, suffixes, and core foundational tables every developer must know.

18 min read📅August 8, 2026✍️Priyanshu Pandey📚Oracle RMS Series

When you first connect an SQL client to an Oracle RMS database, the sheer scale of the schema can be overwhelming. There are literally thousands of tables, views, and PL/SQL packages.

However, the architects at Oracle (and Retek, originally) followed strict naming conventions. Once you learn these conventions, navigating the RMS data model becomes highly intuitive. You won't need to memorize table names; you will be able to guess them accurately.



1. Decoding Table Prefixes

RMS tables generally start with a prefix indicating the functional area or module they belong to.

Common RMS Table Prefixes

ColumnTypeDescription
ORD
Purchase OrdersORDHEAD, ORDLOC
TSF
TransfersTSFHEAD, TSFDETAIL
INV
InventoryINV_STATUS_CODES, INV_ADJ
COMP
Competitor PricingCOMP_SHOP_LIST
DEAL
Supplier DealsDEAL_HEAD, DEAL_DETAIL
VAT
Value Added TaxVAT_CODES, VAT_ITEM
SUP
SuppliersSUPS, SUP_TRAITS
WH
WarehousesWH, WH_ADD

2. Decoding Table Suffixes

While prefixes tell you the business area, suffixes tell you the nature of the data stored in the table.

Common RMS Table Suffixes

ColumnTypeDescription
_TEMP
Temporary working tables used by overnight batch jobs. Data is usually truncated daily.STKLEDGR_TEMP
_HIST
Historical records or audit trails.ITEM_LOC_SOH_HIST
_REV
Revision tracking. Holds the state of an entity before it was modified.ORDHEAD_REV
_TL
Translation Label tables used for Multi-Language Support (MLS).ITEM_MASTER_TL
_EXT
Extension tables added in later versions to hold new columns without altering the base table.ITEM_MASTER_EXT
💡

The Translation Tables (_TL)

If you query ITEM_MASTER.ITEM_DESC and it's null or in the wrong language, you should join to ITEM_MASTER_TL using the LANG column to get the localized description for the user's current locale.


3. The Header-Detail Pattern

Virtually all transactional entities in RMS follow a strict hierarchical pattern. If you understand this pattern for Purchase Orders, you automatically understand it for Transfers, RTVs, and Allocations.

Level 1: The Header

Contains data applicable to the entire transaction (Supplier, Dates, Status).

  • PO: ORDHEAD
  • Transfer: TSFHEAD
  • Return to Vendor: RTV_HEAD

Level 2: The Detail (or SKU)

Contains data specific to the items on the transaction, aggregated across all locations.

  • PO: ORDSKU
  • Transfer: TSFDETAIL
  • Return to Vendor: RTV_DETAIL

Level 3: The Location

Contains data specific to the item at a specific location (Store or Warehouse). This is where physical quantities are tracked.

  • PO: ORDLOC (contains QTY_ORDERED, QTY_RECEIVED)
  • Transfer: TSFDETAIL (often combined with Level 2 for simple transactions, but location mapping tables exist).

4. The Big Five Foundational Tables

If you want to be productive in RMS on day one, memorize these five tables. Everything else connects back to them.

  1. ITEM_MASTER: The core of the universe. Every product, style, and pack exists here. Primary key: ITEM.
  2. SUPS: The supplier master. Primary key: SUPPLIER.
  3. STORE: The store master table. Primary key: STORE.
  4. DEPS: The department table. Represents the first meaningful level of the merchandise hierarchy below group. Primary key: DEPT.
  5. ITEM_LOC_SOH: The Stock on Hand table. This tracks the physical inventory quantities for every item at every location. It is the most heavily updated table in the system.

5. Key Takeaways

Key Takeaways

  • Prefixes (like ORD, TSF, INV) group tables by business function, making them easy to locate in the schema.
  • Suffixes (like _TEMP, _TL, _HIST) identify the technical purpose of the table. Never write business logic that permanently relies on _TEMP tables.
  • RMS transactions universally follow a Header -> Detail -> Location relational pattern.
  • The ITEM_MASTER and ITEM_LOC_SOH tables are the most critical tables in the system. They are the hub that connects pricing, purchasing, and inventory.
RetailCoder
All systems operational
v1.0 Live

RC:OMS

Multi-channel order management with double-entry inventory ledger. Amazon, Flipkart, Shopify, WooCommerce — one source of truth.

Launch demo →
v1.0 Live

RC:Storefront

Self-hosted headless e-commerce. Your server, your data, zero transaction fees. Native RC:OMS inventory sync.

Visit Storefront →
Pipeline

RC:Pulse

AI-powered retail analytics and demand forecasting — built natively on top of your RC:OMS and Storefront data.

Request early access →
Built in India 🇮🇳  ·  Architected by Priyanshu PandeyTalk to an engineer →