Relationship: Users - Users

From MintHCM Wiki

Users - Users

Relationship user_direct_reports
Type one-to-many
LHS Module Users
LHS ID id
LHS Label Reports to
LHS Fields Reports to
RHS Module Users
RHS ID reports_to_id
RHS Label Reports to
RHS Fields Reports to, Reports to, Reports to ID

Short Description

One User record can have many related User records, but a specific User record can be related to only one User record.


Location and Code definition

Array ( [lhs_module] => Users [lhs_table] => users [lhs_key] => id [rhs_module] => Users [rhs_table] => users [rhs_key] => reports_to_id [relationship_type] => one-to-many )


Mentioned in articles