# A Private, On-Prem LLM for Infor LN and Baan: Architecture and Rollout

> Source: https://netray.co/erp-ai/infor-ln-private-llm-on-prem
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: AI for ERP

## Short answer

A private LLM for Infor LN or Baan runs an open-weight model on your own GPU servers and reads LN data through a read replica, BODs or LN services, so answers come from live company data without anything leaving your network. It suits aerospace, defense and machinery companies on on-prem LN or legacy Baan who cannot use cloud AI. A single GPU server is typically enough to start.

## Kind

platform

## Erp Family

infor

## Erp Products

- Infor LN
- Infor Baan IV
- Infor Baan V
- Infor ERP LN 6.1

## Industries

- Aerospace
- Defense
- Industrial Machinery
- Automotive
- High-Tech Electronics

## Region

Global

## Persona

IT Director

## Eyebrow

Infor LN + private LLM

## Intro

Many of the companies still running Infor LN on-premises, or Baan IV and V, are there for good reasons: export-controlled programs, customer contracts, heavy customizations, or a migration that keeps moving right. They are also the companies least able to use cloud AI services. A private LLM is how they get AI value from LN without changing where LN runs.

The architecture is simple in outline. An open-weight model runs on GPU servers in your data center. A connector reads LN through a read replica of the database, through BODs published by ION, or through LN web services. A semantic layer translates LN's table and session world, such as tdsls400 sales orders, tisfc001 production orders and tcibd001 items, into business terms. Users ask questions and get answers with the query shown.

What makes it work in practice is not the model but the details: mapping your LN companies and enterprise units, interpreting your customizations and domains, enforcing LN authorizations in answers, and handling Baan-era naming that never got cleaned up. That is where most of the effort goes.

This page sets out the architecture, sizing, security model and rollout that we use for LN and Baan, and the trade-offs against waiting for a cloud migration.

## Pain Points

### Cloud AI is off the table

**Detail:** ITAR, CMMC, customer contracts or company policy restrict sending LN data to external AI services.

### LN is hard to query

**Detail:** LN's table naming, company structure and domains make ad-hoc questions slow even for experienced users; occasional users cannot do it at all.

### Knowledge locked in a few people

**Detail:** Baan and LN expertise is concentrated in long-serving staff. Questions queue behind them.

### Migration uncertainty

**Detail:** Moving to LN cloud or another ERP may be years away. Waiting for AI until then leaves value on the table.

### Customizations everywhere

**Detail:** Decades of 3GL and 4GL scripts and DAL changes alter business logic, so generic tools misread the data.

## Use Cases

### Ask LN in plain English

**Description:** Users ask about sales orders, production, purchasing and inventory; answers are built from replica queries with SQL shown.

**Erp Objects:** tdsls400 and tdsls401 sales orders, tdpur400 and tdpur401 purchase orders, tisfc001 production orders, whwmd215 inventory, tcibd001 items

**Outcome:** Occasional users get answers without session navigation; experts save time on routine lookups.

### Project and ETO status

**Description:** Summarizes project cost, progress and open activities for engineer-to-order work.

**Erp Objects:** Project control tables, project budgets, actual costs, activities

**Outcome:** Faster project reviews with sourced figures.

### Customization explainer

**Description:** Reads 4GL scripts, DAL hooks and session customizations and explains what they do.

**Erp Objects:** Customized sessions, 4GL program scripts, DAL scripts, table extensions

**Outcome:** Faster onboarding of new developers and safer changes.

### Document and specification search

**Description:** Answers questions from specs, work instructions and contracts held on file shares, with access controls.

**Erp Objects:** File shares, document management, item and project references

**Outcome:** Engineers find relevant documents in minutes rather than hours.

### Shortage and expedite briefings

**Description:** Daily summary of shortages against production orders, with PO status and suggested expedites.

**Erp Objects:** Production order material lines, purchase orders, inventory by warehouse

**Outcome:** Planners and buyers start the day with a prioritized list.

### Baan knowledge capture

**Description:** Interview and document long-serving experts' knowledge into a searchable base tied to LN objects.

**Erp Objects:** Session documentation, process notes, custom tables

**Outcome:** Reduced dependence on a few individuals.

### Migration preparation

**Description:** Analyzes data quality and customization usage to support a future LN cloud or ERP migration.

**Erp Objects:** Table usage, customization inventory, master data

**Outcome:** Better-informed migration scope and estimates.

## Architecture

**Overview:** Everything runs inside your network: replica or BOD-fed store, semantic layer, model server, retrieval index and audit log. Users reach it through a web interface or Teams inside the corporate network.

**Layers:**

#### LN data path

**Detail:** Read replica of the LN database on Oracle, SQL Server or DB2, refreshed near real time; or BODs published by ION into a local store; or LN web services for specific lookups.

#### Semantic layer

**Detail:** Maps LN companies, enterprise units, tables, domains and customizations to business terms, and records which fields are trustworthy.

#### Model server

**Detail:** Open-weight model such as a Llama, Qwen or Mistral class model served with vLLM on one or more data center GPUs.

