HI,
I'm building a custom module with Studio. That module has a link to Projects and ProspectTasks. My question is why join_key_lhs and join_key_rhs are autogenerated to something like 'mymod09ule_ida' and 'modufab6project_idb'?
custom/modulebuilder/packages/_PACKAGE_/modules/_MODULENAME_/relationships.php looks like:
join_key_lhs and join_key_rhs from that array are ignored. Is this a normal behavior and how to use my own keys instead of that auto-generated?Code:'mymodule_project' => array ( 'rhs_label' => 'Projects', 'lhs_label' => 'MyModule', 'lhs_subpanel' => 'ForProjects', 'rhs_subpanel' => 'ForMyModule', 'lhs_module' => 'mymodule', 'rhs_module' => 'Project', 'relationship_type' => 'many-to-many', 'readonly' => false, 'deleted' => false, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'relationship_name' => 'mymodule_project', 'join_table' => 'mymodule_project', 'join_key_lhs' => 'mymodule_ida', 'join_key_rhs' => 'project_idb', ),
SugarCRM 5.2.0e CE


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks