on 05-05-2020 9:43 AM
Hi all,
I need to build an sql query to report on Marketing Qualified Leads, does anyone know where can i find this information in SAP Business One?
Warm Regards,
Daniel
Try this simple query,
SELECT T0.[CardCode], T0.[CardName], count(T0.[DocNum]) as Count FROM OQUT T0 INNER JOIN OCRD T1 ON T0.[CardCode] = T1.[CardCode] WHERE T1.[CardType] = 'L' GROUP BY T0.[CardCode], T0.[CardName]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In general, we can use lead up to Sales order. Before converting to SO to DO, the lead should be converted to customer. Not sure about your definition of qualified lead.
So the tables involved for query is OCRD, OQUT,ORDR
Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.