Hi OOADForum Experts:
How can I normalize the following: I have loan application with my clients charcteristics. i.e. credit, income,assets etc. etc. There is over 200 different "programs" available amongst many different wholesalers. . .and I want to build a program search to find the "best" program for the client's desires. . .credit, income etc.
CREATE TABLE Transact(TransID n(2) PRIMARY KEY,transtype C(20))
INSERT INTO Transact(TransID,transtype VALUES 101, "Purchase")
INSERT INTO Transact(TransID,transtype VALUES 102, "Refinance")
CREATE TABLE Occup(OccupID n(2) PRIMARY KEY,Occuptype C(20))
INSERT INTO Occup(OccupID,Occuptype VALUES 201, "Owner Occupied")
INSERT INTO Occup(OccupID,Occuptype VALUES 202, "Non Owner Occupied")
. . .more. . .
Create Table Lien C(10)
Insert Values "First Mortgage"
Insert Values "Second Mortgage"
Create Table AmortFixed C(10)
Insert Values "30 Year Fixed"
Insert Values "25 Year Fixed"
. . .etc.
Create Table Program c(10)
Insert Values "FN30-360"
Insert Values "FHA15-180"
etc.. . .200 plus. . .
Join tables
Trans_amortfix
Trans_occup
Trans_lien
Trans_Prog
Occup_amortfix
Occup_lien
Occup_Prog
Lien_prog
Lien_amortfix
Prog_amortix
. . .
some data. . .
1) purchase,ownerocupied,firstlien,30yrfixed,progcodeno,whlsr. . .
2) Refinance,nonownerocupied,secondlien,15yrARM,Cashout,progcodeno,whlsr. . .
My question is how can I conceptualize what I am trying to do? Can a person have a join table like. . .T_O_L_A_P . . .
its almost like a monopoly game where one move begets another . . . ( hope this makes sense)
Any feedback or thoughts will truly be deeply appreciated.
THX
Bill
How can I normalize the following: I have loan application with my clients charcteristics. i.e. credit, income,assets etc. etc. There is over 200 different "programs" available amongst many different wholesalers. . .and I want to build a program search to find the "best" program for the client's desires. . .credit, income etc.
CREATE TABLE Transact(TransID n(2) PRIMARY KEY,transtype C(20))
INSERT INTO Transact(TransID,transtype VALUES 101, "Purchase")
INSERT INTO Transact(TransID,transtype VALUES 102, "Refinance")
CREATE TABLE Occup(OccupID n(2) PRIMARY KEY,Occuptype C(20))
INSERT INTO Occup(OccupID,Occuptype VALUES 201, "Owner Occupied")
INSERT INTO Occup(OccupID,Occuptype VALUES 202, "Non Owner Occupied")
. . .more. . .
Create Table Lien C(10)
Insert Values "First Mortgage"
Insert Values "Second Mortgage"
Create Table AmortFixed C(10)
Insert Values "30 Year Fixed"
Insert Values "25 Year Fixed"
. . .etc.
Create Table Program c(10)
Insert Values "FN30-360"
Insert Values "FHA15-180"
etc.. . .200 plus. . .
Join tables
Trans_amortfix
Trans_occup
Trans_lien
Trans_Prog
Occup_amortfix
Occup_lien
Occup_Prog
Lien_prog
Lien_amortfix
Prog_amortix
. . .
some data. . .
1) purchase,ownerocupied,firstlien,30yrfixed,progcodeno,whlsr. . .
2) Refinance,nonownerocupied,secondlien,15yrARM,Cashout,progcodeno,whlsr. . .
My question is how can I conceptualize what I am trying to do? Can a person have a join table like. . .T_O_L_A_P . . .
its almost like a monopoly game where one move begets another . . . ( hope this makes sense)
Any feedback or thoughts will truly be deeply appreciated.
THX
Bill