Routing Subroutines

Manufacturing routing and operations

Subroutine count: 3

Table of Contents


VB_ROUTE.DELETE

Source: S:\LinuxShare\pro3prog\VBBASE\VB_ROUTE.DELETE

PropertyValue
Status[+] analyzed
Safety[INT] internal
PatternInternal
Args0
DescriptionInternal code fragment (not a standalone subroutine) that deletes a routing and its line/note/PBS records. Uses pre-opened file handles via GOSUB. Also manages alternate routing cross-references and route suggestion flags.

Tables Written: HEADFILE, PRODUCT, ALTROUTE.XREF, LINEFILE, NOTEFILE, PBSFILE, PRODUCT.1287

API Call Example:

POST /api/admin/subroutine/call
{
    "name":  "VB_ROUTE.DELETE",
    "args":  {
 
             }
}

VB_ROUTE.REV1

Signature: SUBROUTINE ROUTE(CO,PARTNO,TMPNO,WONO,LINE,OPTION,MESSAGE)

Source: S:\LinuxShare\pro3prog\VBBASE\VB_ROUTE.REV1

PropertyValue
Status[X] deprecated
Args7
Superseded ByVB_ROUTE.REV2

Arguments:

IndexNameDirectionDescription
0COin
1PARTNOin
2TMPNOin
3WONOin
4LINEin
5OPTIONin
6MESSAGEout

API Call Example:

POST /api/admin/subroutine/call
{
    "name":  "VB_ROUTE.REV1",
    "args":  {
                 "0":  "",
                 "1":  "",
                 "2":  "",
                 "3":  "",
                 "4":  "",
                 "5":  ""
             }
}

VB_ROUTE.REV2

Signature: SUBROUTINE ROUTE(DATAIN,DATAOUT,MESSAGE)

Source: S:\LinuxShare\pro3prog\VBBASE\VB_ROUTE.REV2

PropertyValue
Status[+] analyzed
Safety[WARN] dangerous
PatternProcess
Args3
DescriptionMulti-purpose routing operations subroutine. Copies routings between standard, template, and WIP; deletes routings/lines; adds lines; completes/uncompletes WIP route lines; manages transient parts and route formatting. Controlled by OPTION parameter (1-14).
Dangerous REQTYPE1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14

Arguments:

IndexNameDirectionDescription
0DATAINinInput data array: <1>=CO, <2>=PARTNO, <3>=TMPNO (template), <4>=WONO (work order), <5>=LINE, <6>=OPTION (1-14), <7>=ROUTE.SUGG (comma-separated suggestion flags)
1DATAOUToutOutput data (not populated in current code)
2MESSAGEoutStatus/error message (e.g., ‘INVALID OPTION’)

Tables Written: SROUTE.HEAD, SROUTE.LINE, SROUTE.LINE.1287, SROUTE.NOTE, WIPROUTE.HEAD, WIPROUTE.LINE, WIPROUTE.LINE.1287, WIPROUTE.NOTE, ITEMMANF, PRODUCT.1287

API Call Example:

POST /api/admin/subroutine/call
{
    "name":  "VB_ROUTE.REV2",
    "args":  {
                 "0":  ""
             }
}


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