on 06-09-2011 6:44 PM
Hello Experts,
I was wondering if user could be alerted when a UDF in a marketing document is update? for example: I have a UDF named "internal notes" where users enter notes and a few people need to be alerted when this field is updated.
I would like to thank you in advance.
Jose
Try:
select t0.DocNum, t0.u_notes from ORDR T0
where $[ordr.u_notes\] NOT IN (SELECT T1.u_notes FROM ADOC T1 WHERE T1.DocNum = T0.DocNum AND T1.ObjType = '17')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jose,
This will only work if the note message is added from nothing.
The solution would be a user alert query:
select t0.DocNum, t0.u_notes from ORDR T0
where $[ordr.u_notes\] IS NOT NULL
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Check this FOR PURCHASE ORDERS
select T0.[ItemCode],T1.[u_notes] from OPOR T0 inner join POR1 T1 on T0.[DocEntry] = T1.[DocEntry] where T1.[u_notes] NOT IN (select [u_notes] from ADOC T2 where T2.[DocEntry] = T1.[DocEntry] AND T0.[ObjType] = '22' )
Edited by: kambadasan on Jun 10, 2011 10:43 AM
HI
You can do that by using query based alert:
sample query for purchase order:
select t0.[DocNum] as 'Document number' from OPOR T0 Inner join POR1 on T0.[DocEntry] = T1.[DocEntry] where t1.[u_notes] IS NOT NULL
Assign this for the alert and keep the frequency as '1 min'
hope it will work...
Please check...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.