# Mikro Run, Jump & Fly AI Ontology & MCP Connector

Canonical URL: https://naditu.com/connectors/mikro-erp
Category: Regional & Industrial ERP
Read path: `SQL Server Read Replica · Evrak Tipi Enum Dictionary`
Write gate: `Human-approved via Mikro API V2 REST Service`

Mikro Run, Mikro Jump and Mikro Fly store operational transactions inside compact prefixed SQL Server columns (cha_*, sth_*, sip_*, ise_*) where dozens of document types, normal/return flags and multi-discount cascades (isk1..isk6) live in single integer codes. Generic Text-to-SQL tools misread cha_evrak_tip and sth_cins on the first prompt. Naditu ships a complete Mikro semantic dictionary and Mikro API V2 write gate.

## Business objects & field-level governance.

- **Cari Account & Aging Ledger** (`CARI_HESAPLAR · CARI_HESAP_HAREKETLERI · CARI_HESAP_ADRESLERI`) — cha_srmrkkodu responsibility-center filter & credit limit rules
- **Order & Open Backlog** (`SIPARISLER · CARI_HESAPLAR · STOKLAR`) — Remaining deliverable quantity (sip_miktar - sip_teslim_miktar) & margin mask
- **Stock Movement & Warehouse Total** (`STOKLAR · STOK_HAREKETLERI · DEPOLAR · BARKOD_TANIMLARI`) — Purchase price & cost columns restricted to Purchasing & Finance
- **Production Work Order & Recipe (Fly)** (`IS_EMIRLERI · URUN_RECETELERI · URETIM_ROTA_PLANLARI`) — Recipe cost & workstation rates masked for general roles

## Three physical schema traps solved in the layer.

1. **Prefixed integer discriminators (sth_tip, sth_cins, sth_normal_iade, cha_evrak_tip):** STOK_HAREKETLERI and CARI_HESAP_HAREKETLERI encode entry/exit direction, wholesale vs retail, return vs normal and 60+ document kinds as small integers. Naditu binds the verified Mikro enum table.
2. **Six-tier discount columns (sth_iskonto1..6) and net unit price math:** Line gross amount (sth_tutar) excludes cascading header/line discounts stored across six separate columns. Computing net revenue without subtracting isk1..isk6 overstates sales.
3. **GUID / RECno version changes across Mikro V15, V16 and V17:** Primary and relation keys evolved from integer RECno columns in V15 to Guid keys (sth_Guid, cha_Guid) in V16/V17. Naditu supports your exact Mikro schema generation.

## Common engineering questions.

### Which Mikro editions and versions does Naditu support?

Mikro Run, Mikro Jump and Mikro Fly (V16 and V17, plus legacy V15/Enerji/Standart SQL Server schemas) are supported on-premises.

### How are new orders or stock slips written back to Mikro safely?

Writes execute through official Mikro API V2 endpoints after human approval so document series/sequence numbers, taxes and warehouse balances remain valid.

### Can Mikro ERP be connected alongside e-commerce platforms like Trendyol, Ticimax or ikas?

Yes. Barcode and stock-code joins compare live Mikro warehouse balances against marketplace listings to catch stock drift immediately.
