a) To setup Mortgage Loan first create the Principle Element of Primary Classification as Voluntary Deductions and effective date as 01-JAN-1951. The element should be recurring. Assign a skip rule to the element SL_PRINCIPAL SKIP.
b) Create following Input values
Sequence Input Value Name Units 1 Factor Number 2 NewOwed Number 3 OrgLoanAmt Number 4 OrgStartDt Date 5 DtToEnd Date 6 EIR Number 7 CIR Number 8 Installment Money 9 Pay Value Money
CBTT Loan Management Setup Document
CBTT Loan Managementl Setup Document Page 10
c) Create Employee Interest Non Recurring Element of type Voluntary Deductions
CBTT Loan Management Setup Document
CBTT Loan Managementl Setup Document Page 11 d) Create input value as Pay Value.
e) Create Bank Interest element for the Loan with classification as Employer Charges.
CBTT Loan Management Setup Document
CBTT Loan Managementl Setup Document Page 12 f) Create Input Values as Pay Value
g) Create relevant link of all the elements created in the previous steps.
h) Create a fast formula for the Principle element. CBTT Loan Management Setup Document
CBTT Loan Managementl Setup Document Page 13
CBTT Loan Management Setup Document
CBTT Loan Managementl Setup Document Page 14 The formula for Construction Mortgage Loans is given below /******************************************************************** FORMULA NAME: CB_BD_MTG_CONSTRUCTION_PRIN DESCRIPTION: This formula calculates monthly installement and principle for the Mortgage Loan.
Modifications Date Author Version Description ------- ----------- ------- ------------- 02-FEB-07 Kshitiz Singh 1.0 Created
**********************************************************************/ INPUTS ARE NewOwed, OrgLoanAmt, Factor, EIR, CIR, Installment
/* Local Variable */ DEFAULT FOR L_Installment is 0 DEFAULT FOR L_Principle is 0 DEFAULT FOR L_Emp_Interest is 0 DEFAULT FOR L_Bank_Interest is 0 DEFAULT FOR L_Element_Start_date is '01-jan-1951' (date) DEFAULT FOR L_Initial_Blance is 0 DEFAULT FOR L_Pay_Value is 0 DEFAULT FOR L_Stop is 'No' DEFAULT FOR L_Current_balance is 0 DEFAULT FOR L_First_Run is 'N'
/* Data Base Items */ DEFAULT FOR PAY_PROC_PERIOD_START_DATE is '01-jan-1951' (date) DEFAULT FOR PAY_PROC_PERIOD_END_DATE is '31-dec-4712' (date)
/* Checking if the period is the last period*/ IF (L_Principle >= L_Current_balance ) THEN ( L_Pay_value = L_Current_balance L_Stop = 'Yes' ) ELSE CBTT Loan Management Setup Document
The formula results should be as given below Name Type Element Input Value L_BANK_INTEREST Indirect result CB_BD_MTG_CONSTRUCTION_CI Pay Value L_CURRENT_BALANCE Update recurring entry CB_BD_MTG_CONSTRUCTION_PRIN NewOwed L_EMP_INTEREST Indirect result CB_BD_MTG_CONSTRUCTION_EI Pay Value L_PAY_VALUE Direct result CB_BD_MTG_CONSTRUCTION_PRIN Pay Value L_STOP Stop CB_BD_MTG_CONSTRUCTION_PRIN
j) Now the principle element can be attached to the employee to start processing loans. CBTT Loan Management Setup Document