How to validate a shuttle item in oracle apex

Hello,
I am having a shuttle item in the page . I want to validate the shuttle . am using oracle apex 3.2.1 on oracle 11g.
I want to raise an alert if the user not selected value from shuttle else display the selected value in alert .
please help me in resolving this issue.
thanks
Edited by: kumar73 on Apr 17, 2010 2:15 PM

Hi,
This might help
http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/bldr_pgs.htm#sthref565
Create item level validation Item Not Null
Br,Jari

Similar Messages

  • How to validate the line item values in OFR - quantity , unit price and UOM

    Hi All,
    Is there any possibility to validate the line items like quantity, unit price and UOM against the DB and stops those invoices at verifier (1 batch =10 invoices) level  if yes could you please let me know the process how to proceed further.
    due to this some the invoices are coming to OFR is with incorrect quantity, UOM and unit price different from PO lines information like quantity , UOM and unit price and those invoices are not validating from the DB and these are processed to EBS and it's effecting the GL and reporting.
    Regards,
    Anil

    Hi ,
    I did not get the exact requirement.Let me bit:
    In standard AP project lines validation will try to compare the quantity , unit price and UOM of line against the database for match which actually performed on export.
    So even if match fails batch will be exported.Now if you want to correct it before EBS,i think you can do it in the business process easily that you are consuming whether BPEL/BPM process.
    We have done this in several projects
    =========================
    But If you want that to be done from OFR side i think we need to code  UserExitPONumberValidate event to  compare the line items values against database.I need to test this also.

  • How to validate inserted xml data in oracle is correct or not

    (i.e.how to validate xml syntax and tags are correct)
    XML data has been inserted in Oracle database.Once inserted
    I want to validate that data entered and tags inserted are correct
    or not.
    Pl help

    Some small remarks after a life time of write that small notepad.
    Don't use XMLIsValid() - Apperently it was once ment for use in table constraints only AND the most annoying part, it doesn't give you a proper error message.
    More usable is schemaValidate() - it throws a useful error message... I never came around to update that post or write a proper one while using schemaValidate().
    I would be against advising / using a Java wrapper to achieve this goal unless you are on a pre 9.2 database version. Registering, validation and such is optimized (in memory) in Oracle from the beginning in 9.2.0.3 and onwards to avoid for instance reparsing of the XML Schema itself. If a XML Schema is registered a lot is optimized including DOM, which will be avoided and "outsmarted" by using XOB objects (see the Oracle manuals only a few hits and those will point you directly to the optimizations at hand).

  • Shuttle Item problem in Apex 3.1.2

    Hi
    I created application based on shuttle items in apex earlier version.
    The same is not working fine in Apex 3.1.2 version.
    I'm not doing any process on shuttle items.
    Just created a shuttle item contains a list of values.
    whenever i refresh the page,(or say when i press Cancel button to go back to previous page)
    shuttle item selects all the values in the list, (i.e values in shuttle items are rolling).
    I somehow tried to replicate the same application in demo environment :
    http://apex.oracle.com/pls/otn/f?p=12822:4
    workspace: vsanthanam
    userid: vijay
    password: apex_demo
    If you see above application, whenever we press button submit. it selects all the values in
    Shuttle (actually rolling in my developement instance and not processing further).
    Is there anything that we have to take care while using shuttle in newer version?
    Thanks
    Vijay
    Edited by: Vijay Santhanam on Jan 26, 2009 9:39 PM

    Hi Arie
    Thanks for your valuable inputs.
    While analyzing the issue on two versions: 3.1.2 & 3.0.x ,I noticed few things:
    1) Limitation of 2000 values
    Had raised SR with Oracle, They have treated this as bug some time back and have temporary resolution as per BUG ID 7326899.
    This got temporarily resolved by setting higher value for PlsqlMaxParameters.
    As per my understanding: Shuttles never used to refer to this variable value In earlier version. We are on earlier version on one of the instance, where the value for this parameter is still 2000, and despite having more number of values in shuttles on page it never throws error. That shows its a change in new version and behavior is not same.
    2) Looping/ Going through all values in left box and then right box of shuttle when page submits.
    I am pretty sure at-least about the visual part that it never happened in earlier version what I see on my application on earlier version. But I am not sure about the page rendering / functionality part as this would need regression testing.
    So this is second change in shuttle behavior.
    Since Business users need all values to be present in the shuttle even after submit for resubmission i.e. again creating the records, so I have not put yet the java script suggested by you to put restriction on length so that it doesn’t loops through values.
    I went though the thread where Carl and You have discussed the issue:
    Shuttle Item in 3.1
    Thanks again Arie!
    I am also following with Oracle to get some solution other than following you :-)
    Regards
    Ravijeet

  • How does the new shuttle control work in Apex 3.1?

    Hi,
    I have tried creating a shuttle type control in Apex 3.1. I have based it on a list of Items from my Items table. I can move Items from the left side to the right, and from there I can move them up & down, but whatever I do only seems to affect the page display and has no effect on my tables.
    Can anyone explain how this control works and what it's meant to do? Could I, for example, use it to copy records from one table to another?
    Many thanks,
    Keith.

    Keith,
    The Shuttle is a type of multi-select. It produces a comma delimited string of your selected values. It is useful in wizards, where you need to select multiple items from a single list (like selecting columns from a table). You can also use it against a 'real' table if you have not normalized. Let's say you have a table that stores meetings and one column lists the people invited. You could use a shuttle to select invitees (using an lov from your people table).
    -- Sharon

  • Shuttle Item Properties in Apex 3.0

    Hi,
    Hoping someone can assist with the new Shuttle item in Apex 3.0.
    Basically, can someone please let me know how I can perform the following:
    a) change the width of the shuttle as when I make a change to the width property, it doesn't seem to make any difference?
    b) Am I still able to place headings on each of the shuttle cells like I could when using Carl's example?
    c) Based on Carl's original Shuttle implementation, is there any undocumented information relating to the new Shuttle item?
    Thanks.
    Tony.

    Hi Tony,
    <p>
    a) under Elements>HTML Form Element Attributes, use style="width:200px" to set the width for the item<p>
    b) I have not found a way to do that, although others may have<p>
    c) Check out the Apex 3.0 documentation for the shuttle item--you basically treat it like a multi-select list, with the source of the item returning a colon-delimited string of values.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to call a javascript function from oracle apex 3.2.1 (oracle 11g)

    Hello ,
    I want to use javascript for client side validations in oracle apex 3.2.1 and i am using oracle 11g.
    how to call a function for a submit button where i will validate the existance of data for a control and submit the page once validated.
    where to place the call to a fucction and where the function need to be written.
    please give me a sample code...
    i am new to oracle apex.
    thanks/

    Hi,
    This might help
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e13363/javascript.htm#CIHEBFFC
    Br,Jari

  • Disable form item in oracle apex 3.2

    Hi,
    I am new to oracle apex, please help me from this problem.
    I'm having form item called "P805_COMP_ID" as text field , i need disable it always, for the same i fallowed some steps with the refrence of the link https://forums.oracle.com/forums/thread.jspa?threadID=2309731
    Step 1 i have written the jquery
    *<script type="text/javascript">*
    *$(document).ready(function(){*
    hideAdvsearch();
    function DisableItems()
    *$x_disableItem('P805_COMP_ID',true);*
    *</script>*
    Step2 : and i'm calling same function in HTML Form Element Attributes
    onload="DisableItems();"
    but it is not working, please help me,
    Thanks and regards,
    Ibrahim Sayyed.

    Hi Hari,
    I am sory to late respond ,
    The above scenario is working fine , after calling same function in header and footer atribute.
    but it is not working properly if i put condition.
    as per below mentioned code if item value 'P802_INT_COMP_ID' is null then it should disable else it should enable.
    <script language="JavaScript" type="text/javascript">
    $(document).ready(function(){
    hideAdvsearch();
    DisableItems();
    Function DisableItems()
    if ($v('P802_INT_COMP_ID').val== null)
    $x('P802_TEMP_LOG').disabled = true;
    </script>
    Thanks and regards,
    Ibrahim Sayyed.

  • How to export to excel sheet from Oracle APEX 4.0?

    Hello,
         I'm relatively new to Oracle APEX. I'm in need of a solution to address the above question. I want to export a report's contents to an excel sheet from Oracle APEX(Priority).
    The export should be customizable to add entries into the excel sheet as I need(Secondary). Can anybody help?

    Checkout this link:
    http://technology.amis.nl/2011/02/19/create-an-excel-file-with-plsql/
    Thank you,
    Tony Miller
    Ruckersville, VA

  • How to validate a text item/display item in Oracle forms 9i?

    Hello Everyone,
    I have a form in which we have to type in a product_id as shown below in the screenshot. And when we type in, it has to get validated.
    If it is valid then ok, else display a message saying not valid.
    How do we achieve it on a text box/diaply item in the form shown below.
    Any kind of help would be really appreciated.
    Thanks in advance,
    Vishal

    Just create a when-validate-item trigger for that text item and write the code inside to validate it.
    Hope it helps.
    Navnit

  • How to validate a date item  "DD/MM/YYYY HH24:MI" ?

    Hi,
    I want to create a validation item. I have a date item usinhg this mask : "DD/MM/YYYY HH24:MI".
    I want to validate if a date entered according to this syntax "DD/MM/YYYY HH24:MI"
    Unfortunately APEX gives me only the choice to validate if a date is under the form "DD/MM/YYYY" which gives this syntax :
    ^([012]?[[:digit:]]|3[01])/(0?[[:digit:]]|1[012])/[[:digit:]]{4}$I don't know this syntax, do you know how I could transform it (I mean adding the hours and minutes criteria) to attain my goal ?
    Sorry for my english, not perfect, today !
    Regards,
    Christian

    Try this:
    SELECT REGEXP_INSTR('04-OCT-2011 23:12',
    '^([012]?[[:digit:]]|3[01])-(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)-[[:digit:]]{4}[[:space:]][0-2][0-9]:[0-9][0-6]$') test_result
    FROM dualFor case-insenstive matching, use below:
    SELECT REGEXP_INSTR('04-OCT-2011 23:12',
    '^([012]?[[:digit:]]|3[01])-(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)-[[:digit:]]{4}[[:space:]][0-2][0-9]:[0-9][0-6]$',1,1,0,'i') test_result
    FROM dualThanks!
    JMcG

  • How to validate the input parameters in Oracle BI Publisher reports

    Hi
    i am new to Oracle BI Publisher
    I am using OBI for generating simple reports.
    here i need validation for input parameters (Date Parameter) and also want to disable the Date filed so that user can select through the calendar component.
    Here validation in the sense, the system must validate the date and alert the user with an appropriate message
    Can anyone please provide me the solution in detail.
    Thanks in advance
    Edited by: user10185520 on Aug 26, 2008 6:15 AM

    I have the same task to validate input parameters with Oracle BI Publisher 5.6.3 running under Oracle eBS 10.5.10.2. My validation goes beyond of what I can do during parameter registration. I am using Data Templates.
    My first logical place was the before report trigger. So, I built a report trigger which returns 'false' in case the parameters are not proper. Guess what... XMLP just returns a hard-coded message
    !!Error : trigger '" + datatrigger.getName() + "' returns status as 'false'
    First of all, this is a bad style to hardcode messages visible by the user (especially during French implementation). Second of all, it is not informative at all. It would be nice to change oracle.apps.xdo.dataengine.XMLPGEN.executeTrigger() to read, for example, a message from the message stack when the trigger returns 'false' and let the user read it.
    Anyway, what I did was I built a special data group, decalred before any other data group, query like
    select my_package.my_validation fro dual
    If parameters fail the validation my PL/SQL package throws an application exception with a message. At least, in this case the error message gets available as the description of the concurrent request.
    I wish the before report trigger worked!!!

  • How to validate prerequisite for ODP and Oracle Client connection

    Hi.
    I have a very simple application on .Net that connect to Oracle using ODP (was compiled with Oracle.DataAccess dll 10.2).
    I want to check "connection prerequisite" (application will be able to connect to DB) before installing this aplication on other computers?
    How can I check that ODP.NET version 10.2 or higher is installed on target host (registry check is not enopugh)?
    I know that I can check ODP entries in registry - but this will not check Oracle Client and compatibility between client and ODP.
    Also, if ODP was installed by ODAC XCopy installation - registry may be not updated by new ODP entry.
    And - if I am installing on the computer, DB was installed on, Oracle Client can be not installed separately.
    And one more issue: When I tried to run "test connection" method from installation, that use referenced dll on machine, that has only ODAC (with ODP) 11, - "Oracle.DataAccess.Client.OracleException The provider is not compatible with the version of Oracle client at Oracle.DataAccess.Client.OracleInit.Initialize()
    at Oracle.DataAccess.Client.OracleConnection..cctor()" error message was thrown (policies for both ODAC 10.2 and 11 are exists in GAC (assembly), pointing to Oracle.DataAccess 11 from ODP 2x bin).
    So, How and which components can I check to ensure appropriate versions of ODP and Oracle Client were installed and application will be connected?
    Thank you in advance!

    Hi,
    You could check for the presense of Oracle.DataAccess.dll in the GAC. Bear in mind you'd also want to check the version and whether a policy files exists as well as a newer version + policy file will work too (but not without the policy file).
    That wouldn't confirm the install is valid and works though, and I don't know of a way you could easily check that, apart from perhaps simply trying to run a small exe that attempts a connection to the database.
    With respect to the type initializer exception, that occurs when ODP cant find the right oraops*.dll or oci.dll, usually due to the wrong one being found, but can also occur if one is not found at all. Quite often this is due to the application including ODP in its bin directory rather than letting ODP get picked up out of the gac. Prior to 10.2.0.2.20, ODP loads the dependencies based in PATH so multiple homes can cause it as well. 10.2.0.2.20 and higher ODP loads dll's based on DLLPATH registry entry.
    Hope it helps,
    Greg

  • How to implement User Area Item in Oracle 6i

    Hi,
    Could anyone please let me know how to implement Item Type "User Area" ?
    How to add User Area in layout Editor?,
    Thanks and Regards,
    Manasa

    Hi,
    Please post your question in the appropriate forum.
    Forms
    Forms
    Thanks,
    Hussein

  • How to validate htmldb_item form item

    I have a multiple row form item using htmldb_item.text ( so that a user can enter a quantity for that row item ).
    How is validation best handled to ensure that a value is entered for that row?
    note: there is also a htmldb_item.checkbox on the row that the user checks to flag that an operation should be done.
    Thanks as usual
    Bill

    for what this is worth:
    as scott said, only checked values are passed through from htmldb_item.checkbox'es over to the htmldb_application.g_fNN arrays. that's just how conventional web checkboxes work. if you want to keep your checkboxes in your form, just do their processing in a separate loop. if you're having a hard time keeping the values of your checkbox array matched up with the other htmldb_item values from their corresponding rows, just make sure your checkboxes return values you can use to identify your checked rows. so if you were going against the emp table, i'd suggest having your checked values return EMPNO's...
    select htmldb_item.checkbox(1,empno) c from emp
    ...that way you could more easily match those empno's up with your other htmldb_application.g_fNN values during your page processing.
    hope this helps,
    raj

Maybe you are looking for