• Tidak ada hasil yang ditemukan

c Mengidentifikasi tipe relasi one-to-many (1:*) binary

Dalam dokumen BAB 4 PERANCANGAN DAN IMPLEMENTASI (Halaman 47-69)

Pada tahap ini akan dilakukan identifikasi tipe relasi one-to-many

a. Relasi antar ProjectInit dengan M sPrjTeamPos menghasilkan posting ProjectInitID ke entiti M sPrjTeamPos

Tabel 4.36 Identifikasi Tipe Relasi 1:* ProjectInitID ke MsPrjTeamPos post ProjectInitID ke M sPrjTeamPos

ProjectInit (ProjectInitID, RegDate, SPKNo, SPKDate, ProjectValue, DateFrom, DateTo, DatePrjClose, DisbTriWln1, DisbTriWln2, DisbTriWln3, DisbTriWln4, OtherDesk, PercentComplete, FProcess, FileName, FileType, FileSize, PrjM ethodStageID, ProjectProposedID) Primary Key ProjectInitID

Foreign Key PrjM ethodStageID references

MsPrjM ethodStage (PrjM ethodStageID)

Foreign Key ProjectProposedID references ProjectProposed (ProjectProposedID) MsPrjTeamPos (PrjTeamPosID, NameTeamPos, NameTeamPosCriteria, ProjectInitID, EmployeeID, FundSource) Primary Key PrjTeamPosID

Foreign Key ProjectInitID references ProjectInit (ProjectInitID)

Foreign Key EmployeeID references MsEmployee (EmployeeID)

b. Relasi antar M sEvalIndicator dengan ProjectInit menghasilkan posting EvalIndicatorID ke entiti ProjectInit

Tabel 4.37 Identifikasi Tipe Relasi 1:* EvalIndicatorID ke ProjectInit post EvalIndicatorID ke ProjectInit

MsEvalIndicator EvalIndicatorID, ProjectInitID, ReviewDate, EvaluationScore, NameEvalIndicator, NameEvalIndicatorGro up)

Primary Key EvalIndicatorID

Foreign Key ProjectInitID references ProjectInit (ProjectInitID)

ProjectInit (ProjectInitID, RegDate,

SPKNo, SPKDate, ProjectValue, DateFrom, DateTo, DatePrjClose, DisbTriWln1, DisbTriWln2, DisbTriWln3, DisbTriWln4, OtherDesk, PercentComplete, FProcess, FileName, FileType, FileSize, PrjM ethodStageID, ProjectProposedID) Primary Key ProjectInitID

Foreign Key PrjM ethodStageID references

MsPrjM ethodStage (PrjM ethodStageID)

references ProjectProposed (ProjectProposedID)

c. Relasi antar M sRiskM gmtComponent dengan ProjectInit menghasilkan posting RiskM gmtComponentID ke entiti ProjectInit

Tabel 4.38 Identifikasi Tipe Relasi 1:* RiskM gmtComponentID ke ProjectInit post RiskM gmtComponentID ke ProjectInit

MsRiskM gmtComponent

(RiskM gmtComponentID,Projec tInitID,NameRiskM gmtCompon

ent, NameRiskM gmtCat, Description, RiskDate, Treatment)

Primary Key RiskM gmtComponentID

Foreign Key ProjectInitID references ProjectInit (ProjectInitID)

ProjectInit (ProjectInitID, RegDate, SPKNo, SPKDate, ProjectValue, DateFrom, DateTo, DatePrjClose, DibTriWln1, DibTriWln2, DibTriWln3, DibTriWln4, OtherDesc,

PercentComplete, Fprocess, ProjectProposedID)

Primary Key ProjectInitID Foreign Key ProjectProposedID references ProjectProposed (ProjectProposedID)

d. Relasi antar M sPrjActGroup dengan ProjectProposed menghasilkan posting PrjActGroupID ke entiti ProjectProposed

Tabel 4.39 Identifikasi Tipe Relasi 1:* PrjActGroupID ke ProjectProposed post PrjActGroupID ke ProjectProposed

MsPrjActGroup (PrjActGroupID, Name) Primary Key PrjActGroupID

