Escolar Documentos
Profissional Documentos
Cultura Documentos
Document Name:
BuildLnT
Created Date/By:
2000/01/28, 04:56 AM rch
Path:
C\MBWin\Docs\Spec
Program Name:
BuildLnTran
Descriptions:
Builds a loan transaction in the database
Other unit/functions used:
Input parameters:
Tables/Field read:
Tables/Field written
Return value:
Updated Date/By:
2000-04-27 rch
Changes No/Date/By/Desc:
rch
//---------------------------------------------------------------------------------------------------------------Tables and fields to be updated
The following tables need to be updated for the respective loan transactions:
Transaction Type:
Loan opening
Disbursement/debit
Repayment/credit
Cancel repayment/debit
Cancel disbursement/credit
Loan closing
LnAcc
yes
yes
yes
yes
yes
yes
LnRsn
yes
yes
no
no
yes
no
LnInst
yes
no
yes
yes
no
yes
TrnP
no
can be
can be
no
no
can be
TrnDaily
yes
yes
yes
yes
yes
yes
LnInst
Single
TrnP
no
Single
Single
TrnDaily
Single
Single
Single
Single
Single
Single
LnAcc
Single
LnRsn
Multi
Multi
Single
CumIntPdAmt
InstSeq
NorIntAmt
OrigPriAmt
BfBalAmt
ChargesAmt
LnAcrIntAmt
LnAcrPenAmt
LnOduePriAmt
Hash
Not updated
Not updated
Not updated
Updated if PriAmt reaches zero, with gCurrRunDate, otherwise not
updated
Updated with gCurrRunDate when PriAmt reaches zero, otherwise
not updates
Reduced as per the amount TrnPriAmt (amount of principal repaid),
after first having been applied to previous (earlier) installments.
When PriAmt reaches zero, the remaining TrnPriAmt is applied to
the next installment IF DUE, otherwise the remainder is stored to
LnAcc.OduePriAmt (as a negative amount)
Not updated
Not updated
Not updated
Not updated
Not updated
Not updated
Not updated
Not updated
Not updated
Updated with HashGen()
//--------------------------------------------------end of file--------------------------------------------------