Spinning mills, dyehouses, weaving plants, and export garment manufacturers rely heavily on vertical suites built specifically for textile workflows. When engineering leaders scope a Sentez LiveERP and WinTex AI integration, generic ERP connectors offer no help. Neither Sentez LiveERP (spanning LiveVOGUE, LiveYARN, LiveKNIT, LiveWEAVE, and LiveDYE) nor WinTex ships an off-the-shelf Model Context Protocol (MCP) server, and both platforms organize shop-floor reality around lot accompaniment cards, marker plans, and subcontractor dispatches on Microsoft SQL Server. Building a dependable assistant requires understanding how Sentez's LiveServer REST API and WinTex's SQL and file surfaces actually work under the hood.
How Sentez LiveServer REST works (and the LiveREST name trap)
Teams researching Sentez APIs first run into a naming trap: LiveREST is Sentez's restaurant and hospitality POS product, whereas the programmatic integration layer for LiveERP is the separately licensed LiveServer REST API (LiveServer.Exe), which exposes its OpenAPI documentation only locally at /swagger once installed by vendor support. Older installations may instead carry the 2015 liveservice WCF SOAP layer with 26 .svc modules, so verifying the active generation comes first, just as we outlined in Textile and apparel ERP data for manufacturing AI.
In current LiveServer installations, public sample code reveals four architectural mechanics that an AI connector must handle explicitly:
- Dual user-and-company login credentials:
POST /api/Authentication/Loginrequires five fields sent together:userCode,password,companyCode,companyPassword, anduserType, returning a bearer token insideData. Sample projects ship with pre-filled defaults that IT teams must audit and rotate before exposing any service internally. - Two-step business-object read handshakes: reading business objects such as
OrderReceiptBO,InvoiceBO,InventoryBO, orCurrentAccountBOis not a single REST GET. The client first callsGET /api/BO/CreateBOwithBONameand threeinitparamsintegers to obtain a runtimeBOId, then callsGET /api/BO/GetorGetById. - Full-dictionary writes with numeric foreign keys:
POST /api/BO/PostBOandPUT /api/BO/UpdateBOtake a JSON dictionary keyed by physical SQL table names such asErp_OrderReceipt,Erp_OrderReceiptItem,Erp_OrderReceiptItemVariant, andErp_InventoryAllocation. Lookups reference internal numeric IDs (CurrentAccountId,InventoryId,WarehouseId) rather than human-readable string codes, and omitted fields default to null. - Unrestricted SQL utility endpoints to lock down: LiveServer exposes
POST /api/Utility/UtilityQueryand namesUtilityNonQueryfor raw SQL strings under the same bearer token. Exposing free-form SQL endpoints directly to an LLM is an immediate data-integrity hazard.
How WinTex exposes garment, costing, and shop-floor data
WinTex runs 24/7 on Microsoft SQL Server using T-SQL and CLR stored procedures alongside over a thousand Stimulsoft report templates (WRJ), browser-based WinTexWEB mobile QC screens, WUA-Online shop-floor barcode collection, and scheduled ORS and OUS alert jobs. Unlike Sentez LiveServer, WinTex publishes no public inbound REST specification or table dictionary.
On the plant floor, WinTex connects outward to accounting packages (such as Logo), e-Irsaliye integrators, customs XML brokers,PolyPattern marker XML imports (PASTALXML), inspection machines, and WinPack scales. Because model cards allow user-defined fields, 30-slot size sets (b01 through b30), defect codes (SakatKod), and explicit row locks (Kilitle and concurrent edit flags), any AI integration must discover and map the plant's live SQL Server views rather than guessing column names from slide decks.
A safe blueprint for Sentez LiveERP and WinTex AI deployments
Textile and apparel groups can put AI to work across both ERPs without risking corrupt lot records or locked model cards:
- Read through governed SQL Server views, never UtilityNonQuery: connect read-only accounts to SQL Server replicas, joining Sentez
Erp_InventoryandErp_OrderReceiptItemVariantor WinTex model, cutting, andfasontables with shop-floor MES confirmations inside a unified governed connector layer. - Resolve numeric IDs and unit conversions deterministically: map customer codes, Pantone color variants, yarn counts, and subcontractor warehouse balances inside the ontology so the language model never guesses internal
InventoryIdintegers. - Route writes through validated drafts: for Sentez LiveERP, assemble complete
PostBOpayloads behind human sign-off soDataValidatorandSecurityCheckerextensions run cleanly, and for WinTex, feed approved outputs into sanctioned import routines while respecting locked BOM lines. Discrete manufacturers running IAS and shop-floor MES suites can compare the same architecture in Connecting Canias ERP, ProManage, and Bimser to AI.