Oracle NetSuite AI Ontology & SuiteQL MCP Connector
NetSuite stores sales orders, invoices, item fulfillments, purchase orders and journal entries inside unified Transaction and TransactionLine tables differentiated by type codes, mainline flags and custom custbody/custcol fields. Unassisted LLMs routinely double-count header and tax lines or miss OneWorld subsidiary currency rules. Naditu encodes your exact SuiteQL semantics and subsidiary permissions once.
SuiteQL · SuiteTalk REST · Analytics Connect
Human-approved via SuiteTalk REST & SuiteScript RESTlets
Canonical ontology mapping
Business objects & field-level governance.
Instead of exposing raw physical tables to an LLM, Naditu assembles governed domain objects and enforces caller role policies at query time.
Customer & Subsidiary Account
Physical tables / entitiescustomer · subsidiary · EntityAddress · CurrencyGovernance & masking ruleOneWorld subsidiary visibility & credit hold rulesOrder & Fulfillment
Physical tables / entitiestransaction (SalesOrd, ItemShip) · transactionLineGovernance & masking ruleGross profit & cost estimate masked outside Finance & RevOpsVendor Bill & Purchase Order
Physical tables / entitiestransaction (PurchOrd, VendBill) · vendorGovernance & masking ruleVendor banking & approval limit policies enforcedInventory Item & Location Balance
Physical tables / entitiesitem · inventoryItemLocations · InventoryAssignmentGovernance & masking ruleAverageCost & LastPurchasePrice restricted to Finance & Purchasing
| Business object | Physical tables / entities | Governance & masking rule |
|---|---|---|
| Customer & Subsidiary Account | customer · subsidiary · EntityAddress · Currency | OneWorld subsidiary visibility & credit hold rules |
| Order & Fulfillment | transaction (SalesOrd, ItemShip) · transactionLine | Gross profit & cost estimate masked outside Finance & RevOps |
| Vendor Bill & Purchase Order | transaction (PurchOrd, VendBill) · vendor | Vendor banking & approval limit policies enforced |
| Inventory Item & Location Balance | item · inventoryItemLocations · InventoryAssignment | AverageCost & LastPurchasePrice restricted to Finance & Purchasing |
Why raw SQL & generic MCP fail
Three physical schema traps solved in the layer.
Every operational system carries implicit join keys, status discriminators and multi-company rules that ungrounded Text-to-SQL guesses wrong.
- 01
TransactionLine mainline, taxline and COGS line duplication
Every NetSuite transaction stores header totals (mainline = T), item lines, shipping lines and COGS/tax postings inside transactionLine. Failing to filter mainline and accountinglinetype inflates revenue and quantities.
- 02
Tenant-specific custbody_ and custcol_ custom records
Crucial operational dates, approval states and 3PL references sit in custom fields unique to your NetSuite account. Naditu maps and documents each custom field in business language.
- 03
OneWorld multi-subsidiary elimination and FX consolidation
Cross-subsidiary SuiteQL sums without BUILTIN.CONSOLIDATE or intercompany elimination flags produce wrong financial totals. The ontology pins your Finance team’s exact consolidation logic.
Common engineering questions.
How does Naditu respect NetSuite API concurrency and governance limits?
Naditu executes bounded, paginated SuiteQL queries with token-based authentication and configurable concurrency pools so operational SuiteScript jobs are never starved.
Can AI agents create purchase orders or update NetSuite records?
Agents can prepare validated SuiteTalk REST or RESTlet payloads, which remain held behind a human approval gate until an authorized owner confirms execution.
Does Naditu work alongside NetSuite’s own MCP tools?
Yes. Naditu adds cross-system joins (joining NetSuite with Salesforce, WMS or plant MES), deterministic column masking and unified on-prem audit logging.
Engineering deep dives
Related architecture notes from the blog.
Connecting Oracle NetSuite, Odoo 19, and IFS Cloud to AI
How industrial and multi-entity groups connect Oracle NetSuite, Odoo 19, and IFS Cloud to AI: SuiteQL caps, JSON-2 APIs, Aurena OData, and MCP.
Why AI agents should read ERP data before they write
Reading and writing are different risks. How Anthropic and Infor separate them, and what a separate write permission should mean for a plant.