Hi
I created a 'Suppliers' module using the Module Builder, based on the 'Company' model.
I also configured the following two relationships :
Suppliers-Cases : many2many
Suppliers-Contacts : many2many
I deployed, repaired and then tested.
In Cases, not only can I see the linked field in the Edit and Detail panels
but I can also select/assign the linked field during a CVS import.
With Contacts on the other hand, no show : the linked field isn't visible in either panel,
or selectable during my imports.
I compared the Suppliers.php files in their respective locations :
/sugarcrm/custom/Extension/modules/Cases/Ext/Vardefs/Suppliers.php
and
/sugarcrm/custom/Extension/modules/Contacts/Ext/Vardefs/Suppliers.php
and even though I'm no expert in php coding, I was surprised by the lack of info contained within the Contacts version of Suppliers.php. The file was composed of the following block of text - repeated identically (except for the time stamp) three times :
// created: 2009-04-21 17:36:56
$dictionary["Contact"]["fields"]["hispl_hi_suppliers_contacts"] = array (
'name' => 'hispl_hi_suppliers_contacts',
'type' => 'link',
'relationship' => 'hispl_hi_suppliers_contacts',
'source' => 'non-db',
);
?>
This is a new and ongoing installation. All I have been basically doing for the moment is
importing the customers CVS data into the database.
I have defined a number of custom fields (text, currency, date) in Contacts - could this be the cause of my current situation ?
Thanks for reading,
any ideas ?
ysh


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks