on 09-23-2009 7:53 PM
Hi
With OCPR and Name field in an SQL query, I get all the contact persons with an SQL query.
Is there any way to get just the DEFAULT contact person? I do not see any field which identifies the record as the default.
Thanks,
Ajay Audich
Hi,
Check this query :
SELECT * FROM OCPR T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode WHERE T1.[CntctPrsn] = T0.[Name]
May be you find some hint or something to create one for your self.
Kind Regards,
Jitin Chawla
SAP Business One Forum Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitin,
Thanks - this has solved my problem.
Ajay Audich
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
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.