Relationship: Employees - PeriodsOfEmployment

From MintHCM Wiki

Employees - Periods of Employment

Relationship periodsofemployment_employee
Type one-to-many
LHS Module Employees
LHS Label Periods of employment
LHS Fields Periods of employment
RHS Module Periods of Employment
RHS ID employee_id
RHS Label Employee
RHS Fields Employee, Name, Employee, Employee ID

Short Description

One Employees record can have many related Periods of Employment records, but a specific Periods of Employment record can be related to only one Employees record.

Location and Code definition

Array ( [lhs_module] => Employees [lhs_table] => users [lhs_key] => id [rhs_module] => PeriodsOfEmployment [rhs_table] => periodsofemployment [rhs_key] => employee_id [relationship_type] => one-to-many )

Mentioned in articles