AnsweredAssumed Answered

Relate field does not update during import in SugarCRM

Question asked by Aamir Hussain on Apr 23, 2016
Latest reply on May 7, 2016 by Aamir Hussain

I have build custom Module in SugarCRM and added a custom field of type 'relate' and linked with Accounts module. When I insert new record for this custom module via normal add/edit view it works perfectly alright and I can select an account via Account Name field. However when I use Import feature via CSV file it does not link with Accounts module however the Account already exists with same name. Same Account Name is working for other modules during import.

I am working on SugarCRM 6.5, I have build Custom Module via Module Builder than added custom field via Studio and also I have Many to Many relationship with this custom Contacts Module and Accounts Module.

Also as per the documentation when we create a relationship it automatically generates a field for relevant modules, but I do not see this happening in case of many-to-many relationship that's why I had to create a relate field that correspond to Accounts module.

Any help in this regard will be appreciated, I have already spent lot of time already to figure this out.