on 11-24-2023 9:43 AM
Hi All
Please help rectify my Item Price List Change Log History Query. The first Query result is fine but once I added AITM the Query hangs. I just need to include AITM Update Date to make perfect the Query.
SELECT T1.[ItemCode], T1.[PriceList], T1.[Price], T1.[Currency], T2.[Price], T2.loginstanc FROM OPLN T0 INNER JOIN ITM1 T1 ON T0.[ListNum] = T1.[PriceList] INNER JOIN AIT1 T2 ON T0.[ListNum] = T2.[PriceList] WHERE T2.[ItemCode] =[%0] and T2.[PriceList] ='1'
SELECT T1.[ItemCode], T1.[PriceList], T1.[Price], T1.[Currency], T2.[Price], T2.loginstanc, T3.UpdateDate FROM OPLN T0 INNER JOIN ITM1 T1 ON T0.[ListNum] = T1.[PriceList] INNER JOIN AIT1 T2 ON T0.[ListNum] = T2.[PriceList] INNER JOIN AITM T3 ON T3.loginstanc = T2. loginstanc WHERE T2.[ItemCode] =[%0] and T2.[PriceList] ='1'
Kedalene Chong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harish
I edited but still got T3.loginstanc = T2. loginstanc error. The Query shows both AIT1 and AITM Log instance but Log Instance is not visible on Database Field in Query Generator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
9 | |
8 | |
5 | |
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.