Relationship: Employees - Onboardings

From MintHCM Wiki

Employees - Onboardings

Relationship onboardings_employee
Type one-to-many
LHS Module Employees
LHS ID id
LHS Label Onboardings
LHS Fields Onboardings
RHS Module Onboardings
RHS ID employee_id
RHS Label Employee
RHS Fields Employee, Name, Employee, Employee ID

Short Description

One Employees record can have many related Onboardings records, but a specific Onboardings 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] => Onboardings [rhs_table] => onboardings [rhs_key] => employee_id [relationship_type] => one-to-many )


Mentioned in articles