Evaluation of multiple conditions on an if statement in workflow

Simple, but it's driving me crazy. How can I evaluate several conditions in the context of a simple if statement?

my code looks like this:

If (element.getAttributeWithKey (key) .value! == "" | ") element.getAttributeWithKey (key) .value! = 0 || element.getAttributeWithKey (key) .value! = null) {}

... rest of script to workflow here

}

My values come from a configuration item and I would essentially like to check if the value of a particular attribute of this configuration element is not empty, zero or null so that I can't ignore the attribute in this case.

If I split the fi / or statement in three person if statements one after another my code works as I want to do it, ignoring the attributes of a vacuum/zero or no value, but when it is combined with a statement or the workflow does not work as expected, and is not to ignore the attributes of a vacuum/zero or no value.

Can someone point out where I'm wrong?

I tried

If ((element.getAttributeWithKey (clé) '.value! == ' ') |) (element.getAttributeWithKey (key) .value! = 0). (element.getAttributeWithKey (clé) .value! = null)) {

also

If ((element.getAttributeWithKey (key) .value)! == "" |) (element.getAttributeWithKey (key) .value)! = 0 || (element.getAttributeWithKey (key) .value)! = null) {}

without success.

Should not make a difference but it's vRO 6.0

Hello

The problem is that statement if you use disjunction | but you must use jointly and

For the attribute to consider non-empty, it should satisfy ALL 3 conditions, not a single one of them

Tags: VMware

Similar Questions

  • How can I use multiple row subqueries in update statement

    Hai All

    I'm using the Group feature in my update statement... and I need to update several lines so I need to use several rows

    subquery pls tell me how to use multiple row subqueries in update statement


    For example

    while I use it like this I got an error

    Update dail_att set outtime to (select max (r2.ptime) in the temp_att where empcode = r2.enpno and)

    bar code = r2.cardn and group attend_date = r2.pdate by enpno, update, cardn);


    Pls tell me how to use for example


    Thanks and greetings

    Srikkanth.M

    Hello

    for r2 loop p1

    R2 is a line of the cursor,

    Max (R2. PtIMe)? It is always equal to r2.ptime if the select statement returns rows.

  • WHERE condition in a sql statement

    Hello people,

    I have a screen with data grid where one of the columns is STATES_CODES and other VOLUMES one. Grid consists of several lines. I need to create a CUSTOM SEARCH field that will be filtering on this database.

    Unfortunately a customer wants to enter a search string with custom functions: '+' (plus) to include in the selection of the result and "-" (less) to exclude from the selection of the results. For example: "+ IT + -100". Based on this string, I need to return only the States HE and and exclude volumes with a value of 100.

    A tip how to build a query where condition, so it will be more effective as possible?

    Simple example:

    test data:

    with t (select 'IT' State, volume 90 of any union double

    Select 'IT' State, 100 volumes of all the double union

    Select 'IT' State, 100 volumes of all the double union

    Select 'OF' State, 90 volume of all the double union

    Select 'OF' State, in 100 volumes of all the double union

    Select 'OF' State, in 100 volumes of all the double union

    Select 'NL' State, 90 volume of all the double union

    Select 'NL' State, 100 volumes of all the double union

    Select 'NL' State, 100 volumes of all the double union

    Select 'FR' State, 90 volume of all the double union

    Select 'FR' State, in 100 volumes of all the double union

    Select 'FR' State, in 100 volumes of all the double union

    Select 'ARE' State, 90 volume of all the double union

    Select 'ARE' State, in 100 volumes of all the double union

    Select 'ARE' State, 100 volumes of double

    )

    Select * from t

    Search string: "+ IT + - 100".

    I thought to somehow using regular expressions REGEXP_LIKE condition, but do not know how to change the entered search string in above format as long as the regular expression.

    And if you want to be specific about the characters representing the State and the numbers represent the amount then you will need to divide them into more...

    SQL > with t (select 'IT' State, 90 volume of all the double union)
    2 Select 'IT' State, 100 volumes of all the double union
    3 select 'IT' State, 100 volumes of all the double union
    4. Select 'FROM' State, 90 volume of all the double union


    5. Select 'FROM' State, in 100 volumes of all the double union
    6. Select 'FROM' State, in 100 volumes of all the double union
    7 select 'NL' State, 90 volume of all the double union
    8 select 'NL' State, 100 volumes of all the double union
    9 select 'NL' State, 100 volumes of all the double union
    10. Select 'FR' State, 90 volume of all the double union
    11. Select 'FR' State, in 100 volumes of all the double union
    12. Select 'FR' State, in 100 volumes of all the double union
    13. Select 'ARE' State, 90 volume of all the double union
    14 select 'ARE' State, in 100 volumes of all the double union
    15 select 'ARE' State, in 100 volumes of double
    16              )
    17, ch. as (select "+ IT + -100"as the double criterion)
    18, split as (select regexp_substr (trim (', ' regexp_replace (criteria,'([+ -]) ', ', \1')), "[^,] +', 1, level") as a criterion of)
    19 c
    20 connect the regexp_substr (trim (', ' regexp_replace (criteria,'([+ -]) ', ', \1')), "[^,] +', 1, level") is not null
    21                 )
    22, inc_state as (select substr(criteria,2) as a criterion
    23 split
    where the 24 regexp_like(criteria,'^\+[A-Z]+')
    25                     )
    26, inc_vol as (select substr(criteria,2) as a criterion
    27 split
    where the 28 regexp_like(criteria,'^\+[0-9]+')
    29                    )
    30, exc_state as (select substr(criteria,2) as a criterion
    31 split
    where the 32 regexp_like(criteria,'^\-[A-Z]+')
    33                     )
    34, exc_vol as (select substr(criteria,2) as a criterion
    35 split
    where the 36 regexp_like(criteria,'^\-[0-9]+')
    37                    )
    38-
    39 select *.
    40 t
    where the 41 (exists (select 1
    inc_state 42
    43 where inc_state.criteria = t.state
    ((44) or (select count (*) in inc_state) = 0)
    45 and (exists (select 1
    46 by inc_vol
    where the 47 inc_vol.criteria = t.volume
    ((48) or (select count (*) in inc_vol) = 0)
    49 and (not exists (select 1
    50 to exc_state
    where the 51 exc_state.criteria = t.state
    ((52) or (select count (*) in exc_state) = 0)
    53 and (not exists (select 1
    exc_vol 54
    where the 55 exc_vol.criteria = t.volume
    ((56) or (select count (*) in exc_vol) = 0)
    57.

    ST VOLUME
    -- ----------
    HE 90
    90

  • Correct formatting of "isLoggedIn" condition on an "if" statement

    Hello world!

    I want to check with the liquid, if the visitor is connected. I write the statement from downstairs, but it does not work.

    < div >

    {% If user.isLoggedIn is true-%}

    < p > Hey Alex! < /p >

    {%-%}

    < p > you are not connected! < /p >

    {endif-%}

    < / div >

    Maybe I'm not using the correct formatting of the "if" condition Can someone do the good correction for the statement "if"?

    Thank you

    Alex

    Hi Alex,

    {{Your IF statement is pretty much correct, do not forget to complete the lines %} not-%}

    and the object you need to check is globals.user.isLoggedIn - Globals. Catalyst of business support

    That's all,

    Stoiky

  • If the multiple condition and declaration

    I use the statement below if a button. What I would do, is if the name, address, city, State, Zip and members (fields) are empty you get the message please complete all required fields or if the (field) Member (which is a Yes = 1, no = 2) radio button equal 1 and class eitehr, return or local are empty you will get this message even. But if any of these conditions are met, then click on the printbutton1.

    if ((Name.rawValue == null) or )

    (Address.rawValue == null) Gold

    (City.rawValue == null) Gold

    (State.rawValue == null) Gold

    (Zip.rawValue == null) Gold

    (Member.rawValue == null) Gold

    then

    xfa.host.messageBox ("Please fill out all the fields to print.")

    ElseIf

    (Member.rawValue == 1) and

    (Class.rawValue == null) Gold

    (Room.rawValue == null) or

    (Return.rawValue == null) or)

    (Local.rawValue == null))

    then

    xfa.host.messageBox ("Please fill out all the fields to print.")

    on the other

    PrintButton1.execEvent ("click")

    endif

    Any help would be greatly appreciated.

    Thank you

    PARRE

    Try this (in formcalc):

    If ((Name.isNull ou Address.isNull ou City.isNull ou Zip.isNull ou State.isNull ou Member.isNull) or (member == 1 and (Class.isNull or Room.isNull or Local.isNull))) then

    xfa.host.messageBox ("Please fill out all the fields to print.")

    on the other

    PrintButton1.execEvent ("click")

    endif

  • command evaluated Pivot and UnPivot in the select statement

    My research assessing the order of the select statement is below.
     1 from
     2 where (Join condition)
     3 start with
     4 connect by
     5 where (filter of rows)
     6 group by
     7 having
     8 model
     9 select
    10 order by
    My question is Where clause Pivot and UnPivot clause ?

    http://download.Oracle.com/docs/CD/E16338_01/server.112/e10592/statements_10002.htm

    Well the pivot is applied to a single table or an inline or a view - so it's going to be like any other table or view in the list - it will be first

    select b.BUSINESS_OBJECT_CATEGORY_DESCR, a.c, a.d
    from
     (select PAY_METHOD_TYPE_CODE, BUSINESS_OBJECT_CATEGORY_CODE
      from target_odi.business_object_pay_methods)
     pivot (count(PAY_METHOD_TYPE_CODE)
             for PAY_METHOD_TYPE_CODE in  ('D' as d, 'C' as c)) a ,
    target_odi.business_object_categories  b
    where a.BUSINESS_OBJECT_CATEGORY_CODE = b.BUSINESS_OBJECT_CATEGORY_CODE
    

    So for the SQL above the pivot is first assessed before the join between A and B.

  • Race conditions manifested in the state machine in queue

    Hello

    I ' am developing a vi in which I use a design of producer-consumer model.
    the producer s enqueue States for the consumer. but at a certain point in execution of I want to enqueue the next state of the statemachine consumer, within the State of the consumer himself. This causes a problem?
    in other words I have given queue in the loop of consumer can also. so the man the next state of consumers will depend on the data in queue

    Thank you

    I make extensive use of Handleres of Message queue where the "producer" and the consumer enqueue for the same queue.

    A "Firinstance" of work today: here are two screenshots of a part of the same code

    The top loop controls the State of a semi autonomous process where data is collected.

    1. an event is detected, triggering the start of the measuring cycle
    2. Data are being gathered
    3. Another event tells the top loop that it's time to stop collecting data and "Analize" is sent to the end opposite to the consumer
    4. The buffer empty analize, formats the data and continues to the State of "Log".

    The thing to remember is to use a priority queue.  Enqueue to place free and flush properly, in front of end control.  See also 'A trip to Grandma's House'.

    It is a very powerful technique for applications where you want abstract on the 'what' and 'When' the how and just leave a "do".

    And Yes, if I had chosen a unrestricted data (string, var) rather than an enum type and built the lower loop as a child class, you have a "player".

  • If multiple assignment of the var statement

    hope this is the right place to post.  Admin pls mention where to post if this is wrong place.

    have a simple program

    [code]

    #include

    int main()

    {
    char a = "A";

    While (one<= 'z')="">
    printf ("%c", a);

    If (a 70% == 0 | a 76% == 0 | a 82% == 0 | a 88% == 0)
    printf ("\n");
    a ++ ;
    } / / end while
    }

    [/ code]

    looking to simplify that statement.  If I assigned another tank the statement in parentheses

    might look like this

    char c = 70;

    (a % c == 0: a += c 6% == 0)

    ^      ^<-- problems="" are="">

    the += and ==

    hope shorten 2 pieces with | operator.  otherwise stuck with four.

     
    Maybe you will find what you want to be in the...
     
    MSDN forums
     
    Or the TechNet Forums
     
  • Get multiple values in a select statement in a variable to a procedure

    Hello

    I'm trying to craete a procedure where the entry of the procedure will be a similar string "a, b, c, d" and output the values of a table that matches the value separated by commas of in sting.

    For this.

    create table test (varchar2 (10)) nm;

    Insert test values ('a');

    Insert test values ('b');

    Insert test values ('c');

    Insert test values (');

    Select * from test;

    NM

    ------

    one

    b

    c

    d

    Now I'm doing a procedure where the parameter will be the column values NM of TEST table in a string separated by commas like "a, b, c, d, x, l" there could be false values also.

    The procedure will return only the values that are adapted with column NM from the TEST table for this I created this procedure.

    create or replace procedure p_test (p_nm IN varchar2 / *, THE sys_refcursor p_out * /)

    is

    number of l_len;

    l_val varchar2 (10);

    l_val1 varchar2 (10);

    Start

    l_len: = length (p_nm);

    -dbms_output.put_line (l_len);

    Start

    because me in 1.l_len

    loop

    Select REGEXP_SUBSTR (p_nm, ' ([^,] *)(,|$)', 1, I, NULL, 1) in double l_val;

    -dbms_output.put_line (l_val);

    -Open p_out for

    Select * into l_val1 of test where nm = l_val;

    dbms_output.put_line (l_val1);

    output when l_len is null;

    end loop;

    exception

    When no_data_found then

    null;

    end;

    exception

    while others then

    dbms_output.put_line (' error reason :'||) SQLERRM |' :'|| error code SQLCODE);

    end;

    EXECUTE p_test ('a, b, c, d, q, w');

    OUTPUT-

    one

    b

    c

    d

    This procedure gives me out as I need, but I need to get this in a variable which should be OUT the parameter of this procedure will be called by the JAVA for our application.

    As I already tried to use the refcursor (see the commented part), but it gives me no output during a call there.

    Its a call to this procedure when I use the refcursor (removing comments).

    declare

    l_out sys_refcursor;

    l_val varchar2 (20);

    l_str varchar2 (20): = 'a, b, c, d;

    Start

    p_test (l_str, l_out);

    loop

    extract the l_out in l_val;

    dbms_output.put_line (l_val);

    dbms_output.put_line ('a');

    When the output l_out % notfound;

    end loop;

    end;

    So here I am stuck with that, how to get the result of multiple or I'm missing something here and if there is a better approach to this requirement as I come with that so I'm sharing it here.

    OR if someone can tell me what is the problem with this package-

    create or replace package p_test_api

    is

    type t_rec is rendered (name varchar2 (200));

    type t_tab is table of index by pls_integer t_rec;

    procedure p_pest_proc (p_nm in varchar2, p_out to t_tab);

    end p_test_api;

    /

    create or replace package body p_test_api

    is

    procedure p_pest_proc (p_nm in varchar2, p_out to t_tab)

    is

    number of l_len;

    l_val varchar2 (10);

    l_val1 varchar2 (10);

    Start

    l_len: = length (p_nm);

    Start

    because me in 1.l_len

    loop

    Select REGEXP_SUBSTR (p_nm, ' ([^,] *)(,|$)', 1, I, NULL, 1) in double l_val;

    dbms_output.put_line (l_val);

    Select * bulk collect into p_out test where nm = l_val;

    output when l_len is null;

    end loop;

    exception

    When no_data_found then

    null;

    end;

    exception

    while others then

    dbms_output.put_line (' error reason :'||) SQLERRM |' :'|| error code SQLCODE);

    end p_pest_proc;

    end p_test_api;

    CALL THIS PACKAGE-

    declare

    l_out p_test_api.t_tab;

    l_str varchar2 (20): = 'a, b, c, d;

    Start

    P_TEST_API. P_PEST_PROC (l_str, l_out);

    dbms_output.put_line ('b');

    because me in 1.l_out.count

    loop

    dbms_output.put_line ('a');

    dbms_output.put_line (l_out (i). (Name)

    dbms_output.put_line ('a');

    When the output l_out.count = 0;

    end loop;

    dbms_output.put_line ('a');

    end;

    It won't loop

    I am using-

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    Thank you

    First of all, get rid of it WHEN OTHERS like William already noted. If you do not want to use the collections:

    SQL > create or replace
    function f_test () 2
    3 p_nm varchar2
    4                  )
    5 return varchar2
    6 is
    v_result 7 varchar2 (4000);
    Start 8
    9. Select listagg (nm, ',') within the Group (nm control)
    10 in v_result
    11 test
    where the 12 «,» | p_nm | ',' like '%', | NM | ',%';
    13 return v_result;
    14 end;
    15.

    The function is created.

    SQL > start
    2 dbms_output.put_line (f_test ('a, b, c, d, x, w'));
    3 end;
    4.
    a, b, c and d

    PL/SQL procedure successfully completed.

    SQL >

    SY.

  • WHERE conditional clause with CASE statement

    Hi experts,

    I have a table:

    CREATE THE TABLE HR. TABLE_Y

    (

    NUMBER (2),

    ID NUMBER (2),

    NUMBER (5) CALC

    )

    Insert into human resources. TABLE_Y

    (TYPE, ID, CALC)

    Values

    (1, 1, 10);

    Insert into human resources. TABLE_Y

    (TYPE, ID, CALC)

    Values

    (1, 2, 15);

    Insert into human resources. TABLE_Y

    (TYPE, ID, CALC)

    Values

    (1, 3, 17);

    Insert into human resources. TABLE_Y

    (TYPE, ID, CALC)

    Values

    (1, 4, 20);

    Insert into human resources. TABLE_Y

    (TYPE, ID, CALC)

    Values

    (2, 2, 11);

    Insert into human resources. TABLE_Y

    (TYPE, ID, CALC)

    Values

    (1, 2, 14);

    Insert into human resources. TABLE_Y

    (TYPE, ID, CALC)

    Values

    (2, 3, 18);

    Insert into human resources. TABLE_Y

    (TYPE, ID, CALC)

    Values

    (3, 1, 30);

    COMMIT;

    SQL > SELECT * FROM TABLE_Y ORDER BY 1.2;

    TYPE ID CALC

    ---------- ---------- ----------

    1          1         10

    1          2         15

    1          3         17

    1          4         20

    2          1         14

    2          2         11

    2          3         18

    3          1         30

    I have the query as below,

    I pass a TYPE and an IDENTITY value as a condition for a query.

    SELECT THE TYPE, ID, CALC

    OF TABLE_Y

    WHERE TYPE =: TYPE

    AND IN THE CASE OF IDENTITY

    WHEN: TYPE = 1

    THEN 2

    WHEN: TYPE = 2

    THEN 1

    End

    ;

    When passing a TYPE = 1

    Output

    ID of TYPE CALC

    ----------     ----------   ----------

    1                2           15

    When passing a TYPE = 2

    Output

    ID of TYPE CALC

    ----------    ----------      ----------

    2               1               14

    I want to move a TYPE and ID more values as a condition for a query.

    I'm trying

    SELECT THE VALUE TYPE, ID,

    OF TABLE_Y

    WHERE TYPE =: TYPE

    AND IN THE CASE OF IDENTITY

    WHEN: TYPE = 1

    THEN (1,3)

    WHEN: TYPE = 2

    THEN (1,2)

    End

    ;

    But gives me error:

    ORA-00907: lack of right parenthesis

    During the passage of a desired output TYPE, = 1

    TYPE ID CALC

    ----------  ----------    ----------

    1            1            10

    1            3            17

    During the passage of a desired output TYPE, = 2

    TYPE ID CALC

    ---------- ----------      ----------

    2           1              14

    2           2              11

    Thanks in advance

    BANNER

    ----------------------------------------------------------------

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production

    PL/SQL Release 10.2.0.4.0 - Production

    CORE 10.2.0.4.0;     Production

    AMT for Solaris: release 10.2.0.4.0 - Production

    NLSRTL Version 10.2.0.4.0 - Production

    Hello

    Here's one way:

    SELECT the type, id, value

    OF table_Y

    WHERE type =: type

    AND ((: type = 1))

    AND id IN (1, 3)

    )

    OR (: type = 2)

    AND id IN (1, 2)

    )

    )

    ;

  • Problems with multiple Conditions

    So I was able to create what I need, but it does not work as it should. Unless Im missing something. In the form attached Im trying to provide a result to two or three different conditions. Based on the Construction and square footage I get a heat factor. (See the table in pdf format) But for some reason that I can't get to half the time working and in general it will only show narrow construction in the drop down even if another type of construction is selected.

    Fall of the construction of the values:

    Tight = 1

    Average = 2

    Bulk = 3

    Heat the factor field Calc script:

    event.value = 0;
    var nSquareF = this.getField("F72").value;
    var nCon = this.getField("D3").value;
    if ( (nCon=1) && (nSquareF < 900) ) event.value = 0.41;
    else if ( (nCon=1) && (nSquareF >= 901) && (nSquareF <= 1500) ) event.value = 0.31;
    else if ( (nCon=1) && (nSquareF >= 1501) && (nSquareF <= 2000) ) event.value = 0.26;
    else if ( (nCon=1) && (nSquareF >= 2001) && (nSquareF <= 3000) ) event.value = 0.22;
    else if ( (nCon=1) && (nSquareF > 3001) ) event.value = 0.19;
    
    else if ( (nCon=2) && (nSquareF < 900) ) event.value = 0.61;
    else if ( (nCon=2) && (nSquareF >= 901) && (nSquareF <= 1500) ) event.value = 0.45;
    else if ( (nCon=2) && (nSquareF >= 1501) && (nSquareF <= 2000) ) event.value = 0.38;
    else if ( (nCon=2) && (nSquareF >= 2001) && (nSquareF <= 3000) ) event.value = 0.32;
    else if ( (nCon=2) && (nSquareF > 3001) ) event.value = 0.28;
    
    else if ( (nCon=3) && (nSquareF < 900) ) event.value = 1.29;
    else if ( (nCon=3) && (nSquareF >= 901) && (nSquareF <= 1500) ) event.value = 0.94;
    else if ( (nCon=3) && (nSquareF >= 1501) && (nSquareF <= 2000) ) event.value = 0.8;
    else if ( (nCon=3) && (nSquareF >= 2001) && (nSquareF <= 3000) ) event.value = 0.66;
    else if ( (nCon=3) && (nSquareF > 3001) ) event.value = 0.58;
    

    https://DL.dropboxusercontent.com/u/2944617/00%20work/load%20Cal.PDF

    JS comparison operator is "is", not "=". This is the assignment operator.

  • If a conditional or unconditional else statement

    I need to write conditional logic in Business Catalyst, which shows the different lines of code in function if the value 'image' or 'video' is returned since. {tag_detailpage_image_or_video}

    The name of the returned value is {tag_detailpage_image_or_video} which returns either image or video.

    Code to display a video is:

    <div class="shift-to-hero"> <p>{tag_left_video_detailpage_embed}</p> </div>

    The code for displaying an image is:

    <figure class="article-image">{tag_left_detail_image_01}<br /> </figure>

    I don't know how this code in British Colombia

    This happens usually if you use a tag twice - sometimes you can't use twice, so check your source and make sure that you have not used this tag already.  If this does not work, make sure that the name of your tag is right.  If you need to insert it again from the bc module Manager I would try it, but its usually because you call the incorrect tag.

  • Join with conditions of outer join statement

    Hello
    The following was extracted from the 11 GR 2 document guide performance, which I am not quite understand.
    Can anyone provide some examples to clearly explain this. Thank you

    For join instructions examples with outer join conditions, the table with the outer join operator must come after the other table in the condition in the join order. The optimizer does not consider join orders that violate this rule. Similarly, when a subquery was transformed into an antijoin or a semi-join, arrays of the subquery must come after these tables in the outer query to which they were connected or block in correlation. However, semijoins and antijoins of hash are override this order condition in certain circumstances
  • WHERE condition has decoded the statement

    Hi all

    I have a requirement to have two or three conditions based on a condition in the WHERE clause. Please do the needful. Thank you.

    If the context value is PROJECTS BILLS, then must have conditons

    (due_date-nvl(rt.printing_lead_days,31)) < sysdate
    and aps.customer_trx_id = rct.customer_trx_id
    and rt.term_id (+) = rct.term_id
    and aps.customer_trx_id = (select customer_trx_id
    of ra_customer_trx_all
    where trx_number =
    (: $FLEX$ .AR_RAXINV_TRX_NUMBER)

    If the context value is other than the PROJECT INVOICES, the

    (aps.customer_trx_id = rct.customer_trx_id
    and rt.term_id (+) = rct.term_id
    and aps.customer_trx_id = (select customer_trx_id
    of ra_customer_trx_all
    where trx_number =
    (: $FLEX$ .AR_RAXINV_TRX_NUMBER)


    Ex:

    I tried, but received the error.

    Select terms_sequence_number
    ar_payment_schedules_all aps, RA_CUSTOMER_TRX_ALL CTN, ra_terms rt
    where
    DECODE (rct.interface_header_context,'PROJECTS BILLS, (aps.customer_trx_id = rct.customer_trx_id)
    and rt.term_id (+) = rct.term_id
    and aps.customer_trx_id = (select customer_trx_id
    of ra_customer_trx_all
    where trx_number = '80000062')),
    ((due_date-nvl(rt.printing_lead_days,31)) < sysdate and)
    APS.customer_trx_id = rct.customer_trx_id
    and rt.term_id (+) = rct.term_id
    and aps.customer_trx_id = (select customer_trx_id
    of ra_customer_trx_all
    where trx_number = '80000062')))

    Thank you
    Abdul

    Select...
    Of...
    where (rct.interface_header_context = 'INVOICES of PROJECTS'
    OR (rct.interface_header_context! = "PROJECTS BILLS" and (due_date-nvl(rt.printing_lead_days,31))
    )< sysdate="">
    and aps.customer_trx_id = rct.customer_trx_id
    and rt.term_id = rct.term_id
    and aps.customer_trx_id = (select customer_trx_id from the ra_customer_trx_all where trx_number = '80000062')

  • conditional region - multiple conditions

    Hello
    I need to view a zone only if 1) of the page is in friendly mode of the printer AND 2) the value of a page item = 1. I tried to use: P100_ITEM = 1 AND: PRINTER_FRIENDLY = 'YES', but that didn't work. Any ideas how to do this? Thank you.

    Lisa

    Lisa:

    Just landing on page 8 and by clicking the custom link 'Printable Version' to the region "HTML" display. This is because the value of session state for P8_ITEM is null. If however, you access the P8_ITEM field, press 'Enter' and causes the page submit, then click on the 'Printable Version' link, things work as expected.

    CITY

Maybe you are looking for