02-10-2021, 03:26 PM
(02-08-2021, 05:19 PM)Svemar Wrote: Hi radu,
Our map is below. It shows everything, exept cf_630 and modified time values:
<map>
<originmodule>
<originname>Potentials</originname>
</originmodule>
<relatedlists>
<relatedlist>
<module>Accounts</module>
<linkfield></linkfield>
<columns>
<field>
<label></label>
<name>potentialname</name>
<columnname></columnname>
</field>
<field>
<label></label>
<name>related_to</name>
<table></table> {optional}
<columnname></columnname>
</field>
<field>
<label>Contract#</label>
<name>cf_630</name>
<table>vtiger_potentialscf</table>
<columnname></columnname>
</field>
<field>
<label></label>
<name>modifiedtime</name>
<table>vtiger_crmentity</table>
<columnname></columnname>
</field>
<field>
<label></label>
<name>amount</name>
<columnname></columnname>
</field>
<field>
<label></label>
<name>closingdate</name>
<columnname></columnname>
</field>
<field>
<label>Assigne To</label>
<name>assigned_user_id</name>
<table>vtiger_crmentity</table>
<columnname></columnname>
</field>
</columns>
</relatedlist>
{-------------------------------------------------------------------------------}
</relatedlists>
</map>
I would do it like this:
<map>
<originmodule>
<originname>Potentials</originname>
</originmodule>
<relatedlists>
<relatedlist>
<module>Accounts</module>
<linkfield></linkfield>
<columns>
<field>
<label>Opportunity Name</label>
<name>potentialname</name>
</field>
<field>
<label>Related To</label>
<name>related_to</name>
</field>
<field>
<label>Contract</label>
<name>cf_630</name>
</field>
<field>
<label>Modified Time</label>
<name>modifiedtime</name>
</field>
<field>
<label>Amount</label>
<name>amount</name>
</field>
<field>
<label>Closing Date</label>
<name>closingdate</name>
</field>
<field>
<label>Assigned To</label>
<name>assigned_user_id</name>
</field>
</columns>
</relatedlist>
</relatedlists>
</map>
You can adjust the labes to your needs. Tell us if it works any better