Skip to content

Welcome to t24localapi. This is my current local development api that extends your local development at T24 functionality

License

Notifications You must be signed in to change notification settings

silvergem/t24localapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This contains a list of my local development subroutines that will extend T24 functionality


Prerequisites

  1. T24 TAFC R12^
  2. Parameter local table created using EB.TABLE.DEFINITION (BDUH001-GEN.TABLE.xxxxxx.zip)^^
  3. PGM.FILE Record for Function routine or EB.API Record for Version routine

Local API

Subroutine Type Attached on Description Input Param Output Param Prerequisite
VR.ADD.OFS.REQUEST Version Routine BEFORE.AUTH.RTN Add Additional OFS Request at Version Level This will be placed on EB.XXX.GEN.PARAM Application/Table

ID Format = AOR-<Version Name>(E.g AOR-TELLER,CASH.DEPOSIT)

OFS Build Record ID = Any valid application field which this routine attached, Leave as blank to generate automatic ID.

OFS Build Record Version = OFS Version

OFS Build Record Function = OFS Function

OFS Build Record Type = OFS type

OFS Build Record LR Type = ADD to process after validate or INSERT to process first

Kindly use EB.XXX.GEN.PARAM,OFS.ADD.LOCAL.REQUEST screen SETUP
Any error will being displayed on Version screen Parameter table, EB.API Record and catalogue routine
VR.ADD.REGEX Version Routine BEFORE.AUTH.RTN Validate fields using on REGEX Expression This will be placed on EB.XXX.GEN.PARAM Application/Table

ID Format = AR-<Version Name>(E.g AR-TELLER,CASH.DEPOSIT)

Application Name = Valid Application

REGEX Validation = Valid REGEX expression

Application Fields = Valid Application Fields

Error ID = Valid Error ID from EB.ERROR Application

Regex Expression Matched = Y or N

Kindly use EB.XXX.GEN.PARAM,REGEX.VALIDATION screen SETUP
Any error will being displayed on Version screen Parameter table, EB.API Record and catalogue routine
BATCH.CREATE.WRITE.FILE Batch Function Routine Batch Main Routine This will create/write file per agent. Files will be merge by BATCH.MERGE.WRITE.FILE routine Y.FILE.DIR = File Directory
Y.FILENAME = File Name
Y.FILE.EXT = File extension
Y.RECORD = Record
Catalogue routine
BATCH.MERGE.WRITE.FILE Batch Function Routine .POST or .SELECT(Using Control list) Batch Routine This will merge files created by BATCH.CREATE.WRITE.FILE routine. Y.FILE.DIR = File Directory
Y.FILENAME = File Name
Y.FILE.EXT = File extension
Y.TIMESTAMP = Option to place timespamp, Set yo 'Y'
Y.ERR = Error Catalogue routine
OFS.RESPONSE.PARSER Batch Function Routine This will extract OFS message and convert into variables Y.OFS.RESPONSE = OFS Response Y.REC.ID = OFS Record ID
Y.REC.STATUS = OFS Error Message
Y.REC.STATUS.IND = OFS Error Indicator
Catalogue routine
GET.APP.FIELD.DET Function Routine Return Application Field, Index, type and length Y.IN.APP = Application
Y.IN.FIELD = Field
Y.OUT.FIELD.TYPE = App Field type
Y.OUT.FIELD.INDEX = App Field index
Y.OUT.FIELD.LEN = App Field length
Y.ERR = Error Message
Catalogue routine
CREATE.HOLD.CONTROL.REC Function Routine .POST or .SELECT(Using Control list) Batch Routine

Version routine
Create record on HOLD.CONTROL Application Y.RPT.CONTROL = Report control name
Y.RPT.DIR = File Directory
Y.RPT.NAME = File Name
Y.HLD.ID = HOLD.CONTROL ID Y.ERR = Error Catalogue routine

Deployment Guide

  1. Download the API Routine needed
  2. Deploy and Catalog the routine on your BP Folder^^^

^ Might work on lower releases
^^ For Version Routines only
^^^ You can rename or add prefix on the routine name

About

Welcome to t24localapi. This is my current local development api that extends your local development at T24 functionality

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published