# Logo Tiger 3 AI Ontology & Governed MCP Connector

Canonical URL: https://naditu.com/connectors/logo-tiger
Category: Regional & Industrial ERP
Read path: `SQL Server Read Replica · Fiscal Period Router`
Write gate: `Human-approved via Logo Objects REST Service`

Logo Tiger 3 Enterprise and Tiger Wings store master data under firm-prefixed tables (LG_001_CLCARD, LG_001_ITEMS) while transactional slips rotate across fiscal-period prefixes (LG_001_01_ORFLINE, LG_001_02_INVOICE) joined via untyped LOGICALREF integers and numeric TRCODE discriminators. Raw Text-to-SQL fails immediately on period rollovers and TRCODE sign inversions. Naditu resolves firm/period routing, MRP links and statutory e-invoice rules out of the box.

## Business objects & field-level governance.

- **Customer & Supplier Card (Cari)** (`LG_XXX_CLCARD · LG_XXX_XX_CLFLINE · LG_XXX_CLRNUMS`) — Risk limit, aging balance & group-company scope by role
- **Sales & Purchase Order** (`LG_XXX_XX_ORFICHE · LG_XXX_XX_ORFLINE · LG_XXX_ITEMS`) — Unit cost, discount cascade & VAT exclusion rules enforced
- **Item, Warehouse & Lot Stock** (`LG_XXX_ITEMS · LV_XXX_XX_STINVTOT · LG_XXX_XX_STLINE · LG_XXX_UNITSETL`) — Purchase price & FIFO/cost valuation masked outside Finance & Purchasing
- **Work Order, BOM & Routing** (`LG_XXX_PRODORD · LG_XXX_DISPLINE · LG_XXX_BOMMASTER · LG_XXX_BOMLINE`) — Workstation cost rates restricted to Production Planning & Finance

## Three physical schema traps solved in the layer.

1. **Dynamic LG_XXX_XX firm and fiscal-period table prefixes:** Every company number and annual rollover creates a new physical table set (such as LG_001_01_STLINE vs LG_001_02_STLINE) while master cards remain firm-scoped. Naditu routes multi-year and multi-firm queries deterministically.
2. **TRCODE slip types and LINETYPE discount/promotion rows in STLINE:** LG_XXX_XX_STLINE holds sales dispatches (TRCODE 8), purchase receipts (TRCODE 1), sales returns (TRCODE 3), scrap, BOM consumption and discount lines (LINETYPE = 2) in one table. Unfiltered sums invert revenue and stock.
3. **Multi-unit conversion factors (UINFO1 / UINFO2) and CANCELLED flags:** Order and stock lines record transaction units that convert to main stock units via UINFO1/UINFO2 ratios, and cancelled slips stay in tables with CANCELLED = 1. The ontology enforces main-unit math and active-slip filters.

## Common engineering questions.

### Why can’t an AI agent insert rows directly into LG_XXX_XX_INVOICE or STLINE?

Direct SQL inserts bypass Logo Tiger’s stock total views, Cari ledger balances (CLFLINE), serial/lot tracking and e-Fatura UBL-TR numbering. Naditu executes writes exclusively through Logo Objects REST behind human approval.

### Does Naditu handle annual fiscal rollover (Devir) across multiple Tiger periods?

Yes. Year-over-year comparisons automatically union the configured fiscal-period schemas without manual SQL rewrites.

### Are Tiger 3 Enterprise MRP, BOM and Tiger Wings supported?

Yes. Tiger 3, Tiger 3 Enterprise (including PRODORD, DISPLINE and BOMMASTER) and Tiger Wings on SQL Server are all supported.
