AFTEC Subroutine Catalog

Complete catalog of 370 VB_* UniBasic subroutines available in the AFTEC ERP system.

Coverage Summary

MetricCount
Total Subroutines370
Documented (validated)0
Analyzed (source-reviewed)286
Stubs (auto-parsed only)0
Deprecated (old revisions)84
Dangerous (write-only)0
Domains21

Safety Summary

ClassificationCount
[SAFE] Safe (read-only)139
[COND] Conditional (has safe read branches)42
[WARN] Dangerous (writes data)80
[INT] Internal (not API-callable)25

How to Call Any Subroutine

Any registered subroutine can be called via the generic endpoint:

POST /api/admin/subroutine/call
{
  "name": "VB_PARTINFO.REV2",
  "args": {
    "0": "1",
    "1": "PART-NUMBER"
  }
}

How to Find Raw Source

All UniBasic source files are located at:

S:\LinuxShare\pro3prog\VBBASE\{fileName}

Registry API Endpoints

EndpointDescription
GET /api/admin/subroutine/registryList all subroutines
GET /api/admin/subroutine/registry/statusRegistry statistics
GET /api/admin/subroutine/registry/search?q=BOMSearch subroutines
GET /api/admin/subroutine/registry/{name}Get subroutine details
GET /api/admin/subroutine/registry/domain/{domain}Get domain group
POST /api/admin/subroutine/callExecute a subroutine

Domains

DomainDescriptionCount
AccountingGeneral Ledger and Invoice processing4
BOMBill of Materials - BOM explosion, component lookup, where-used2
ContactsContact management - CRUD operations on CONTACT.1287
CustomersCustomer master data - account info, credit, 0301 records3
EmployeesEmployee records, timesheets, labor history
EngineeringPDM/XREF - engineering data management and cross-references7
GeneralUncategorized subroutines243
InventoryInventory management - bins, adjustments, transfers, quantities6
PartsPart/Product master data - part info, descriptions, search17
PayrollPayroll processing and direct deposit1
ProjectsProject/Job management and master scheduling7
PurchasingPurchase Orders - PO inquiry, open PO tracking17
QualityQuality/Redbook/NCN/ECN - engineering changes, non-conformance4
QuotesQuoting - SPN quotes, pricing3
RoutingManufacturing routing and operations3
SalesOrdersSales Order processing - SO details, open orders, shipping6
ServiceMaintService, maintenance, and IT request management3
ShopFloorShop floor control and tracking12
UtilitiesSystem utilities - table lookups, conversions, system status17
VendorsVendor master data and inquiry2
WorkOrdersWork Order management - creation, status, traveler data11

Last updated: 2026-02-05 11:29 PM

21 items under this folder.