project QadFinancials > class BERSLine > method ValidateBCAndAdditionalUpdates
Parameters
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program6/bersline.p)
/* =================================================================================================== */
/* Method : ValidateBCAndAdditionalUpdates */
/* =================================================================================================== */
assign oiReturnStatus = -98.
/* =================================================================================================== */
/* Validate Business component */
/* =================================================================================================== */
<M-1 run ValidateBC (output viFcReturnSuper (oiReturnStatus)) in BERSLine>
if viFcReturnSuper <> 0 then assign oiReturnStatus = viFcReturnSuper.
if viFcReturnSuper < 0 then return.
/* =================================================================================================== */
/* Additional updates */
/* =================================================================================================== */
<M-2 run AdditionalUpdates (output viFcReturnSuper (oiReturnStatus)) in BERSLine>
if viFcReturnSuper <> 0 then assign oiReturnStatus = viFcReturnSuper.
if viFcReturnSuper < 0 then return.
/* =================================================================================================== */
/* Return */
/* =================================================================================================== */
if oiReturnStatus = -98 then assign oiReturnStatus = 0.