project QadFinancials > class BBankNumber > method ValidateComponentPost

Description

Validations done after Ancestor Code of ValidateComponent.


Parameters


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BBankNumber.ValidateComponent


program code (program5/bbanknumber.p)

assign oiReturnStatus      = -98
       viLocalReturnStatus = 0.

<M-2 run ValidateComponentPostDebtor  (output viFcReturnSuper (oiReturnStatus)) in BBankNumber>
if viFcReturnSuper <> 0 and viLocalReturnStatus >= 0
then assign viLocalReturnStatus = viFcReturnSuper.

<M-1 run ValidateComponentPostCreditor  (output viFcReturnSuper (oiReturnStatus)) in BBankNumber>
if viFcReturnSuper <> 0 and viLocalReturnStatus >= 0
then assign viLocalReturnStatus = viFcReturnSuper.

assign oiReturnStatus = viLocalReturnStatus.