AFTEC Module Reference
AFTEC is PSI’s ERP — a PRO-III-derived UniData application running on MRP-PROD. This section covers what each module is and what its programs do, recovered from the original vendor manuals at
S:\Dept\Computer\Documents\PTIS2\AFTEC\(71 files, mostly WordPerfect, converted 2026-08-10).
799 programs across 19 modules. Each page lists every documented program with its title and purpose.
Open the interactive AFTEC Explorer → Browse every program by functional area, filter by what runs / what PSI changed / what has drifted, and read the change timeline, risk register and UniBasic primer in one place.
In this section:
- Design Intent vs Practice — what PRO-III was designed to do, from the vendor’s conceptual manuals, against what PSI actually uses. Six documented subsystems hold zero records.
- Shop Floor — scheduling (FF/FB/IF/IB), critical ratio, priority codes, lot splitting, and the two separate closes that define the WIP window.
- Product Master & BOM — the two most-rewritten programs. PSI replaced the vendor part-master screen outright in 1995, and that is where the GT code model is enforced.
- Routing — the most heavily customised subsystem:
CA1740is the third most-rewritten program in AFTEC, PSI added nine fields to 359,845 routing lines and built its own dispatch pipeline. - The Work Order Model — WO types and statuses, the
WIPBMFsnapshot everything hangs off, allocations, the three levels of cost detail, and the labor-collection features. - Change Audit — what PSI changed from the vendor baseline (397 programs), 37 years of dated modifications, where the work concentrates, and the risk register.
- Reading UniBasic — the six ideas that cover almost everything in AFTEC source.
- The 19 module pages below.
This is the functional reference. Two companions:
- Reading AFTEC Source — where the code lives, how to read the encrypted parts, and how to tell which copy actually executes.
- AFTEC Subroutine Catalog — the
VB_*subroutines the .NET and web apps call.
Read this before you rely on any of it
The manuals describe what AFTEC was designed to do. PSI does not use all of it, and in places uses it
differently. The clearest example is on this very topic: CA1777/CA1778 are documented as rolling up
standard costs generated by the financial-release program CA1775 — a path PSI never adopted, which is
why job cost is posted directly instead. Reading only the manual would give you exactly the wrong answer.
See AFTEC Job Costing & WIP for how that was resolved.
So: the manual tells you intent. Live data and the cataloged object tell you reality. Use both.
Note also that the manuals refer to programs by their cataloged name, which drops the source prefix —
1656 in IBASE.wpd is the source item PBSBASE/I.1656.
The modules
Costing and projects
| Module | What it is | Programs |
|---|---|---|
| CABASE | Cost Accounting — job and WIP cost ledgers, roll-ups, overhead, labor posting, financial release/relief/close, MIL-STD labor reporting | 108 |
| PBBASE | Project Budgeting & WBS — work breakdown structure, cost accounts, job terms, budgets, financial control | 35 |
Manufacturing
| Module | What it is | Programs |
|---|---|---|
| IBASE | Inventory — item master, lots and bins, transactions, the nightly INVAUDIT post, physical inventory, valuation | 79 |
| SFBASE | Shop Floor Control — dispatch, operation reporting, scrap, capacity planning, critical ratio | 63 |
| WBASE | Work Orders / WIP — WO entry, WIP bill of material and routing, WIP receipts, where-used, close | 32 |
| MRPBASE | MRP — regeneration, date buckets, planned orders, independent demand, shortages | 16 |
| EBASE | Engineering / BOM — bill of material maintenance, indented and single-level listings, ECN-to-BOM update | 22 |
| CCBASE | Configuration Control — engineering change status/disposition codes, effectivity | 29 |
Buy and sell
| Module | What it is | Programs |
|---|---|---|
| POBASE | Purchasing — PO entry, receipts, rejections, open-PO tracking, requisitions | 66 |
| PMBASE | Purchasing Master — vendor master, terms, acceptance and delivery rating tables | 16 |
| OBASE | Order Entry & Invoicing — sales orders, allocation, shipping, invoicing, bookings | 50 |
| MBASE | Customer Master — customer master, credit and sales info, ship-to, analysis | 36 |
Finance
| Module | What it is | Programs |
|---|---|---|
| GLBASE | General Ledger — chart of accounts, journals, distribution, trial balance, period/year end | 29 |
| APBASE | Accounts Payable — vouchers, unconfirmed A/P (UCAP), checks, vendor history | 59 |
| ARBASE | Accounts Receivable — cash receipts, aging, statements, history | 27 |
| FSBASE | Financial Statements — formats, schedules, GL budgets, statement calculation and print | 17 |
| PAYBASE | Payroll — employee payroll, tax tables, deductions, accruals, checks, W-2 | 52 |
System
| Module | What it is | Programs |
|---|---|---|
| SYBASE | System & Company Standards — the per-module control parameters every other module reads, cost centres, security, fiscal calendar | 58 |
| PROBASE | PRO-III Core — menu cross-reference, documentation menu, logon table, core utilities | 5 |
Module naming
The xxBASE directory holds a module’s programs; a matching xxPR directory holds its driver PROCs
(CAPR for CABASE, IPR for IBASE, and so on). PBSBASE is not a vendor module — it is PSI’s own
layer, and *.1287 marks PSI-specific extensions throughout.
SYBASE deserves special attention on any migration: it holds the company standards record for every
other module — the switches and default accounts that decide how the rest of the system behaves. Several
findings elsewhere in this wiki trace back to a flag set there.
What isn’t covered yet
AftecPro3Master1–3.pdf— 160 scanned pages, OCR’d 2026-08-10 (~397,000 characters; 35 pages were sideways or upside down and needed re-running after orientation detection). Written up as Design Intent vs Practice; several chapters are sampled there rather than covered, and the remaining ones are listed at the foot of that page.AftecDate.xlswould not convert (very old format).- Topic notes not tied to one module —
WORKFLOW.WPD,MES.WPD,INSPECT.WPD,NEGLOTS.WPD,JOBHRS.WPD,Timesheets.wpd,priorities.wpd,HELP.WPD,FILEOPT.WPD,INVINQ.WPD,G50_ConnectionClass.wpd— are converted but not yet written up. - The
Howard\subfolder (6 files) is unreviewed.
Converted text for everything above is reproducible in minutes; see the conversion command in Reading AFTEC Source.