Relationship: Employees - Resources

From MintHCM Wiki

Employees - Resources

Relationship resources_employee
Type one-to-many
LHS Module Employees
LHS Label Resources
LHS Fields Resources
RHS Module Resources
RHS ID employee_id
RHS Label Employee
RHS Fields Employee, Name, Employee, Employee ID

Short Description

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

Mentioned in articles