Comparison of the values of the choose/when/otherwise

I have the following logic to choose/when/otherwise
At run time, even if PersonId value equals the ManagerId, he always goes in the clause otherwise

CHOOSE
WHEN PersonId = ManagerId
display ManagerComments
END WHEN
WHEN PersonId! ManagerId =
display WorkerComments
END WHEN
IN THE OPPOSITE CASE
view comments
END OTHERWISE
CHOOSE END

If I print the value of the PersonId and ManagerId, they are equal and that they are strings.
PersonId is a parameter that is passed to the report.

any help will be greatly appreciated.

Can you send me the RTF and xml for [email protected]? file example I'll take a peek and try to help.

Thank you
Bipuser

Tags: Business Intelligence

Similar Questions

  • Script where the zero is not displayed when no value is selected, indicates when a value of zero is selected

    How can I write a calculation script where the zero is not displayed when no value is selected, but when a value field null is selected as part of the zero calculation will show?

    Option 1 has a score of 0 value

    Option 2 has a value of 5 score

    When someone chooses option 1, I want the value 0 to appear at the cell of notation.

    Here is the script that I have so far:

    If (event.value == 0 | event.value == ") event.value =";

    OK, the custom calculation script could be:

    Get the value of the checkbox field

    var v = getField("checkbox1").value;

    Set this field value

    V = Event.Value = "Off"? "" : v;

    Replace "checkbox1" with the actual name of the checkbox.

  • Get the current value of the variable when reaching CNVCreateSubscriber

    I use CNVCreateSubscriber () to create a subscription read to a network Variable: whenever the value of the variable changes, the DataCallback is called and I'm able to get the new value of the variable.

    But how to get the value of the variable when a subscription is created?

    I read in the help CNVCreateBufferedSubscriber () returns this information, but I wonder if using CNVGetDataFromBuffer () in a polling loop has the same performance as the approach to DataCallback of CNVCreateSubscriber ().

    In addition, the dataStatus (CNVGetDataFromBuffer) parameter is different for different Subscribers? (that is if I have multiple subscribers, CNVStaleData is related to the specific Subscriber or is a global property of the variable)?

    CNVData data;

    CNVGetConnectionAttribute (customer, CNVMostRecentDataAttribute, &data);)

  • Creation function Interior package Error (15,3): PLS-00103: encountered the symbol ";" when expecting one of the following values: back

    Hello

    I am trying to create a function inside the packaging.

    In the Package BODY I've defined the function, but in the definition of the package, it gives me syntax errors.

    • Error (15,3): PLS-00103: encountered the symbol ";" when expecting one of the following values: back
    • Error (39.1): PLS-00103: encountered the symbol "END" when waiting for one of the following values: start the function pragma procedure subtype type current cursor removal exist prior

    What can I do wrong here.

    Thank you

    Ken

    Inner package BODY:

    / * FUNCTION to form the query * /.

    FUNCTION UDF_FORMQUERY)

    IN_CASEID VARCHAR2,

    IN_SRCLYR VARCHAR2,

    IN_SRC_CONDN VARCHAR2

    )

    RETURN VARCHAR2

    AS

    varSQLQuery VARCHAR2 (10000);

    BEGIN

    varSQLQuery: = "test query";

    RETURN varSQLQuery;

    DBMS_OUTPUT. Put_line (varSQLQuery);

    END UDF_FORMQUERY;

    Definition of package inside:

    create or replace PACKAGE BODY MY_SQUERY

    AS

    FUNCTION UDF_FORMQUERY)

    IN_CASEID VARCHAR2,

    IN_SRCLYR VARCHAR2,

    VARCHAR2 IN_SRC_CONDN( )

    RETURN VARCHAR2

    AS varSQLQuery VARCHAR2 (10000);

    END MY_SQUERY;

    your package definition is incorrect, you have included the part of the declaration of the variables of the function in the package definition. It should be like

    FUNCTION UDF_FORMQUERY)

    IN_CASEID VARCHAR2,

    IN_SRCLYR VARCHAR2,

    IN_SRC_CONDN VARCHAR2)

    RETURN VARCHAR2;

  • does anyone know how to number the photos when they are exported so someone can choose the peak of number

    Anyone know how to number the photos when they are exported from LR, so someone can choose the photo they like with a number

    Sorry took with the last answer.

    More simple form used something like-Sequence_Filename number suffix

    If an image as _ABC0987.nef will become 0001_0987.nef and 0002_0988.nef, etc.

    Ask your customer to give you the full file name. The suffix indicates the original file.

    (I hope that you only need to search in a folder and do not have a bunch of images named the same that would cause problems!)

  • Dynamic action: need to refresh the area when changing value radio button

    Hello

    I use Apex 4.2 worm.

    I need to apply a dynamic action with the refreshment area.

    I need to refresh the area when I change the value of the radio button.

    To do this, I created dynamic action on the changes and select the refresh option to update the region.

    But it does not.

    If you want to check, then see below for workspace:

    Workspace: APEX_ISSUE

    User name: [email protected]

    Password: kaushik1@34

    Please use Page no 5.

    Thank you

    Hi Maxence,

    CORINE wrote:

    Hi Kiran

    Thank you very much.

    It works very well.

    One more I need help, I need to scroll in the radio button because I'm showing type of booking successively from top to bottom.

    How can I set scrolling in the option box.

    Thank you

    What do you mean by scrolling in the option button?

    I applied a horizontal scrolling for the region containing radio buttons by using the suite in the attributes of the region:

    style="overflow-x:scroll;"
    

    If you apply the change just of vertical scrolling x to y.

    I hope this helps!

    Kind regards

    Kiran

  • reload the page when SQL query returns a value

    Hello world

    the title of this discussion may seem strange, but I'll try to explain why I need this:

    A user has the ability to connect on my APEX application. There are several tabs in my application that are visible only if a certain SQL statement returns a value which is not the case by default. The user has also the ability to download a file that is transferred to an external system that analyzes the file and writes the data in the database. During this writing process - which may take several minutes - conditions for some of the tabs to show the will becomes real (-> the query will return a value). When the user refreshes the page manually, the tabs will be displayed. However, I want the tabs will appear automatically when the condition is met.

    Is it possible to refresh the page as soon as the query returns a value? It is perhaps possible to check it on the client side and trigger a refresh of the page when the condition is met. It would be even better if only the tabset has been updated, but refreshing the full page is fine as well.

    Thank you!

    Here is an overview of how it can be done

    This is possible thanks to a dynamic action being performed on a timer.

    View default tabs and dynamic action hide them on loading the page if they are not to be considered

    Create a dynamic action that will execute your query every 5 seconds or more

    If the query returns data, you can use the dynamic action to show your tabs using javascript

  • How to automatically complete a transitional according to the value of another attribute when attribute line is questioned in the VO?

    Hello world

    The task seems simple enough, but I have not found a way to populate an attribute transitional according to the value of another attribute when the line is queried. What is the best way to achieve this?

    Thank you.

    James

    Use VORowImpl, if you have any transient attributes defined in the view object, whose value is derived from other attributes of the line, you can override the GET method and add logic there

    Please note that this class represents a row in the results collection in a display object.

  • I'm not able to install illustrator creative cloud CC. This is the error when I download creative cloud app. "Cannot write the registry value. "Verify permissions, and then try again.

    I'm not able to install illustrator creative cloud CC. This is the error when I download creative cloud app. "Cannot write the registry value. "Verify permissions, and then try again.

    No one can tell you anything without the info adequate system or other technical details, including the exact error message.

    Mylenium

  • Display the field when it s a value.

    Hello.

    Am using jdeveloper, 11.1.1.6

    I dragged and dropped my vo as an af:form. I have a field in the t as eedi_alter_intranet_id. I dropped like an Outputtext.

    In my jsff page I need to display this value to my user when there is a value. If the value is null this output text does not display.

    Thank you and best regards,
    Prasad K T.

    Hello
    Allows to hide the output for the Visible EL attribute text
    Ex: visible = "#{bindings." Don't YOURFIELD.inputValue null}
    {code}

    no visible = "#{Bindings.eedialterintranetid.inputValue, null}" id = "ot180" "
    />
    {code}

  • Use the default values of the parameters when calling FND_REQUEST. SUBMIT_REQUEST

    Hello
    I submit a program concurrent with FND_REQUEST. SUBMIT_REQUEST in pl/sql.
    The simultaneous program settings are attached to sets of value and have default values.

    I want to give these parameter values only, which do not have the default when sending the request of pl/sql.

    That doesn't seem to work. Is it possible that I can get the defaults settings kick when I submit pl/SQL?

    Thank you
    SITA

    Published by: user451773 on December 3, 2012 05:05

    Published by: user451773 on December 3, 2012 05:06

    You will have to code a "preliminary stage" for it... aka... a function that calls your conc.req.

    the FND_REQUEST. SUBMIT_REQUEST will ask you to provide all the necessary at the start of the conc.req parameters. It's also what happens when you start through forms. So, you will need to code something that checks the settings which are given by you and for those not given not check LOV configuration and query by default.

    This is how you can solve this problem. It will need an additional coding.

    Kind regards
    Johan Louwers.

  • PLS-00103: encountered the symbol "" when expecting one of the following values:

    Hello

    When running under pl/sql block get below error...

    Please advice me where I am wrong

    DECLARE
    T_DATE date: = sysdate-813;
    v_last_closing_book_bal_amt (19: 4) NUMBER: = NULL;
    v_txn_amt (19: 4) NUMBER: = NULL;
    v_max NUMBER (5): = 100;
    NUMBER (5) v_count: = 1;

    BEGIN

    FOR I IN 1.30
    LOOP

    WHILE (v_count < = v_max)
    LOOP
    Insert into AI_ODS_TXN (BANK_BRANCH_ID,ACCT_NO,ISO_CCY_CD,CR_DR_IND,BOOK_DT,VALUE_DT,TXN_KEY,TXN_TYP_DE,TXN_CAT_DE,TXN_CD,TXN_AMT,FUNDS_TYP_CD,RPT_REF_TXT,INSERTED_TS,UPDATED_TS,BANK_ABA_NO,BENE_PARTY_BANK_ID,BENE_PARTY_BANK_NM,BENE_PARTY_BANK_ADDR_LINE1_TXT,BENE_PARTY_BANK_ADDR_LINE2_TXT ,BENE_PARTY_BANK_ADDR_LINE3_TXT,BENE_BANK_ID,BENE_BANK_NM,BENE_BANK_ADDR_LINE1_TXT,BENE_BANK_ADDR_LINE2_TXT,BENE_BANK_ADDR_LINE3_TXT,DETAIL_LINE1_TXT,DETAIL_LINE2_TXT,DETAIL_LINE3_TXT,DETAIL_LINE4_TXT,DETAIL_LINE5_TXT,FED_CLEAR_TS_TXT,CR_DR_PARTY_NM,CR_DR_PARTY_ADDR_LINE1_TXT,CONTROL_NO,INTERMED_BANK_ID ,INTERMED_BANK_NM,INTERMED_BANK_ADDR_LINE1_TXT,INTERMED_BANK_ADDR_LINE2_TXT,INTERMED_BANK_ADDR_LINE3_TXT,ORG_BANK_NM,ORG_BANK_ADDR_LINE1_TXT,ORG_BANK_ADDR_LINE2_TXT,ORG_BANK_ADDR_LINE3_TXT,OGB_BANK_NM,OGB_BANK_ADDR_LINE1_TXT,OGB_BANK_ADDR_LINE2_TXT,OGB_BANK_ADDR_LINE3_TXT,INSTRUCT_BANK_NM,INSTRUCT_BANK_ADDR_LINE1_TXT ,UNCLEAR_DT,UNCLEAR_ITEM_IND,INSTRUCT_AMT,INSTRUCT_CCY_CD,SENDER_CHARGE_LINE1_TXT,SENDER_CHARGE_LINE2_TXT,SENDER_CHARGE_LINE3_TXT,SENDER_CHARGE_LINE4_TXT,REGULATORY_TXT,BANK_REF_TXT,EXT_REF_TXT,YOUR_REF_TXT,FED_DR_ACCT_NO,SWIFT_STMT_NO,NDC_CD,BAI_CD,SWIFT_CD,CNS_SEQ_NO,LOAD_NO,UPDATED_WORKFLOW_NM,EXCHANGE_RT,ORG_BANK_ID ,OGB_BANK_ID,INSTRUCT_BANK_ID,SRC_MSG_TYP,CLEAR_DT,JOURNAL_NO,SERIAL_NO,SWIFT_STMT_DT,CR_DR_TXT,SUPP_DETAIL_TXT,GVC_CD,BOOKING_TXT,ITEM_TYP_DE,ORG_BANK_ACCT_NO,RETURNED_DDT_TXT,DETAIL_LINE6_TXT,DETAIL_LINE7_TXT,DETAIL_LINE8_TXT,DETAIL_LINE9_TXT,DETAIL_LINE10_TXT,DETAIL_LINE11_TXT,DETAIL_LINE12_TXT,DETAIL_LINE13_TXT ,DETAIL_LINE14_TXT,EXTRA_BCS_DETAIL_IND,OGB_BANK_ACCT_NO,INTERMED_BANK_ACCT_NO,CR_FLOOR_LIMIT_AMT,DR_FLOOR_LIMIT_AMT,MT942_TOTAL_CR_AMT,MT942_TOTAL_CR_NO,MT942_TOTAL_DR_AMT,MT942_TOTAL_DR_NO,INTERIM_FINAL_TXN_IND) values ('DBBRUSSELS','825-0004665-47','EUR','C',to_timestamp(v_date,'DD-MON-RR HH.MI. SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), '2009102201521911232172' + v_count, "TRANSFER", "TRANSFER of FUNDS", "SWF", 100, "VT", "I000424906808216", to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), null, null, null, null, "AAAAA35AAHNLEITEN GMBH", null, null, null, null, null, null,'IHR KT 0000002056/200000044 ', 4 NR.5100000835 09.03.09/N','ETTOBTR. NR.510000', ' 0872 6.627,01 10.03.09/NETTOBTR. 4', 559, 21 NR.5100000891 11.03', null, null, null, null, null, null, null, null, null, "DUROPACK AG 1235 WIEN", "XXN33XXXXROHNLEITEN GMBH", null, null, null, null, null, null, null, null, null, ' n, null, null, null, null, null, null, null, ' PET326000108PAGE AND ', 'I000424906808216', 'I000424906808216', null,' 102/1 ', null, 195, 'TRF', null, 0, "w_MT940_PROC - Type: first STMT ', 0, '15150', null, null, '940', null , null, null, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) (SSXFF AM'), 'C', null, '051', ' GUTSCHRIFT ELEKTRON. ", '76VB', '501057590',"QQQ34DQQQROHNLEITEN GMBH ", 09/NETTOBTR. 5.093,33 NO.5 ',' 100000899/12.03.09/NETTOBT','R. 2.302,58 NR.5100000917 / 13.03.09/NETTOBTR «,» (831,37 no, 'R.5100001006 2', null, null, null, null, null, null,' n, null, null, null, null, null, null, 'F');
    COMMIT;

    v_count: = v_count + 1;

    END LOOP;





    Select nvl(last_closing_book_bal_amt,0) in the v_last_closing_book_bal_amt of ai_ods_acct_tbl
    WHERE ACCT_NO = 825-0004665-47' AND BANK_BRANCH_ID = 'DBBRUSSELS' AND ISO_CCY_CD = "EUR";

    Select nvl (sum (txn_amt), 0) in the v_txn_amt of ai_ods_txn
    WHERE ACCT_NO = 825-0004665-47' AND BANK_BRANCH_ID = 'DBBRUSSELS' AND ISO_CCY_CD = 'EUR' and book_dt = to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM');



    Insert into ai_ods_BOOK_dt_agg (BANK_BRANCH_ID, ACCT_NO, ISO_CCY_CD, BOOK_DT, TOTAL_DR_ITEM_NO, TOTAL_DR_AMT, TOTAL_CR_ITEM_NO, TOTAL_CR_AMT, INSERTED_TS, UPDATED_TS) values ('DBBRUSSELS', 825-0004665-47', "EUR", to_timestamp (T_DATE,' DD-MON-RR HH.MI.)) SSXFF AM'), 0,0,4, v_txn_amt, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'));
    Insert into ai_ods_value_dt_agg (BANK_BRANCH_ID, ACCT_NO, ISO_CCY_CD, VALUE_DT, TOTAL_DR_ITEM_NO, TOTAL_DR_AMT, TOTAL_CR_ITEM_NO, TOTAL_CR_AMT, INSERTED_TS, UPDATED_TS) values ('DBBRUSSELS', 825-0004665-47', "EUR", to_timestamp (T_DATE,' DD-MON-RR HH.MI.)) SSXFF AM'), 0,0,4, v_txn_amt, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'));
    Insert into ai_ods_CATEGORY_agg (TXN_CAT_DE, BANK_BRANCH_ID, ACCT_NO, ISO_CCY_CD, BOOK_DT, TOTAL_DR_ITEM_NO, TOTAL_DR_AMT, TOTAL_CR_ITEM_NO, TOTAL_CR_AMT, INSERTED_TS, UPDATED_TS) values ("TRANSFER of FUNDS", "DBBRUSSELS", 825-0004665-47', "EUR", to_timestamp (T_DATE,' DD-MON-RR HH.MI.)) SSXFF AM'), 0,0,4, v_txn_amt, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'));

    Insert into ai_ods_acct_bal (BANK_BRANCH_ID,ACCT_NO,ISO_CCY_CD,BOOK_DT,INTERIM_FINAL_BAL_IND,LOAD_NO,BOOK_BAL_AMT,VALUE_BAL_AMT,COLLECTED_BAL_AMT,TOTAL_DR_AMT,TOTAL_CR_AMT,TOTAL_CHECK_CR_AMT,TOTAL_LBX_AMT,TOTAL_IMPREST_DR_AMT,TOTAL_IMPREST_CR_AMT,ONE_DAY_FLOAT_AMT,TWO_DAY_FLOAT_AMT,THREE_DAY_FLOAT_AMT ,FOUR_DAY_FLOAT_AMT,MTD_AVG_COLLECTED_BAL_AMT,YTD_AVG_COLLECTED_BAL_AMT,INSERTED_TS,UPDATED_TS,UPDATED_WORKFLOW_NM,OPEN_BOOK_BAL_AMT,SWIFT_STMT_DT,SWIFT_STMT_NO,MISSING_STMT_IND,SRC_MSG_TYP,TAG_60F_DT,TAG_60F_AMT,STMT_TYPE_IND) values ('DBBRUSSELS','825-0004665-47','EUR',to_timestamp(v_date,'DD-MON-RR HH.MI. SSXFF AM'), 'F', 0, v_last_closing_book_bal_amt + v_txn_amt,.
    v_last_closing_book_bal_amt + v_txn_amt, 0, 0, v_txn_amt, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), ' w_MT940_PROC - Type: first STMT ", v_last_closing_book_bal_amt, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) (SSXFF AM'),' 102/1 ', ', '940', to_timestamp (17 April 09 ',' DD-MON-RR HH.MI.) SSXFF AM'), v_last_closing_book_bal_amt, '=');
    COMMIT;

    T_DATE: = sysdate-809;
    T_DATE: = T_DATE + I;
    v_count: = 1;

    END LOOP;
    END;
    /


    ERROR
    *=====*

    T_DATE date: = sysdate-813;
    ***
    ERROR on line 2:
    ORA-06550: line 2, column 7:
    PLS-00103: encountered the symbol "" when expecting one of the following values:
    constant exception < an ID >
    * < a double-quoted delimited identifiers > table double Fedya Ref *.
    char time timestamp interval date binary national character
    NCHAR

    Hello

    First of all, you said T_DATE as DATE data type

    v_date                                      date := sysdate -813;
    

    And then you try to use a timestamp like this

    to_timestamp(v_date,'DD-MON-RR HH.MI.SSXFF AM'),
    

    T_DATE's DATE, not VARCHAR2.

    You should try CAST to convert the TIMESTAMP DATE. Or. first convert the VARCHAR2 DATE, then by TIMESTAMP.

    Kind regards

  • Why Firefox does not scroll the page when choosing &amp; the cursor reaches the bottom of the screen

    The selection of text on a page of the screen when the cursor reaches the lower edge of the screen in Firefox (version 9.0.1) does not scroll. Other programs (including IE) do, so it doesn't seem to be a local computer problem.
    I don't see a setting in the page options that enables / disables this then what is the solution?

    Activate the module bar (Firefox > Options or view > toolbars;) CTRL + /) or find bar to make Firefox scroll the page while selecting the text (Ctrl + F).

  • How can I make the comparison of the two string one by one

    Hi all

    I'm new in labview and I'm stuck with the problem.

    I have a huge text with a different pressure values in different ports. My goal is to find the average value of the two ports and the dP and this value, I need to find the max value of dP.For that please see the attached VI. and see the structure 1st case of this home VI. This I already have.

    [I first hypothesis structure I compare the port 103 and 115]

    Now that I was for 2 ports and now I want to do a calculation for the comparison of the two ports but labview should do automatically, for reference, I have attached the text file.

    [Now, I want to compare 103 & 115 104 & 116, 105 & 117 automatically a]

    Please see the nd structure 2 for that. (in the first case structure I put table 1 d of search function to find the location of the port column but I manually write the "103" Port, now I want the labview automatically read the port of 103, on port 104 and calculate the average)

    He would be grateful if you can help me.

    I press the run button and push the button highlight to see execution. And I found something wrong.

    In the second element of research case structure function read the location of the column, but after identyfied the number of the column, the message not to the upper structure and the calculation has not started. Computing began when he reads the element and passes the final item column, then the calculation started...

  • How to reset the options when you enter a disc in the drive.

    Apparently, I put the options in the window when I insert a disc to be permanent.  How to return to default values?

    Hello
    Welcome to the HP Forum!

    pappy444 wrote:

    Apparently, I put the options in the window when I insert a disc to be permanent.  How to return to default values?

    Please to identify your computer.

    Ook from Lto the base/back/side of the pc/laptop to the sticker with barcode.

    Item number of pole 2 as seen on the following example of label with barcode of a HP laptop. The barcode on your HP product may be slightly different in appearance, but will still have important information necessary for us to help you.

    #Do not post not the serial number of your product because it is personal information. ###

    Display the version of the operating system installed (State whether 32 or 64 bit) and the processor as one product AMD or Intel

    What specific drive you are talking about the State. Do you mean an optical drive such as a CD or a DVD?

    If you use Windows 7 or Vista:

    Click the Windows Orb and in the search box, type autoplay.

    Above, you will see the option change the defaults for the media or devices. Select it.

    Now, you can choose the default actions you want to happen with devices and media. Once you have chosen don't forget to click on save.

    Best regards

    ERICO

Maybe you are looking for