project QadFinancials > class BPaymentSelection > method PostSave

Description

Actions to take after writing current instance to the database, and before final commit of the transaction.
Use the field tc_status to test the status of the updated records:
'' = unchanged
'N' = new
'C' = changed
'D' = deleted


Parameters


oiReturnStatusoutputinteger


Internal usage


unused


program code (program/bpaymentselection.p)

<ANCESTOR-CODE>

/* Update the IsSelected flag of the linked Creditor Invoices */

<M-42 run UpdatesCInvoiceIsSelected  (output viFcReturnSuper (oiReturnStatus)) in BPaymentSelection>

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