cancel
Showing results for 
Search instead for 
Did you mean: 

UDF - Alert System

Former Member
0 Kudos

Dear All !

i have created 2 UDF at the Title level of Item Master Data. 1st UDF - linked to a UDT

2nd UDF - 'Yes' and 'No' field values.

i have created a Query based Alert retreiving the Fields found in 1st UDF with some time mgnt.

My need is to make the query "active" only when the 2nd UDF value is 'Yes'. if i am changing the field value to 'No' the Alert must become Inactive (i.e it should stop throwing message)

Is it possible, if so kindly help me!

Many Thanx,

Shiva.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Shivanesh,

A query based alert is fired if, when the query is executed, one or more rows are returned.

So you only need to setup the query so that no rows are retrieved if the 2º UDF is set to "No".

Something like:

IF (SELECT TABLE.U_FIELD) = "Yes"

SELECT ...

ELSE

SELECT ""

Hope it helps,

Vítor Vieira

Edited by: Vitor Vieira on Jan 29, 2008 11:31 AM

Former Member
0 Kudos

Ya ! let me try this n com back to u.

Thk u vieira!

Shiva

Former Member
0 Kudos

Thk u ! it works.

Shiva.

Answers (0)