renew Method

Class: RecordDEP and RecordLN

Description

This method renews a loan or deposit account based on renew sequence number.

Syntax

objectName.renew(literal String accessKeys)

Parameters

accessKeys

A comma-separated list of access keys for the table.

For deposits: the access key(s) for the ROLLOVR table.

For loans: the access key(s) for the LNRENEW table.

Returns

Void

When Became Available

Profile v6.0

Example

// Deposit renewal

type RecordDEP dep=Db.getRecord(“DEP”,“CID=:CID”)

do dep.renew(“CID”)        // Copy renew info into dep object

do dep.save()              // Update deposit record

 

*CID must be defined prior to the getRecord statements.

__________________________________________________________

// Loan renewal

type RecordLN ln=Db.getRecord(“LN”,”CID=:CID”)

do ln.renew(“CID,ROSEQ”)   // Copy renew info into ln object

do ln.save()               // Update loan record

 

*CID must be defined prior to the getRecord statements.