Relationship: Tasks - Notes

From MintHCM Wiki

Tasks - Notes

Relationship tasks_notes
Type one-to-many
LHS Module Tasks
LHS ID id
LHS Label Notes
LHS Fields Notes
RHS Module Notes
RHS ID parent_id
RHS Label Tasks
RHS Fields Tasks, Parent ID

Short Description

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


Location and Code definition

Array ( [lhs_module] => Tasks [lhs_table] => tasks [lhs_key] => id [rhs_module] => Notes [rhs_table] => notes [rhs_key] => parent_id [relationship_type] => one-to-many )


Mentioned in articles