on 05-01-2012 1:15 PM
I need to check when a certain UDF in the OITM was changed. Therefore I would like to receve help to build a query to link the OITM to the AITM and compare a UDF value.
Hi
you can try this in alerts
select * from aitm where updatedate=getdate() or
select a.ITEMCODE
,a.UDF
,b,UDF
from OITM a
inner join AITM b on a.ITEMCODE =b.ITEMCODE
where a.UDF != b.UDF
instead of * you can insert the field (UDF) you want to check
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Put this query as Alert and kepp the frequency as '2 minutes'
select t0.Itemcode,t0.udf1 as 'Value Changed',t1,udf1 as 'Previous Value' from oitm t0 inner join AITM t1 on t0.ItemCode = t1.ItemCode
where t0.udf1 <> t1.udf1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
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.