ProjectProposed (ProjectProposedID, PrjAtGroupID, ProjectCatID, UnitID, BranchID, RegDate, Name, DescriptionProjectProp osed, ProposedNo, ProposedDate, SKINo, SKIDate, ProjectValue, ProjectFundSource, DateFrom, DateTo, LocationDesc, DisbTriWln1, DisbTriWln2, DisbTriWln3, DisbTriWln4, FProcess, OtherDesc, FileName,

FileType, FileSize, DescriptionProjectProp osedDoc)

Primary Key ProjectProposedID

Foreign Key PrjActGroupID references MsPrjActGroup

(PrjActGroupID)

ForeignKey ProjectCatID references MsProjectCat

(ProjectCatID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key UnitID references M sUnit (UnitID)

e. Relasi antar MsProjectCat dengan ProjectProposed menghasilkan posting ProjectCatID ke eniti ProjectProposed

Tabel 4.40 Identifikasi Tipe Relasi 1:* ProjectCatID ke ProjectProposed post ProjectCatID ke ProjectProposed

MsProjectCat (ProjectCatID, Name) Primary Key ProjectCatID

ProjectProposed (ProjectProposedID, PrjAtGroupID,

ProjectCatID, UnitID, BranchID, RegDate, Name, DescriptionProjectProp osed, ProposedNo, ProposedDate, SKINo, SKIDate, ProjectValue, ProjectFundSource, DateFrom, DateTo, LocationDesc, DisbTriWln1, DisbTriWln2, DisbTriWln3, DisbTriWln4, FProcess, OtherDesc, FileName, FileType, FileSize, DescriptionProjectProp osedDoc)

Primary Key ProjectProposedID

Foreign Key PrjActGroupID references MsPrjActGroup

ForeignKey ProjectCatID references MsProjectCat

(ProjectCatID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key UnitID references M sUnit (UnitID)

f. Relasi antar M sBranch dengan ProjectProposed menghasilkan posting BranchID ke entiti ProjectProjectProposed

Tabel 4.41 Identifikasi Tipe Relasi 1:* BranchID ke ProjectProposed post BranchID ke ProjectProposed

MsBranch (BranchID, NameBranch, NameUnit)

Primary Key BranchID

ProjectProposed (ProjectProposedID, PrjAtGroupID, ProjectCatID, UnitID, BranchID, RegDate, Name, DescriptionProjectProp osed, ProposedNo, ProposedDate, SKINo, SKIDate, ProjectValue,

ProjectFundSource, DateFrom, DateTo, LocationDesc, DisbTriWln1, DisbTriWln2, DisbTriWln3, DisbTriWln4, FProcess, OtherDesc, FileName, FileType, FileSize, DescriptionProjectProp osedDoc)

Primary Key ProjectProposedID

Foreign Key PrjActGroupID references MsPrjActGroup

(PrjActGroupID)

ForeignKey ProjectCatID references MsProjectCat

(ProjectCatID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key UnitID references M sUnit (UnitID)

g. Relasi antar M sUser dengan M sEmployee menghasilkan posting UserID ke entiti MsEmployee

Tabel 4.42 Identifikasi Tipe Relasi 1:* UserID ke M sEmployee post UserID ke M sEmployee

MsUser (UserID, Name, Password, EmployeeID)

Primary Key UserID

Foreign Key EmployeeID references MsEmployee (EmployeeID)

MsEmployee (EmployeeID, FullName, JobPosition, JoinDate, ResignDate, ProbationDate, PermanentDate, PlaceofBirth, DateofBirth, ContactNo, Address, Email, BloodType, DriveLicType, PasportNo, M onthsWorkExp, TotalPrjExp, DiseaseCaseDesc, FGender, FReligion, FM aritalStatus, UnitID, BranchID, RegionID, DomicileID)

Foreign Key FGender references MsGender (FGender)

Foreign Key FReligion references MsReligion (FReligion)

Foreign Key FM aritalStatus references MsStatus (FM aritalStatus) Foreign Key Unit ID references M sUnit

(UnitID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key RegionID references MsRegion (RegionID)

Foreign Key DomicileID references MsDomicile (DomicileID)

h. Relasi antar M sDomicile dengan M sEmployee menghasilkan posting DomicileID ke entiti M sEmployee

Tabel 4.43 Identifikasi Tipe Relasi 1:* DomicileID ke M sEmployee post DomicileID ke M sEmployee

MsDomicile (DomicileID, NameDomicile, NameRegion)

MsEmployee (EmployeeID, FullName, JobPosition, JoinDate,

Primary Key DomicileID ResignDate, ProbationDate, PermanentDate, PlaceofBirth, DateofBirth, ContactNo, Address, Email, BloodType, DriveLicType, PasportNo, M onthsWorkExp, TotalPrjExp, DiseaseCaseDesc, FGender, FReligion, FM aritalStatus, UnitID, BranchID, RegionID, DomicileID)

Primary Key EmployeeID

Foreign Key FGender references MsGender (FGender)

Foreign Key FReligion references MsReligion (FReligion)

Foreign Key FM aritalStatus references MsStatus (FM aritalStatus) Foreign Key Unit ID references M sUnit

(UnitID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key RegionID references MsRegion (RegionID)

Foreign Key DomicileID references MsDomicile (DomicileID)

i. Relasi antar M sStatus dengan M sEmployee menghasilkan posting FM aritalStatus

ke entiti MsEmployee

Tabel 4.44 Identifikasi Tipe Relasi 1:* FM aritalStatus ke MsEmployee post FM aritalStatus ke M sEmployee

MsStatus (FM aritalStatus, Name) Primary Key FM aritalStatus

MsEmployee (EmployeeID, FullName, JobPosition, JoinDate, ResignDate, ProbationDate, PermanentDate, PlaceofBirth, DateofBirth, ContactNo, Address, Email, BloodType, DriveLicType, PasportNo,

M onthsWorkExp, TotalPrjExp, DiseaseCaseDesc, FGender, FReligion, FM aritalStatus, UnitID, BranchID, RegionID, DomicileID)

Primary Key EmployeeID

Foreign Key FGender references MsGender (FGender)

Foreign Key FReligion references MsReligion (FReligion)

Foreign Key FM aritalStatus references MsStatus (FM aritalStatus) Foreign Key Unit ID references M sUnit

(UnitID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key RegionID references MsRegion (RegionID)

Foreign Key DomicileID references MsDomicile (DomicileID)

j. Relasi antar M sBranch dengan M sEmployee menghasilkan posting BranchID ke entiti M sEmployee

Tabel 4.45 Identifikasi Tipe Relasi 1:* BranchID ke M sEmployee post BranchID ke M sEmployee

MsBranch (BranchID, NameBranch, NameUnit)

Primary Key BranchID

MsEmployee (EmployeeID, FullName, JobPosition, JoinDate, ResignDate, ProbationDate, PermanentDate, PlaceofBirth, DateofBirth, ContactNo, Address, Email, BloodType, DriveLicType, PasportNo, M onthsWorkExp, TotalPrjExp, DiseaseCaseDesc, FGender, FReligion, FM aritalStatus, UnitID, BranchID, RegionID, DomicileID)

Foreign Key FGender references MsGender (FGender)

Foreign Key FReligion references MsReligion (FReligion)

Foreign Key FM aritalStatus references MsStatus (FM aritalStatus) Foreign Key Unit ID references M sUnit

(UnitID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key RegionID references MsRegion (RegionID)

Foreign Key DomicileID references MsDomicile (DomicileID)

k. Relasi antar M sGender dengan M sEmployee menghasilkan posting FGender ke entiti M sEmployee

Tabel 4.46 Identifikasi Tipe Relasi 1:* FGender ke M sEmployee post FGender ke M sEmployee

MsGender (FGender, Name) Primary Key FGender

MsEmployee (EmployeeID, FullName, JobPosition, JoinDate,

ResignDate, ProbationDate, PermanentDate, PlaceofBirth, DateofBirth, ContactNo, Address, Email, BloodType, DriveLicType, PasportNo, M onthsWorkExp, TotalPrjExp, DiseaseCaseDesc, FGender, FReligion, FM aritalStatus, UnitID, BranchID, RegionID, DomicileID)

Primary Key EmployeeID

Foreign Key FGender references MsGender (FGender)

Foreign Key FReligion references MsReligion (FReligion)

Foreign Key FM aritalStatus references MsStatus (FM aritalStatus) Foreign Key Unit ID references M sUnit

(UnitID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key RegionID references MsRegion (RegionID)

Foreign Key DomicileID references MsDomicile (DomicileID)

l. Relasi antar M sReligion dengan M sEmployee menghasilkan posting FReligion

ke entiti MsEmployee

Tabel 4.47 Identifikasi Tipe Relasi 1:* FReligion ke M sEmployee post FReligion ke M sEmployee

MsReligion (FReligion, Name) Primary Key FReligion

MsEmployee (EmployeeID, FullName, JobPosition, JoinDate, ResignDate, ProbationDate, PermanentDate, PlaceofBirth, DateofBirth, ContactNo, Address, Email, BloodType, DriveLicType, PasportNo,

M onthsWorkExp, TotalPrjExp, DiseaseCaseDesc, FGender, FReligion, FM aritalStatus, UnitID, BranchID, RegionID, DomicileID)

Primary Key EmployeeID

Foreign Key FGender references MsGender (FGender)

Foreign Key FReligion references MsReligion (FReligion)

Foreign Key FM aritalStatus references MsStatus (FM aritalStatus) Foreign Key Unit ID references M sUnit

(UnitID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key RegionID references MsRegion (RegionID)

Foreign Key DomicileID references MsDomicile (DomicileID)

m. Relasi antar M sTrainingCourseCat dengan M sEmployee menghasilkan posting TrainingCourseCatID ke entiti M sEmployee

Tabel 4.48 Identifikasi Tipe Relasi 1:* TrainingCourseCatID ke M sEmployee post TrainingCourseCatID ke MsEmployee

MsTrainingCourseCat

(TrainingCourseCatID, Name, Date, DateFrom, DateTo, EmployeeID)

Primary Key TrainingCourseCatID

Foreign Key EmployeeID references MsEmployee (EmployeeID)

MsEmployee (EmployeeID, FullName, JobPosition, JoinDate, ResignDate, ProbationDate, PermanentDate, PlaceofBirth, DateofBirth, ContactNo, Address, Email, BloodType, DriveLicType, PasportNo, M onthsWorkExp, TotalPrjExp, DiseaseCaseDesc, FGender, FReligion, FM aritalStatus, UnitID, BranchID, RegionID, DomicileID)

Foreign Key FGender references MsGender (FGender)

Foreign Key FReligion references MsReligion (FReligion)

Foreign Key FM aritalStatus references MsStatus (FM aritalStatus) Foreign Key Unit ID references M sUnit

(UnitID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key RegionID references MsRegion (RegionID)

Foreign Key DomicileID references MsDomicile (DomicileID)

n. Relasi antar M sPrjM ethodStage dengan M sEmployee menghasilkan posting PrjM ethodStageID ke entiti M sEmployee

Tabel 4.49 Identifikasi Tipe Relasi 1:* PrjM ethodStageID ke M sEmployee post PrjM ethodStageID ke M sEmployee

MsPrjM ethodStage (PrjM ethodStageID, ProjectInitID, EmployeeID,

MsEmployee (EmployeeID, FullName, JobPosition, JoinDate,

NameM ethodStage, NameM ethodCat},

percentComplete, RecordDate, Description)

Primary Key PrjM ethodStageID

Foreign Key ProjectInitID references ProjectInit (ProjectInitID)

Foreign Key EmployeeID references MsEmployee (EmployeeID) ResignDate, ProbationDate, PermanentDate, PlaceofBirth, DateofBirth, ContactNo, Address, Email, BloodType, DriveLicType, PasportNo, M onthsWorkExp, TotalPrjExp, DiseaseCaseDesc, FGender, FReligion, FM aritalStatus, UnitID, BranchID, RegionID, DomicileID)

Primary Key EmployeeID

Foreign Key FGender references MsGender (FGender)

Foreign Key FReligion references MsReligion (FReligion)

Foreign Key FM aritalStatus references MsStatus (FM aritalStatus) Foreign Key Unit ID references M sUnit

(UnitID)

Foreign Key BranchID references MsBranch (BranchID)

Foreign Key RegionID references MsRegion (RegionID)

Foreign Key DomicileID references MsDomicile (DomicileID)

Dalam dokumen BAB 4 PERANCANGAN DAN IMPLEMENTASI (Halaman 47-69)

Dokumen terkait