on 2020 Jul 07 6:17 PM
Hi
Below Fms not working. I want to implement when ItemCde changes or u_Type value changes
SELECT
CASE
WHEN U_Type = 'U_1' then (Select U_1 from OITM where OITM.ItemCode = $[RDR1.ITEMCODE])
WHEN U_Type = 'U_2' then (Select U_2 from OITM where OITM.ItemCode = $[RDR1.ITEMCODE])
END AS Type
FROM [Test].[dbo].[RDR1]
where docentry=$[$Rdr1.docentry.number]
Thanks
Request clarification before answering.
If you use Hana version, try double quates for fields. Like "U_Type"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 29 | |
| 14 | |
| 14 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.