project QadFinancials > class BAPMatching > method Calculate

Description

Add code here to initialize the calculated fields of the class temp-tables after loading existing records from the application database.


Parameters


oiReturnStatusoutputinteger


Internal usage


unused


program code (program/bapmatching.p)

<ANCESTOR-CODE>

    /* ===================================== */
    /* Return in case ancestor caused errors */
    /* ===================================== */
    if oiReturnStatus < 0 
    then return.
        
    /* ================================================================================ */
    /* Method (in Segment-7) that will be executed each time instances are loaded       */
    /* ================================================================================ */
    <M-1 run CalculatePost (output viFcReturnSuper (oiReturnStatus)) in BAPMatching>
    if viFcReturnSuper <> 0
    then assign oiReturnStatus = viFcReturnSuper.
    if viFcReturnSuper < 0
    then Return.