# Oracle NetSuite AI Ontology & SuiteQL MCP Connector

Canonical URL: https://naditu.com/connectors/oracle-netsuite
Category: Global ERP
Read path: `SuiteQL · SuiteTalk REST · Analytics Connect`
Write gate: `Human-approved via SuiteTalk REST & SuiteScript RESTlets`

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.

## Business objects & field-level governance.

- **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

## Three physical schema traps solved in the layer.

1. **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.
2. **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.
3. **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.
