Skip to Content
author's profile photo Former Member
Former Member

UDF - Alert System

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 11:31 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.