Contacts Subroutines

Contact management - CRUD operations on CONTACT.1287

Subroutine count:

Table of Contents


VB_CONTACT.REV1

Signature: SUBROUTINE VB_CONTACT(CO,REQTYPE,CONTACTNO,CREC,ADDFLAG,MESSAGE)

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

PropertyValue
Status[+] analyzed
Safety[COND] conditional
PatternCRUD
Args6
DescriptionSave or soft-delete contact records in CONTACT.1287 based on REQTYPE. Supports add, update, and delete operations with audit trail logging.
Dangerous REQTYPEDELETE, SAVE

Arguments:

IndexNameDirectionDescription
0COinCompany number
1REQTYPEinRequest type: ‘DELETE’ to soft-delete, any other value to add/update
2CONTACTNOinContact number (record key within company)
3CRECinContact record data as dynamic array (written to CONTACT.1287 on save)
4ADDFLAGinAdd flag: true if adding a new record, false if updating existing
5MESSAGEoutResult message: ‘SAVED’ or ‘DELETED’

Tables Written: CONTACT.1287

API Call Example:

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


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