This topic contains 8 replies, has 4 voices, and was last updated by William Radi 5 years, 6 months ago.
- Topic
Hello Oro friends!
I’d like to use this SQL query into the contact datagrid (datagrid.yml file):
1234567SELECT COALESCE(t2.first_name, ' ') || ' ' || COALESCE(t2.last_name, '')FROM ibv_household_member AS t1JOIN orocrm_contact AS t2 ON t2.id = t1.contact_idWHERE t1.household_id IN (SELECT DISTINCT t3.household_idFROM ibv_household_member AS t3WHERE t3.contact_id = 8)AND t1.responsible = 't' LIMIT 1I need a new column with the result.
How can I do it?
would be something like that?
1234567891011source:type: ormquery:select:- c.id- c.firstName- c.lastName- c.createdAt- c.updatedAt- c.fax- SELECT COALESCE(t2.first_name, ' ') || ' ' || COALESCE(t2.last_name, '').....Thank you so much guys!
The forum ‘OroCRM’ is closed to new topics and replies.