Skip to content
NeelAI docs
Product site
Docs/Try it

Schema explorer

Every table and column in the demo company, searchable.

NeelAI v2.9Verified 28 Sep 2026Consultant

The demo company has 13 tables and 1,873 rows, using the real SAP Business One table and column names. Fiscal year 2025-26, figures as at 2026-03-31. This page is generated from the same definition that builds the database, so it cannot drift out of date.

OTER

Territories5 rows · key territryID

Sales territories. Joined from OCRD.Territory.

territryIDINTEGERTerritory key
descriptTEXTTerritory name

OCRG

Business partner groups8 rows · key GroupCode

Customer and supplier groupings.

GroupCodeINTEGERGroup key
GroupNameTEXTGroup name
GroupTypeTEXTC customers, S suppliers

OITB

Item groups8 rows · key ItmsGrpCod

Item groupings. Joined from OITM.ItmsGrpCod.

ItmsGrpCodINTEGERItem group key
ItmsGrpNamTEXTItem group name

OWHS

Warehouses4 rows · key WhsCode

Stock locations.

WhsCodeTEXTWarehouse code
WhsNameTEXTWarehouse name
CityTEXTCity
StateTEXTState
StateCodeTEXTGST state code, for place of supply

OCRD

Business partners48 rows · key CardCode

Customers and suppliers in one table, split by CardType.

CardCodeTEXTBusiness partner code
CardNameTEXTBusiness partner name
CardTypeTEXTC customer, S supplier
GroupCodeINTEGER→ OCRG.GroupCode
LicTradNumTEXTGSTIN
TerritoryINTEGER→ OTER.territryID
CityTEXTCity
StateTEXTState
StateCodeTEXTGST state code
BalanceREALAccount balance
CreditLineREALCredit limit
U_GSTStatusTEXTActive or Cancelled — a UDF, as at most sites

OITM

Items36 rows · key ItemCode

Item master.

ItemCodeTEXTItem code
ItemNameTEXTItem description
ItmsGrpCodINTEGER→ OITB.ItmsGrpCod
InvntryUomTEXTInventory unit of measure
LastPurPrcREALLast purchase price
U_HSNTEXTHSN code — a UDF at most Indian sites
GSTRateREALGST rate percent

OITW

Item / warehouse97 rows · key ItemCode, WhsCode

Stock per item per warehouse.

ItemCodeTEXT→ OITM.ItemCode
WhsCodeTEXT→ OWHS.WhsCode
OnHandREALQuantity in stock
AvgPriceREALMoving average cost

OINV

A/R invoices — header240 rows · key DocEntry

One row per sales invoice. DocStatus O is open, C is closed.

DocEntryINTEGERInternal key
DocNumINTEGERDocument number users see
CardCodeTEXT→ OCRD.CardCode
CardNameTEXTCopied name at posting time
DocDateTEXTPosting date
DocDueDateTEXTDue date
DocTotalREALDocument total including tax
PaidToDateREALAmount settled
VatSumREALTotal GST
DiscSumREALDiscount
DocStatusTEXTO open, C closed
TerritoryINTEGER→ OTER.territryID

INV1

A/R invoices — lines471 rows · key DocEntry, LineNum

Invoice lines. Joined to OINV on DocEntry.

DocEntryINTEGER→ OINV.DocEntry
LineNumINTEGERLine number from 0
ItemCodeTEXT→ OITM.ItemCode
DscriptionTEXTLine description — note the spelling, it is SAP's
QuantityREALQuantity
PriceREALUnit price before tax
LineTotalREALLine total before tax
GrossBuyPrREALCost at time of sale, for margin
WhsCodeTEXT→ OWHS.WhsCode
VatGroupTEXTTax code
VatSumREALGST on the line

OPCH

A/P invoices — header140 rows · key DocEntry

Supplier invoices.

DocEntryINTEGERInternal key
DocNumINTEGERDocument number
CardCodeTEXT→ OCRD.CardCode
CardNameTEXTSupplier name at posting time
DocDateTEXTPosting date
DocDueDateTEXTDue date
DocTotalREALTotal including tax
PaidToDateREALAmount settled
VatSumREALTotal GST — the input tax credit at stake
DocStatusTEXTO open, C closed

PCH1

A/P invoices — lines270 rows · key DocEntry, LineNum

Supplier invoice lines.

DocEntryINTEGER→ OPCH.DocEntry
LineNumINTEGERLine number
ItemCodeTEXT→ OITM.ItemCode
DscriptionTEXTLine description
QuantityREALQuantity
PriceREALUnit price
LineTotalREALLine total before tax
WhsCodeTEXT→ OWHS.WhsCode
VatSumREALGST on the line

ORDR

Sales orders — header60 rows · key DocEntry

Open orders are the pipeline.

DocEntryINTEGERInternal key
DocNumINTEGERDocument number
CardCodeTEXT→ OCRD.CardCode
CardNameTEXTCustomer name
DocDateTEXTOrder date
DocDueDateTEXTDelivery date
DocTotalREALOrder value
DocStatusTEXTO open, C closed

OINM

Inventory movements486 rows · key TransNum

Every stock movement. The ageing questions live here.

TransNumINTEGERMovement key
ItemCodeTEXT→ OITM.ItemCode
WarehouseTEXT→ OWHS.WhsCode
DocDateTEXTMovement date
InQtyREALQuantity in
OutQtyREALQuantity out
TransValueREALValue of the movement
TransTypeINTEGERSource document type