#### Retrieval index

**Detail:** Documents, customization source and process notes indexed in a local vector store, filtered by user access.

#### Security and audit

**Detail:** Single sign-on, mapping of LN authorizations to answer filters, and full logging of questions, queries and results.

## Deployment Options

### Air-gapped

**Fit:** Defense programs and classified-adjacent environments.

**Detail:** No internet connectivity; models and updates delivered as verified packages.

### On-prem connected

**Fit:** Most on-prem LN and Baan sites.

**Detail:** Runs in the data center with controlled outbound access for updates only.

### Private cloud

**Fit:** LN hosted by a partner or in a single-tenant cloud.

**Detail:** Runs in the same private environment as LN, connected over a private network.

## Compliance

### Controlled technical data stays on customer-controlled systems; access can be scoped by program and logged.

**Framework:** ITAR and EAR

### The AI system sits inside the customer's assessed boundary and inherits its controls: access control, audit logging and configuration management.

**Framework:** CMMC and NIST SP 800-171

### Answers support record review; controlled records remain in LN or the QMS.

**Framework:** AS9100

### No data leaves the environment, which simplifies compliance with OEM data handling terms.

**Framework:** Customer flow-down clauses

## Integration Notes

- Use a database replica for analytical queries to keep load off the production LN database.
- Map LN company numbers and enterprise units explicitly; multi-company LN setups otherwise produce misleading totals.
- Translate LN domains (enumerated values) into labels in the semantic layer so answers read naturally.
- Inventory table extensions and customized sessions; customized fields often carry the business meaning users care about.
- Map LN authorizations to row and column filters for answers, rather than giving everyone the service account's view.
- For Baan IV and V, expect older naming and more custom tables; budget extra time for the semantic layer.

## Product Fit

### ERPray

**Why:** Grounded answers, dashboards and agents over LN and Baan data, running fully on-prem.

### DataRay

**Why:** For combining LN data with documents and file shares inside the same private environment.

### Custom build

**Why:** For Baan knowledge capture, migration analysis and specialized agents.

## Engagement

### Assessment

**Duration:** 2 weeks

**Deliverables:**

- Data path decision
- GPU sizing
- Security and authorization mapping plan

### Pilot

**Duration:** 5-6 weeks

**Deliverables:**

- Model server and connector in your data center
- Semantic layer for one domain
- User accuracy testing

### Production

**Duration:** 4 weeks

**Deliverables:**

- Authorization mapping
- Audit logging
- Operations runbook

### Expand

**Duration:** Ongoing

**Deliverables:**

- More domains and companies
- Document retrieval
- Agents with approval

## Buyer Questions

- Does the solution run entirely inside our network, including model and logs?
- How does it read LN without loading production?
- How are LN authorizations enforced in answers?
- How does it handle our customizations and table extensions?
- What hardware is required for our user count?
- How are models updated in an air-gapped environment?

## Faq

### Can we run an LLM on-prem with Infor LN?

**Answer:** Yes. An open-weight model runs on GPU servers in your data center and reads LN through a database replica, BODs or LN web services. Answers are built from live LN data with the query shown, and nothing leaves your network. This works for current LN versions and for older Baan IV and V installations.

### What hardware is needed?

**Answer:** Many LN sites start with a single server holding one or two data center GPUs, running a quantized model suited to the user count. Larger user bases, long documents or several concurrent agents need more capacity. A sizing exercise based on expected concurrency and context length avoids buying too much or too little.

### Does it work with Baan IV or V?

**Answer:** Yes. The approach is the same, reading from the Baan database through a replica or extracts. Baan systems usually have more custom tables and older naming, so the semantic layer takes longer to build. The payoff is often greater, because Baan knowledge is concentrated in fewer people.

### How is security handled?

**Answer:** Users sign in with corporate single sign-on. Their LN authorizations are mapped to filters so answers only include data they could see in LN. Every question, query and answer is logged. The model and data stay inside your boundary, which supports ITAR and CMMC obligations that the customer is responsible for.

### Will it slow down LN?

**Answer:** Not if designed properly. Analytical queries run against a read replica rather than the production database, and specific lookups through LN services are lightweight. Query limits and caching protect performance during busy periods such as month-end.

### Should we wait for LN cloud instead?

**Answer:** If a cloud move is imminent and Infor's AI covers your needs, waiting may make sense. If migration is years away or cloud AI is unsuitable for your data, a private LLM delivers value now, and much of the semantic layer work also helps the eventual migration.

### Can it run fully air-gapped?

**Answer:** Yes. The model, retrieval index and connectors run with no internet access. Model updates and patches are delivered as verified packages through your existing secure transfer process. This suits defense programs where any external connectivity is prohibited.

## Search terms

private llm infor ln, on-prem llm infor ln, infor ln on-prem ai, baan llm, baan ai, air-gapped ai infor ln, infor ln chatgpt alternative, ai for infor ln on premise, infor ln genai, ai for baan erp, infor ln local llm, private ai infor ln

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
