# How to Add a Private AI Layer to Classic JobBOSS On-Prem

> Source: https://netray.co/erp-help/private-ai-layer-jobboss-classic-on-prem-architecture
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: ERP Help

## Short answer

Classic JobBOSS stores its data in a Microsoft SQL Server database, so a private AI layer can read job, operation, material, customer and delivery data through a read-only login on a restored or replicated copy. Documents stay in a local index, the model runs on your own GPU, and any change to JobBOSS goes through its own screens or supported import tools after a person approves.

## Kind

advanced

## System

job-shop-erp

## Erp

JobBOSS (classic, on-prem)

## Module

AI integration / SQL Server read access

## Query

how to add AI to JobBOSS on-prem

## Alternate Queries

- JobBOSS SQL Server AI assistant
- JobBOSS AI integration without cloud
- private LLM for JobBOSS shop data

## Applies To

Classic on-premises JobBOSS (the SQL Server based desktop product), not JobBOSS2 or Epicor-hosted offerings; verify your version and schema

## Steps

### Steps to add a private AI layer to JobBOSS (classic, on-prem)

**Items:**

- Confirm the product is classic JobBOSS on SQL Server and note the SQL Server edition and version; Express editions have size and feature limits that matter for replicas.
- Restore last night's backup to a separate SQL Server instance or enable log shipping, so the assistant reads a copy and not the live database.
- Create a SQL login and database user with SELECT on only the tables and views the assistant needs, and deny everything else.
- Build views in a separate schema that rename cryptic columns, expand status codes and apply row filters, then document each column.
- Index job packets, drawings, material certificates and inspection records into a local vector store with customer and job metadata.
- Serve an open-weight model locally with vLLM or Ollama and expose approved read actions through a tool server with full audit logging.
- Map each JobBOSS user to a role and scope views by role; hide cost and rate columns from non-management roles.
- Phase the rollout: read-only status questions, then document Q and A and drafts, then approved actions through supported routes.

## Sections

### How JobBOSS data can be reached

**Body:**

Classic JobBOSS keeps its operational data in SQL Server. Core tables include Job, Job_Operation and Material_Req for work in progress, plus Customer, Delivery, and the purchasing and invoice headers and details. The exact column names and status values depend on your version, so verify them against your own schema before building views.

A read-only SQL login on a restored copy is the simplest path. Grant SELECT on specific objects, not db_datareader on everything, so new tables with sensitive content are not exposed by default. Put the assistant's views in their own schema so the application's tables stay untouched.

Do not insert or update rows with SQL. JobBOSS calculates costs, statuses and quantities in the application, and direct writes can leave jobs in states the client cannot display or close correctly.

**Code:**

-- Dedicated read-only login (run on the replica)
CREATE LOGIN ai_reader WITH PASSWORD = '<set from your vault>';
USE [<your JobBOSS database>];
CREATE USER ai_reader FOR LOGIN ai_reader;
GRANT SELECT ON dbo.Job TO ai_reader;
GRANT SELECT ON dbo.Job_Operation TO ai_reader;
GRANT SELECT ON dbo.Customer TO ai_reader;

-- Example read (verify column names and status values in your schema)
SELECT TOP 50 Job, Part_Number, Status, Customer
FROM dbo.Job
WHERE Status = 'Active'
ORDER BY Job;

### Reference architecture

**Body:**

A small shop does not need exotic infrastructure. Restore the nightly backup to a second SQL Server instance (or log-ship it), put a vector store such as pgvector or Qdrant on a modest server, and run one GPU workstation or server for the model. The tool server sits between the model and SQL Server and exposes a handful of parameterised reads such as open jobs by customer, late operations by work center and material on order for a job.

Every question, tool call and row count is written to an append-only log. The log is useful for tuning and for showing a customer or auditor that the assistant only read what a user was entitled to see.

For plants handling controlled drawings or technical data, the same stack can run fully air-gapped. The architecture keeps the data inside the customer's boundary, which helps the customer meet its own obligations; it does not itself confer any certification.

### Permissions and data scope

**Body:**

JobBOSS has its own user and security groups, but the assistant's SQL login is a single account. So scope has to be enforced in the tool server: identify the person through your directory, map them to a role, and allow only the views that role needs.

Rates, burden, cost and margin fields should be limited to management and finance roles. Customer-specific restrictions, such as drawings that only certain staff may view, are best handled with metadata tags on index chunks and a retrieval filter applied before the model sees any text.

Test by logging in as a machinist and as an estimator and asking the same questions. The answers should differ exactly where the roles differ.

### Write-back, sizing and phased rollout

**Body:**

Treat JobBOSS as read-only for the first release. Where an action is worth automating, such as logging a delivery date change, let the assistant prepare the entry and have a person make it in the client, or use an import tool or integration the vendor supports for your version.

A shop with 20 to 80 named users usually fits on one 24 GB class GPU with a 7B to 14B model, and often needs less if usage is light. Document volume of tens of thousands of pages produces an index well under a gigabyte or two.

Phase one covers job status, late operations and shortages for 3 to 4 weeks. Phase two adds document retrieval and drafted supplier or customer messages. Any write action is a separate, later decision.

### Honest limits

**Body:**

Classic JobBOSS is an aging product line and the vendor's direction has moved to newer offerings, so avoid investments that only make sense if you stay on it for a decade. Schema documentation may be thin, and the first weeks often go to mapping columns and statuses.

If the shop only needs a handful of recurring reports, the built-in reports and a Power BI or SQL Server Reporting Services dashboard may serve better than an AI assistant. The assistant earns its place with ad hoc questions and document retrieval.

## Pitfalls

- Granting db_datareader on the whole database instead of SELECT on specific objects.
- Querying the live database during production hours.
- Assuming status values without checking them in your own schema.
- Showing labor rates and cost fields to every role.
- Writing to JobBOSS tables with SQL instead of using the client or a supported import.

## Ai Angle

ERPray's read-only pattern applies here: a restricted SQL login on a copy, the query shown to the user, and role-based scope. Netray can build the views, tool server and document index for a JobBOSS shop and host the model on your own GPU.

## Faq

### Does classic JobBOSS use SQL Server?

**Answer:** Yes, the classic on-premises product stores its data in Microsoft SQL Server. Confirm your edition and version, and note that JobBOSS2 is a different product with a different architecture.

### Is it safe to give an AI assistant a SQL login?

**Answer:** It is safe when the login is read-only, limited to specific objects, pointed at a restored or replicated copy, and wrapped by a tool server that logs every call and enforces role scope.

### Can the assistant close jobs or update dates?

**Answer:** Not in the first release. Let it draft the change and have a user enter it in JobBOSS or through a vendor-supported import. Direct SQL writes can corrupt costs and statuses.

### What hardware does a small shop need?

**Answer:** Often one GPU workstation with 24 GB of memory running a 7B to 14B open-weight model, plus a small server for SQL Server and the vector store.

## Search terms

JobBOSS AI, JobBOSS SQL Server read-only, JobBOSS on-prem AI assistant, private LLM JobBOSS, JobBOSS Job_Operation query, AI for small machine shop ERP, air-gapped job shop AI, JobBOSS data export AI

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