Relationship: Users - EmployeeRoles

From MintHCM Wiki

Users - Roles

Relationship employeeroles_assigned_user
Type one-to-many
LHS Module Users
LHS ID id
LHS Label
LHS Fields
RHS Module Roles
RHS ID assigned_user_id
RHS Label Assigned to User
RHS Fields Assigned to User, Name, Assigned to, Assigned User

Short Description

Specific Sugar user can be assigned to many account records, but specific account record can only have one user assigned.


Location and Code definition

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


Mentioned in articles