LIMIT.PROCESS.INCREASE




The purpose of this T24 API is to increase the amount of a LIMIT. This can be either in the Online or during COB. The syntax of the API is given below

LIMIT.PROCESS.INCREASE (LIMIT.ID,LIM.REC,INCREASE.TYPE,INCREASE.CCY,INCREASE.AMOUNT,AMT.TYPE)

Input Parameters :
----------------

LIMIT.ID      - ID of the Limit for which the increase has to be done.
LIM.REC       - Entire Limit record for which increase is done.
                Optional argument.
INCREASE.TYPE - It can be either FULL/SINGLE.
                FULL - Increase is done for the entire Limit structure.
                SINGLE - IncreasINCREAthat Limit.
INCREASE.CCY    - Increase amount currency.
INCREASE.AMOUNT - Amount to be increased.
AMT.TYPE        - The indicates the which amount to be increased.
                  The valid values are I/M
                  I - INTERNAL AMOUNT (DEFAULT)
                  M - MAXIMUM.TOTAL


Returned parameters :
-------------------

ETEXT - Any error occured in the process of increase.


Example Routine:
*----------------

*-----------------------------------------------------------------------------
* <Rating>0</Rating>
*-----------------------------------------------------------------------------
    SUBROUTINE TEST.LIMIT.ROUTINE

    $INSERT I_COMMON
    $INSERT I_EQUATE
    $INSERT I_F.LIMIT

DEBUG

    LIMIT.ID = '5106056.0001020.01'
    LIM.REC = ''
    INCREASE.TYPE = 'SINGLE'
    INCREASE.CCY = 'USD'
    INCREASE.AMOUNT = '1233'
    AMT.TYPE = 'I'

    CALL LIMIT.PROCESS.INCREASE(LIMIT.ID,LIM.REC,INCREASE.TYPE,INCREASE.CCY,INCREASE.AMOUNT,AMT.TYPE)

    CALL JOURNAL.UPDATE("")

    RETURN

END



Comments

Popular posts from this blog

Current Variables in T24

All accounting entries of an T24 account

SQL queries in JBase