Payroll Subroutines

Payroll processing and direct deposit

Subroutine count:

Table of Contents


VB_OPEN.PAY.PERIOD

Signature: SUBROUTINE VB_OPEN.PAY.PERIOD(INREC,MESSAGE)

Source: S:\LinuxShare\pro3prog\VBBASE\VB_OPEN.PAY.PERIOD

PropertyValue
Status[+] analyzed
Safety[WARN] dangerous
PatternProcess
Args2
DescriptionRe-open a previously closed pay period by deleting the pay period lock record from LABOR.1287 and adjusting the PAY.PERIOD dictionary value back by one week. Logs activity via COMO.

Arguments:

IndexNameDirectionDescription
0INRECinInput record: <1> = week ending date of the pay period to re-open (e.g., ‘11/09/24’)
1MESSAGEoutResult message: ‘DELETED’ on success, ‘PERIOD NOT FOUND FOR {date}’ on failure

Tables Written: LABOR.1287, D LABOR.1287

API Call Example:

POST /api/admin/subroutine/call
{
    "name":  "VB_OPEN.PAY.PERIOD",
    "args":  {
                 "0":  ""
             }
}


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