How to know the name of the ID field in a module
Hi,
I'm trying to integrate our application with Zoho CRM, and I want to provide a way for our users to map a module in Zoho to a module in our application.
For this, I'm saving the ID of the Zoho record into our database. Is there a way to know the name of the field containing the ID in each module? Is there a pattern, or somewhere I can get the info from ?
It looks as if it is the singular version of the module name with "ID" at the end, all in upper case, but what if the module name has more than one words, or if the user renames the singular label ?
So in the end, I need to know how I can get "CONTACTID" from the Contacts module, without the need for the end user to do an API call to see what the field name is...
Thanks in advance,
Bruno