Hello Sir, Need help,
Why the deal I created won’t show on the table is it because the Primary company is im not the owner and 2nd Company deals with labelled “Partner Company” associated the one I owned. Is there any tweak on the code below how I can pull this deal using company labelled as “partner company” even its not the primary company associated on the deal ??
Number 1 in the picture ===> Customer Company (company not I owned)
Number 2. in the picture ===> Partner Company Neil ( company I owned )
The problem is if the deal I created is not showing on the table because the Primary is not I owned. and my company is secondary only Labeled as Partner Company.
Is it possible to see this deal even the primary company(Customer Company) associated is not mine ?I tried to change the primary to my company below (Partner Neil Company) and this deal is showing. by means this code below is only show associated company deals I owned only if the primary contact owner is mine? I want to show the deal I created even the primary company is im not the owner because my company is only the secondary below the primary labelled as “Partner Company” or any code call we can display associated company with labelled Partner Company whether its primary.
{% set associated_companies = crm_associations(contact.hs_object_id, "HUBSPOT_DEFINED", 1, "limit=3", "name", false) %}
{% set company_deals = crm_associations(associated_companies.results[0].id, 'HUBSPOT_DEFINED', 6, "", 'dealname,amount,dealstage,createdate,closedate') %}
{% set ticket_array = company_deals.results %}
