on 06-30-2020 5:15 AM
Hi Experts,
How to write the Sub-query for the Calculation View -using SQL Script.
Below mentioned Sub-query is not working in Calculation View. Is there any alternative method Exist for this Query:
((SELECT SUM((case when upper(t4."staType") =-100 then T4."TaxSum" else 0 end) FROM PCH4 T4 WHERE T4."DocEntry"=T0."DocEntry" ),0)) "CGST_Amt"
Thanks in Advance..
I think the message you receive ("... could not find table/view PCH4 in schema SYSTEM ...") is quite clear. You have not mentioned a schema for that table/view and therefore SYSTEM is assumed as schema. You have to mention the schema name in which the view/table exists (e.g. MYSCHEMA.PCH4).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.