on 07-04-2015 6:26 AM
Hi experts,
I need vendors tax information like tin no, service tax no, pan no, cst no in the user query report, Please do needful,
Thanks
J.vigneshwaran
Hi Vignesg,
Try By using below query:
SELECT T0.[CardCode], T0.[CardName], T1.[TaxId0] as 'PAN No.' , T1.[TaxId1] as 'CST No', T1.[TaxId2] as 'VAT No', T1.[TaxId3] as 'SERVICE TAX No', T1.[TaxId6] as 'TAN No', T1.[TaxId11] as 'TIN No' FROM OCRD T0 INNER JOIN CRD7 T1 ON T0.[CardCode] = T1.[CardCode] WHERE T1.[CardCode] = [%0]
Regards,
Bhushan Verma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sir,
Thanks for both.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please assign correct answer to Bhushan Verma and assign helpful answer to me.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Small change in above query:
SELECT T0.[CardCode], T0.[CardName], T1.[TaxId0] as 'PAN No.' , T1.[TaxId1] as 'CST No', T1.[TaxId2] as 'VAT No', T1.[TaxId3] as 'SERVICE TAX No', T1.[TaxId6] as 'TAN No', T1.[TaxId11] as 'TIN No'
FROM OCRD T0 INNER JOIN CRD7 T1 ON T0.[CardCode] = T1.[CardCode]
WHERE T0.[CardCode] = [%0]
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.