project QadFinancials > class BPeriod > method ValidateComponent

Description

Validate the Period records


Parameters


oiReturnStatusoutputinteger


Internal usage


unused


program code (program/bperiod.p)

    
    /* Validations before ancestor code */
    <M-68 run ValidateComponentPre  (output viFcReturnSuper (oiReturnStatus)) in BPeriod>
    if viFcReturnSuper <> 0
    then assign oiReturnStatus = viFcReturnSuper.
    if viFcReturnSuper < 0
    then return.
    
    
<ANCESTOR-CODE>
    
    
    /* Validations after ancestor code */
    <M-84 run ValidateComponentPost  (output viFcReturnSuper (oiReturnStatus)) in BPeriod>
    if viFcReturnSuper <> 0 and oiReturnStatus >= 0
    then assign oiReturnStatus = viFcReturnSuper.