Relationship: Delegations - WorkSchedules

From MintHCM Wiki

Delegations - Work Schedule

Relationship delegations_workschedules
Type one-to-many
LHS Module Delegations
LHS ID id
LHS Label Work Schedules
LHS Fields Work Schedules
RHS Module Work Schedule
RHS ID delegation_id
RHS Label Delegation
RHS Fields Delegation, Name, Delegation

Short Description

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


Location and Code definition

Array ( [lhs_module] => Delegations [lhs_table] => delegations [lhs_key] => id [rhs_module] => WorkSchedules [rhs_table] => workschedules [rhs_key] => delegation_id [relationship_type] => one-to-many )


Mentioned in articles