Ofa: lov query problem

Hi friends

In my search of PG I HAV 3 field in that field i hav set it as a field of lOV
In the LOV domain I click the icon, a pop-up screen (ie) open search and select screen... from this field list I HAV selected a field... it back to my searchPG the selected item is in field of my searchPG lov... When I click on "query"button the whole table meet in instread of array of result of the selected item.

I want oly the selected item displayed in the result table b... I don't want the whole table of b shown in the result table...

I have hepatitis has to do it please help me

Thank you
Thiliban

Thilib

String phoneNO = pageContext.getParameter ("PhoneNO");

Check here if you have written attribute name wrong to PhoneNo...

Second

whereClause.append ("PHONE_NO as:" "");

Here, you are wrongly written the column PHONE_NO is PHONENO your case as I went through your query of VO.

Thank you
AJ

Tags: Oracle Applications

Similar Questions

  • Can someone tell me what is the problem with this LOV query please?

    This query works very well...

    Select filter_name display_value, FILTER_ID return_value
    from OTMGUI_FILTER where username = 'ADAM '.

    But this one...

    Select filter_name display_value, FILTER_ID return_value
    from OTMGUI_FILTER where username = apex_application.g_user

    Gives the following error.

    1 error has occurred

    * LOV query is not valid, a display and a return value is needed, the column names must be different. If your query contains a query online, the first CLAUSE in the SQL statement must not belong to the query online.

    Thank you very much

    -Adam vonNieda

    Adam:

    Define the LOV query as follows

    declare
    l_val varchar2(100) := nvl(apex_application.g_user,'ADAM');
    begin
    return  'select enAME display_value, empno return_value
    from emp where deptno = '''|| l_val || ''''
    end;
    

    CITY

  • LOV query is not valid, a display and a return value is necessary, column n

    Hello

    I AM FACING
    LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, 
    the first FROM clause in the SQL statement must not belong to the in-line query.
    with two table, I create lov

    the tables are
    CREATE TABLE  "CRM_SALES_DEPARTMENT" 
       (     "DEPT_ID" NUMBER NOT NULL ENABLE, 
         "CUSTOMER_ID" NUMBER NOT NULL ENABLE, 
         "DEPT_CODE" VARCHAR2(50) NOT NULL ENABLE, 
          CONSTRAINT "CRM_SALES_DEPARTMENT_PK" PRIMARY KEY ("DEPT_ID") ENABLE
       )
    CREATE TABLE  "CRM_SALES_CUSTOMERS" 
       (     "ID" NUMBER, 
         "CUSTOMER_NAME" VARCHAR2(255), 
         "CUSTOMER_ADDRESS1" VARCHAR2(255), 
          PRIMARY KEY ("ID") ENABLE
       )
    I USE QUARY
    select (SELECT CS.CUSTOMER_NAME FROM CRM_SALES_CUSTOMERS CS WHERE CS.ID=SD.CUSTOMER_ID) AD D, SD.CUSTOMER_ID R  
    from CRM_SALES_DEPARTMENT SD where SD.DEPT_CODE=:P16_MARKET 
    But who show me LOV query is not valid, a display and a return value is needed, the column names must be
    different. If your query contains a query online, the first CLAUSE in the SQL statement must not belong to the query online.

    How to solve this problem.

    Thank you

    Published by: 805629 on January 10, 2011 03:46

    Published by: 805629 on January 10, 2011 03:58

    Published by: 805629 on January 10, 2011 03:59

    ¿AD?
    Select (SELECTION of CS. CLIENT_NAME CS CRM_SALES_CUSTOMERS WHERE CS.ID = SD. CUSTOMER_ID) AD D, SD. CUSTOMER_ID R
    CRM_SALES_DEPARTMENT SD where SD DEPT_CODE =: P16_MARKET

    But the correct way is a join outher

    select CS.CUSTOMER_NAME D, SD.CUSTOMER_ID R
    from CRM_SALES_CUSTOMERS CS,
            CRM_SALES_DEPARTMENT SD
    where SD.DEPT_CODE=:P16_MARKET
    And CS.ID(+)=SD.CUSTOMER_ID
    
  • Need help with Bind variable in AF LOV query

    Hello

    I have a problem with the binding variable, if I use bind variable in the VO LOV query then my result does not come, if he has do not bind variable it works fine and if I use the variable binding in the LOV search option then it works fine but if I hide the bind variable and set the value in the prepareSesstion AM method the LOV does not return any value. I try to return the values that also all values are also coming, but these values are not the attribute query AF setting.

    Query is:

    Select substr(d.description,0,40) description
    cm_system_users has
    b cm_user_responsibilities,
    cm_responsibility_processes c,
    cm_processes d
    where a.nt_login =: B_NT_LOGIN
    and a.user_id = b.user_id
    and trunc (sysdate) between b.eff_date and nvl (b.exp_date, sysdate + 1)
    and b.RESPONSIBILITY_ID = c.RESPONSIBILITY_ID
    and c.process_type = d.process_type
    and d.enabled_flag = 'Y' order of d.arguments_flag

    FOLLOW the method:

    CmProcessViewImpl vo = getCmProcessView();
    String nt_login = getUserPrincipalName();
    vo.setNamedWhereClauseParam ("B_NT_LOGIN", nt_login.toUpperCase ());
    vo.executeQuery ();

    Can someone help me with this. It is urgent for me.

    It's a bit underdescribed. IIUC, the purpose of the notice is used as a target for a correct view accessor? (Otherwise, you will have to be more explicit about what you mean by "LOV query".

    If I'm right, there are two possibilities:

    (1) you use an instance of VO in a module shared application instance. If so, make sure that your code is in the prepareSession() for the class of application that module if it is dependent on session (as seems to be below), you must make sure that the module of the application instance is shared in the session scope.
    (2) you have based the view accessor directly on the definition of the VO. This creates an anonymous instance of VO; I don't think there is a way to use prepareSession() to set a variable of liaison on such a forum (which will not be created until the accessor is first used). Pourriez be able to shoot with to put a similar code in the view object create() method class, but I've not tested this.

    If your code is in your module class application primary (as opposed to the class for a shared of AOS instance), the problem here is that getCmProcessView() returns the instance of VO data module of this application instance design-time model, which is never used by accessors of the view.

    Also, why do you need to do this in prepareSession() rather than at the level of the accessor to view? I believe you can get the user name (for the view accessor) with the groovy expression

    viewObject.DBTransaction.session.userPrincipalName

    or maybe just

    DBTransaction.session.userPrincipalName

    (despite this DBTransaction involving, it returns the username web app, not the DB user name).

    It is a declarative 100% solution, if you don't count the Groovy expression as not declarative.

    If you are afraid of a user who is running the LOV (somehow) before the value of the bind variable is preparing, just make sure that the binding variable is marked "required."

  • How to disable the popup LOV (query based LOV) tabular

    Hello

    I need help. I need to make a line in a table form the read-only AND disable the Popup LOV (LOV based query). As you can see in the code below all rows with a value of "AUD" becomes read-only. Column 5 is a Popup LOV (query based LOV), and must have become read only AND disabled also. Currently, the code performs the lines = "AUD" read-only, but the user can still click on the Popup LOV this line and select a value from the list, then updates the row.

    All solutions?

    function makeRowReadOnly() {}
    {$('select[name="f06"]').each (function ()}
    var row_val = $(this) .val ();
    ROW_ID var = $(this).attr('id').substr (4);
    If (row_val is "AUD")
    {
    $("#f02_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f03_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f04_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f05_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f06_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f07_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    }
    else {}
    $("#f02_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f03_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f04_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f05_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f06_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f07_"+row_id) .attr ("readonly", false).removeClass('row_item_disabled');
    }
    });
    }

    Hi dekoke_i,

    I tried this on my local instance of APEX 4.2:

    function makeRowReadOnly() {
    $('select[name="f06"]').each(function() {
    var row_val = $(this).val();
    var row_id = $(this).attr('id').substr(4);
    if (row_val == 'AUD ')
      {
        $("#f02_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f03_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f04_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f05_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        //make the popup-lov button readonly
        $('#f05_' + row_id).closest('tr').find('td span.lov a').addClass('row_item_disabled').unbind('click');
        $("#f06_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f07_" + row_id).attr("readonly", true).addClass('row_item_disabled');
      }
    else {
      $("#f02_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f03_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f04_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f05_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      //enable the popup-lov button
      $("#f05_"+row_id).closest('tr').find('td span.lov a').removeClass('row_item_disabled').bind('click');
      $("#f06_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f07_"+row_id).attr("readonly",false).removeClass('row_item_disabled');
      }
    }
    

    I hope this helps!

    Kind regards

    Kiran

  • Enkitec LOV display problems.

    Hi all

    Using newer version of Enkitec LOV.

    https://Apex.Oracle.com/pls/Apex/f?p=4550:1

    Workspace: hanamike

    User name: test

    Password: test

    Application: Test LOV

    LOV 1.PNG

    LOV 2.PNG

    Problems encountered:

    1 Select the item (P1_EMPNO) still a Virgin after selecting the folder even if the session state has been defined using the da

    2 cannot search, example if I just type BL LOV, always search field empty and open return all records of data.

    3. also unable to see the application EK_ML_SEARCH in the State of Session preceding the point.

    Came across the thread below:

    Modal Enkitec LOV refreshment value on screen during the update programmatically

    where Dan mentioned using the:

    1. $s ('PX_ITEM_NAME' 'returnvalue' 'displayvalue',); 
    2. enkitec.modal_lov.jQuery ('#PX_ITEM_NAME') .enkitec_modal_lov ("setValuesByReturn" "returnvalue");


    but do not know how to apply the above.

    Tried $s ('P1_EMPNO', $v ('P1_EMPNO') in vain.


    The other columns column mapping works very well.


    Thanks in advance.

    Zack

    Hi Zack, looks like you want to see EMPNO designating the LOV, correct?

    According to me, which caused "trouble" is the 'Display, return, & Default sort Columns(Value Required)' field and you want to settle for other columns assignments.

    By default, the field "Display, return, & default sort columns (high-grade)" allows you to specify the column in which you want to display on the screen after selecting (in your case 1 for EMPNO) and allows you to specify which column to save on the DB (in your case also 1 for EMPNO).  So, I spent it to 1.1

    Once this is done, it is not supposed yo have EMPNO mapped the area of the 'column Element '. & Mapping (s)  This field is for OTHER items that are not your LOV point.

    I hope this makes sense now.

    I also put the DA never run.  It is not at all necessary.

    Let me know if I did not understand what you want to accomplish.

    Thank you

    -Jorge

  • BUG: APEX 4.1 Application Builder: LOV query Source

    APEX 4.1.0.00.32 on apex.oracle.com

    The following SQL code is rejected as a dynamic source query LOV in the LOV Wizard (page 4007) and shared components > list of values (page 4111):
    select lov_value lov_label, lov_value
    from
      (select 'Mens' lov_value from dual
      union all
      select 'Womens' from dual
      union all
      select 'Accessories' from dual)
    with
    >
    1 error has occurred
    < li > LOV query is not valid, a display and a return value, column names must be different. If your query contains a query online, the first CLAUSE in the SQL statement must not belong to the query online.
    >
    Don't see how it violates the rules?

    However, change in the body of a function that returns a SQL query and it is allowed on two pages:
    return q'{
    select lov_value lov_label, lov_value
    from
      (select 'Mens' lov_value from dual
      union all
      select 'Womens' from dual
      union all
      select 'Accessories' from dual)}'
    And the SQL of origin is recognized as a local of LOV definition to edit the Page item (page 4311).

    Hello

    I filed bug # 13520001 to change the checking logic of the wizard named LOV to use the same controls that we do on "Edit Item Page" (4311).

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • LOV query

    How to get query "LOV" i.e. requisition approval path, LOV name is 'APPROVAL_PATH '. How to get this LOV query?

    Kind regards

    How to get query "LOV" i.e. requisition approval path, LOV name is 'APPROVAL_PATH '. How to get this LOV query?

    You can get the query by referring to (how to determine table and the name of the column to a field in a form in 11i [259722.1 ID]).

    Or, you could activate the trace and generate the TKPROF file and this will display the exact query used by the form - FAQ: Techniques of common tracing in the Oracle Applications 11i/R12 [296559.1 ID]

    Or, open the form using the Forms Designer and get the code.

    Thank you
    Hussein

  • foreign key ALTER TABLE QUERY PROBLEM

    HAI ALL,

    ANY SUGGESTION PLEASE?

    UNDER: foreign key ALTER TABLE QUERY PROBLEM

    I want TO CREATE AND ALTER TABLE foreign key:

    1.TABLE:HAEMATOLOGY1
    COLUMN: HMTLY_PATIENT_NUM
    WITH
    TABLE: PATIENTS_MASTER1
    COLUMN: PATIENT_NUM (THIS IS THE KEY PRIMARY AND UNIQUE)

    1.TABLE:HAEMATOLOGY1
    COLUMN: HMTLY_TEST_NAME
    WITH
    TABLE: TESTS_MASTER1
    COLUMN: TEST_NAME ((C'EST LA CLÉ UNIQUE))
    ---------------


    SQL + QUERY DATA:
    -----------
    ALTER TABLE HAEMATOLOGY1
    Key constraint SYS_C002742_1 foreign (HMTLY_PATIENT_NUM)
    references PATIENTS_MASTER1 (PATIENT_NUM);

    ERROR on line 2:
    ORA-01735: invalid option of ALTER TABLE

    NOTE: THE NAME OF THE CONSTRAINTS: SYS_C002742_1 TAKEN FROM ORACLE ENTP TABLE DETAILS. MGR.
    ---------
    ALTER TABLE HAEMATOLOGY1
    Key constraint SYS_C002735_1 foreign (HMTLY_TEST_NAME)
    references TESTS_MASTER1 (TEST_NAME);

    ERROR on line 2:
    ORA-01735: invalid option of ALTER TABLE

    NOTE: THE NAME OF THE CONSTRAINTS: SYS_C002735_1 TAKEN FROM ORACLE ENTP TABLE DETAILS. MGR.

    ==============

    4 TABLES OF LABORATORY CLINIC FOR DATA ENTRY AND GET REPORT ONLY FOR THE TESTS CARRIED OUT FOR PARTICULAR

    PATIENT.

    TABLE1:PATIENTS_MASTER1
    COLUMNS: PATIENT_NUM, PATIENT_NAME,

    VALUES:
    PATIENT_NUM
    1
    2
    3
    4
    PATIENT_NAME
    BENAMER
    GIROT
    KKKK
    PPPP
    ---------------
    TABLE2:TESTS_MASTER1
    COLUMNS: TEST_NUM, TEST_NAME

    VALUES:
    TEST_NUM
    1
    2
    TEST_NAME
    HEMATOLOGY
    DIFFERENTIAL LEUKOCYTE COUNT
    -------------

    TABLE3:HAEMATOLOGY1
    COLUMNS:
    HMTLY_NUM, HMTLY_PATIENT_NUM, HMTLY_TEST_NAME, HMTLY_RBC_VALUE, HMTLY_RBC_NORMAL_VALUE

    VALUES:
    HMTLY_NUM
    1
    2
    HMTLY_PATIENT_NUM
    1
    3
    MTLY_TEST_NAME
    HEMATOLOGY
    HEMATOLOGY
    HMTLY_RBC_VALUE
    5
    4
    HMTLY_RBC_NORMAL_VALUE
    4.6 - 6.0
    4.6 - 6.0
    ------------

    TABLE4:DIFFERENTIAL_LEUCOCYTE_COUNT1
    COLUMNS: DLC_NUM, DLC_PATIENT_NUM, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE, DLC_POLYMORPHS_

    NORMAL_VALUE,

    VALUES:
    DLC_NUM
    1
    2
    DLC_PATIENT_NUM
    2
    3
    DLC_TEST_NAME
    DIFFERENTIAL LEUKOCYTE COUNT
    DIFFERENTIAL LEUKOCYTE COUNT
    DLC_POLYMORPHS_VALUE
    42
    60
    DLC_POLYMORPHS_NORMAL_VALUE
    40-65
    40-65
    -----------------


    Thank you
    RCS
    E-mail:[email protected]
    --------

    ALTER TABLE HAEMATOLOGY1
    ADD Key constraint SYS_C002742_1 foreign (HMTLY_PATIENT_NUM)
    references PATIENTS_MASTER1 (PATIENT_NUM);

  • LOV query fails, but works in SQL commands

    I am trying to create a type with semi-automatic item text field, but the query I fill in the definition of LOV returns an error:

    Impossible to analyze the query SQL LOV!

    ORA-00942: table or view does not exist

    Although when I try the same query in the form of SQL commands, it works without any problem. No idea what I am doing wrong?

    The query is as follows, where v_prt_gem_t is a view and prt_gem is a table.

    SELECT
          PG.POST_CODE||' '||PT.NAAM
    FROM
          V_PRT_GEM_T PT
          INNER JOIN
          PRT_GEM PG
          ON
          PT.NR = PG.NR
    WHERE
          LAN_NR = 4
    
    

    Julijan wrote:

    I am trying to create a type with semi-automatic item text field, but the query I fill in the definition of LOV returns an error:

    Impossible to analyze the query SQL LOV!

    ORA-00942: table or view does not exist

    Although when I try the same query in the form of SQL commands, it works without any problem. No idea what I am doing wrong?

    The query is as follows, where v_prt_gem_t is a view and prt_gem is a table.

    1. SELECT
    2. PG. POST_CODE | » '|| PT. NAAM
    3. Of
    4. PT V_PRT_GEM_T
    5. JOIN IN-HOUSE
    6. PG PRT_GEM
    7. WE
    8. PT. NR = PG. NR
    9. WHERE
    10. LAN_NR = 4

    It is likely that CERTAIN privileges on one or two tables/views used are granted for the scheme of the analysis of the application through a role, not directly to the schema. Role-based privileges will be observed in the workshop of SQL in the latest versions of database, but not for running applications. See (YABAOAE) yet another Blog about Oracle Application Express: Application Express and SQL Analysis for detailed information.

    That's why you always have to give the full APEX and the database version numbers when you ask a question: implementations and features change over time. If we know exactly which versions are used so we can determine what behavior is expected, and what bugs exist or have been corrected...

  • Creation of a where clause clause in the LOV query box

    Hi guys is any able to help me with this one

    I have a page in my application where there down LOV down now values this menu drop-down comes from a table that looks like this

    users_for _form_TBL

    E_MAIL Name of the vendor
    [email protected]Oracle
    [email protected]SAP
    [email protected]IBM
    [email protected]Oracle
    [email protected]Intergraph

    So my syntax for the LOV I mentioned looks like this

    Select PROVIDER as display_value, SELLER as return_value

    of form_user_tab where email =: APP_USER

    order by 1;


    so if [email protected] connects to the application and to make a selection on the LOV it would only show suppliers compared to his E_MAIL like oracle, sap, IBM , and then he clicks the submit button on the page then the seller that he chose is inserted into another table. What I did on the table of insertion has been to create a trigger that after inserting a seller the trigger inserts a 1 in a column called assessed.

    What I did after that is add a select statement in the where clause of the LOV so that she would check in the table insert if this seller had been chosen before and not show them again to be selected my syntax, the second time around in the SQL query box has been

    Select PROVIDER as display_value, SELLER as return_value

    to users_for _form_TBL where email =: APP_USER

    and (select "seller", "ASSESSD' of _tbl inserted is null);

    order by 1;

    But im getting an error of ideas guys. Thank you

    rhisingh wrote:

    hay man thanks for your response really using the syntax is

    Select PROVIDER as display_value, SELLER as return_value

    to users_for _form_TBL where email =: APP_USER

    and (select provider, ESTIMATED from _tbl of nserted where there is no "seller", "RATED")

    order by 1;

    im still get and error is the where the clause allowed in the second select statement

    He still has basic syntax errors. You posted 4 different "table names" whose only in the first query is valid so far. That can not see your database, I don't know what really is the name of these tables, and to what extent these is wrong helps your problem.

    I can tell that you are looking for:

    select
        u.vendor display_value
      , u.vendor return_value
    from
        users_for_form_tbl u
    where
        u.e_mail = :app_user
    and not exists (select null from inserted_tbl_imp i where u.vendor = i.vendor)
    order by
        u.vendor
    

    but the table names could be something else...

  • Change requisition lov query through controller extension

    I'm new to OFA, if someone has worked with requisition controller extension, please kindly help me. We have an obligation to take the value of FDF and add to the query in the provider name/provider Site Lov to restrict the list. I am currently expanding the controller but impossible to get the handle to ReqSupplierVO define the where the clause. Here is the code

    public class xxNonCatalogRequestCO extends NonCatalogRequestCO
    {
    public xxNonCatalogRequestCO()
    {
    }

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);

    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    OAApplicationModule lovAM = (OAApplicationModule) am.findApplicationModule ("RequisitionLovAM");
    OAViewObject vo = (OAViewObject) lovAM.findViewObject ("ReqSupplierVO");

    ViewObjectImpl vo = (ViewObjectImpl) am.findViewObject ("ReqSupplierVO");

    OAMessageLovInputBean mlib = (OAMessageLovInputBean) webBean.findIndexedChildRecursive ("XX_LL3");
    String he's = (String) mlib.getValue (pageContext);

    If (vo! = null)
    {
    vo.setWhereClause(//"Query"//);
    }

    }
    }


    Help, please!

    Hello

    To get the original Version, you must first get the right AM
    Click on the comments on this page and find you have more than one AM,.
    If so, you get the RootAM and then take the required AM and the discovery of the View object,

    See the below allows to sample code, modify the code according to your AM, the names of VO.

    Be wondered AM root
         
    public OAApplicationModule getRequestedAM (pageContext OAPageContext, String requestedAMName)
    {
    writeLog (pageContext, "required call me to check the AM" + requestedAMName);
    String amName = "";
    String objectivesAMName = requestedAMName; / / "ObjectivesAM";
    String [] nestedAMArray = pageContext.getRootApplicationModule () .getApplicationModuleNames ();
    pageContext.writeDiagnostics (this, "=> root AM" + pageContext.getRootApplicationModule () .getName () + "Child AMs =>" + nestedAMArray.length, 1);
    OAApplicationModule currentAM = null;
    currentAM = (OAApplicationModule) pageContext.getRootApplicationModule ();
    for (int i = 0; i)< nestedamarray.length;="">
    {
    amName = nestedAMArray;
    pageContext.writeDiagnostics (this, "Nested name AM =>" + amName + "and amName.indexOf (objectivesAMName)" + amName.indexOf (objectivesAMName), 1);
    currentAM = (OAApplicationModule) pageContext.getRootApplicationModule () .findApplicationModule (amName);
    Get the display names
    String [] viewNames = currentAM.getViewObjectNames ();
    for (int i = 0; i)
    {
    writeLog (pageContext, i + "value" + viewNames [i]);
    }
    If (!) (amName.indexOf (objectivesAMName)) ==-1))
    {
    pageContext.writeDiagnostics (this, "found handle for my Nested AM" + amName, 1);
    break;
    }
    }
    Return currentAM;
    }

    Get the VO of the AOS
    -----------------------
    OAViewObject objAssessmentVO = (OAViewObject) yourAM.findViewObject ("yourVO");

    Thank you

    With respect,
    Kali.
    OSSi.

  • Eurotherm EPower controller: query problem

    Hello

    I have a problem with communicating with a controller Eurotherm EPower (with 4 units) by OPC server.

    I use:

    -LV 8.5.1

    -iTools OPC Server 7.50 with a number of product formed the social reason (active license)

    -EPower Firmware v3.01

    Communication between LV and OPC server is made by "DataSocket write" and "Read DataSocket".

    I can write => values without problem I only write Main.SP on the evolution of events user and everything's fine.

    But on reading, I would like to read Meas.I Meas.P, Meas.V, continuous for each unit (up to 12 url request)

    The first reading is ok, so I have values, the url are ok. But after that, it is impossible to put in a loop-online no error, (status = 0 on LV and OPC Server) but the values are not updated with the following query.

    I tried to play with the option "wait for updated value", but without success.

    The only way I've found is to open the interface for server, the device, right click and select "Synchronize Active device". But this option is only a shot and very long because, I guess, he gets everything in the device...

    Another point: it works perfectly with the Engineering Studio, commonly called iTools-iTools. It is a client of the OPC server on my application.

    Another point on the other: when I run my application is the ID_EPower.exe in the list of Windows processes and consume resources (0 or 1%) so he lives.

    Complete, with one hour, I thank them but not way with Eurotherm hotline.

    My question is: Y at - it a particular way to obtain ongoing measures such as sending a query each time or a general property to get updated data?

    I used to cruise control disc from the same manufacturer with no problem and no need to send a request to get the values, but here it is perhaps a different case.

    List of requested URL:

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.1.MEAs.V

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.1.MEAs.I

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.1.MEAs.P

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.2.MEAs.V

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.2.MEAs.I

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.2.MEAs.P

    ... Ditto for network 3 and 4

    I joined the part of the code that is dedicated for the reading of values, but it is not really helpful because I think that my method of reading is correct (data arrive but are never updated) is a 'lack' of command to request that the server acquires new data or a bug with the LV-iTools OPC server interface...

    For LabViewers advanced, I know that my attached code is not optimized and not the smartest, but keep cool, I do not need crazy performance

    Any suggestion?

    So, I was not on the spot for the tests, but now it's ok.

    Several series shares have been made to the walkthrough to the problem, but it's hard to know if all were beneficial:

    -An update of software Eurotherm: 7.50 to 7.68

    -An update of the firmware EPower: 3.01 to 3.03

    - and probably the main cause of the problem: change the cable through a cross-wired (we thought it was, but not in reality...). But even if it is the main cause: how it was possible to receive data by forcing the update in the OPC server... strange.

    Thanks for your help.

  • in LOV query to get the Responsibility_id using profile... but when I switch to another responsibility always the LOV shows the previous values of RESP.

    Hello

    I have the choice of Message box, in which I'll show the inventory list organizations are assigned to responsibility. I just the following query in the query of LOV...

    Select hou.NAME separate organization_name, mp.organization_id

    of mtl_parameters mp

    , hr_organization_units hou

    oa org_access

    where mp.organization_id = hou .organization_id

    and hou.organization_id = oa.organization_id

    and oa.responsibility_id = fnd_profile.value ('RESP_ID')

    organization_id asc order

    But first let's say after the OA Core bounce if I open a responsibility which is to have access to 5 associations of the inventory, and then in the message of choice is showing correctly... But when I go to another responsibility that is to have access to a single inventory, always the choice of Message body shows the previous inventory 5 Orgs who is to have access to the prior responsibility.

    Pointers on this?

    Thank you
    Clarriiza

    Use choiceBean.setPickListCacheEnabled (false) to PR.

    See you soon

    AJ

  • Implementation OFA LOV

    Hello

    My page to update the FPÖ has 2 columns responsibility (RESP) name, key RESP.

    I joined a RespNameLOV LOV to the field name RESP and not created mappings for a name and key RESP RESP, no lov attached to the RESP key field.

    So when I select a value in the name of RESP using LOV, key RESP must get filled automatically.

    This does not work very well.

    When I click the button of the field name of the RESP and research responsibilities LOV that no values are returned, however when I erase the name of RESP and RESP key fields on the update page and click the LOV and appropriate research results are returned.

    What is - that I missing here or is it how works the LOV in the OPS?

    Please see attached for the components of the page file.

    Query RespNameLO VO:

    Select responsibility_name, fnd_responsibility fr, fnd_responsibility_tl frt responsibility_key

    where fr.responsibility_id = frt.responsibility_id

    and frt.language = 'en '.

    and fr.end_date is null

    Thank you

    If there is a value in the field that will be used as a criterion for the LOV. (which means that will add a dynamic whereclause based on the value.)

    In your case, you don't need to have this criteria for the RespKeyMap object. Try removing the CriteriaItem of the KepMap and see if it makes a difference.

    See you soon

    AJ

Maybe you are looking for

  • I would like to request my password when I first open Thunderbird.

    My hard drive crashed and I lost my address book and archives, etc. When I reinstalled Thunderbird on a new hard drive, I entered my password. Now when I open Thunderbird, he doesn't want my password as it did on my old hard drive. I just want to cha

  • 2009-2012 mac Pro

    Hi all I'm ready to buy a Mac Pro opportunity and after reading some and asking around it seems that the core Westmere 5.1 2012 6 is a very good model. However, I saw a 2009 model which has been upgraded to be a 5.1. Is there a difference between a t

  • SP 4270 40 GB hd upgrade

    Hello!My friend has this 4200series-celeron 500 model (made in Germany, but we cannot call them coz our German sux a bit ;))He would like to change hard disk of 40 GB 9.5 mm hd-someone ' one knows if it will work, I mean if the bios will recognize co

  • Satellite A100-204: I'm looking for a new battery

    I'm looking for a new battery for my laptop, but I have no idea where to find... And yes I already searched on google and most of the time that it brings me to canada, but I don't know battery that fits mine. I ordered once, but it didn't fit. They s

  • Scroll to the tab control

    Hi all The attached vi lets scroll me sequentially several pages with the mouse down anywhere on the pane. When the scrollbar reaches the last page, I would like the process to start over from the first page. In other words, continue the program... e