PA API (8.5)

PA API (8.5)

PA: Profile Access

This API can be used to retrieve or update an individual field from a configuration file such as EL850S.CFG or EL850U.CFG.

Screen Parameters: PA,FN,Section

Input:

FN = RD to read, UP to update

Section = Configuration file section (required) -- Note: You must include path information.

Screen-Menu = file, e.g., M:\Elliott8\Bin85\EL850.CFG (required - maximum of 80 characters)

Screen-Literal = Key name for the section (required)

Screen-Alpha-Field = update value (for FN=UP only)

Output:

Screen-Alpha-Field = Key value if successful 

Screen-Answer = ā€œYā€ if successful, ā€œNā€ if not

If not successful, Screen-Alpha-Field will contain spaces.

Note:  The file name must include path information, even if it is just ".\filename.ext".  This is because the Windows APIs used will read from and write to a system directory (instead of the current directory) if the filename does not include any path information.


JEG




    • Related Articles

    • CV API

      Release Date: 10/31/2019 This API allows the programmer to determine whether or not thie current company's .DAT files have been converted to .BTR files. Screen-Parameters: CV Check the converted status for the current company. CV,nn Check the ...
    • AP API

      AP API This API returns various values from the Shared Memory Area. For example: MOVE "AP" TO SCREEN-PARAMETERS MOVE "EDITOR" TO SCREEN-LITERAL PERFORM SCREEN-ROUTINE This returns the user’s preferred Editor in SCREEN-ALPHA-FIELD. The following ...
    • DD API Changes (V9.0)

      DD: Drill Down The Drill Down API allows the developer to drill down to another Elliott application. The information provided in SCREEN-PARAMETERS will give the system the correct information to determine if the user has rights to the application ...
    • FA API Changes (V9.0)

      FA: File Access (Without File Handling) This API can be used to retrieve an individual field from a specific record in a file without specifying the file in the program and without opening and closing the file. In its simplest form, one can, for ...
    • Avalara Source Code Integration - AV API Call

      Release Date: 11/16/21 Revised: 05/23/22 Version: 8.6 and Above This article is intended for Elliott Business Software developers. This API call will allow the programmer to pass a value to indicate which Avalara function is to be performed. The ...