[Vtigercrm-developers] get name from uitype 10 id field

lucia digirolamo l.digirolamo at websonica.net
Fri Mar 11 16:11:55 GMT 2016


Thanks it works! I had already found this page the other day but it did 
not work, I noticed only now the the code in the example is missing a 
";". Now it works perfectly, thanks

On 11/03/2016 16:44, Alan Lord wrote:
>
>
> On 11/03/16 15:12, lucia digirolamo wrote:
>> Hi,
>>
>> I've got a workflow with a custom function. When I save a record, the
>> workflow is fired and the custom function gets correctly called. I can
>> retrieve all the information of the record saved with
>> $entity->data[some_name]. The record has a uitype 10 field to display
>> product name but inside $entity->data I have only the product id so my
>> question is: how can I get the product name related to my record based
>> on the product id that I have inside $entity?
>
> Use the server api and do a Retrieve for a Product:
>
> http://community.vtiger.com/help/vtigercrm/developers/server-apis.html#retrieve 
>
>
> HTH
>
> Al
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>



More information about the vtigercrm-developers mailing list