project QadFinancials > class BDPaymentSelection > method UpdateDPaySelAndPayCode


Parameters


t_sDPaySelRefinput-outputtemp-table
t_sDPaySelPayCodeRefinput-outputtemp-table
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BDDocument.AdditionalUpdatesDPaymentSelection


program code (program1/bdpaymentselection.p)

<M-1 run SetDPaySel
   (input-output t_sDPaySelRef (t_sDPaySelRef), 
    output viFcReturnSuper (oiReturnStatus)) in BDPaymentSelection>

if viFcReturnSuper < 0 or oiReturnStatus = 0
then assign oiReturnStatus = viFcReturnSuper.
if oiReturnStatus < 0    
then return.

<M-2 run SetDPaySelPayCode
          (input-output t_sDPaySelPayCodeRef (t_sDPaySelPayCodeRef), 
           output viFcReturnSuper (oiReturnStatus)) in BDPaymentSelection>

if viFcReturnSuper < 0 or oiReturnStatus = 0
then assign oiReturnStatus = viFcReturnSuper.
if oiReturnStatus < 0    
then return.

<M-3 run ValidateBC
   (output viFcReturnSuper (oiReturnStatus)) in BDPaymentSelection>

if viFcReturnSuper < 0 or oiReturnStatus = 0
then assign oiReturnStatus = viFcReturnSuper.
if oiReturnStatus < 0    
then return.

<M-4 run AdditionalUpdates
   (output viFcReturnSuper (oiReturnStatus)) in BDPaymentSelection>

if viFcReturnSuper < 0 or oiReturnStatus = 0
then assign oiReturnStatus = viFcReturnSuper.