Date LOV

Hi,
LOV based on the Two Dates(two Item holding dates, Item1-date1,Item2-Date2)
Where I have an LOV where it should populate based on difference of two dates all Moths With year as Display and Month No as Return value.
For ex date 1-1-APR-2010 date 2-jun-2010
D R
LOV: apr/2010 4
may/2010 5
jun/2010 6
Thanks and Regards
N K
Edited by: N.K on 08-Apr-2010 03:58

That is similar to this whereby you have two select lists to choose from prior to generating a third list:
http://apex.oracle.com/pls/otn/f?p=31517:119
http://apex.oracle.com/pls/otn/f?p=31517:176
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
-------------------------------------------------------------------

Similar Messages

  • Date lov in the concurrent program parameter field

    Hi,
    I have a date parameter in the concurrent program. I need to have a date calendar for the parameter, can I have the data calendar? I am not sure if we can do that.
    Can anybody throw some light on this.
    Thanks a million
    Regards
    Ruma

    Hi swati
    u cannt create a multi select LOV for Apps concurrent program.
    Some of the options:
    -> Create different parameters. Also u cannt create parameters dynamically depending upon the number of options u want to give for that parameter, better fix the maximum no. of options say 5 .. ORG1, ORG2, ORG3, ORG4, ORG5
    -> If multi select LOV are of high priority, go for Discoverer if it is a Report.
    cheers
    chakoo

  • Date LOVs prior to 1970

    It appears that date values prior to 1970 are not supported in prompt LOVs.
    To test this, I created a universe (unv) with a object having a date value of 5/1/1970 through 5/1/2020.  I then created a report with a prompt on this object.  When I attempt to refresh the report in REST, I get the following response:
    <lov searchable="true" refreshable="true" partial="false" hierarchical="false">
    <id>UNIVERSELOV_DS0.DO4</id>
    <updated>2014-12-29T09:47:38.000-05:00</updated>
    <intervals>
    <interval id="0">
    <value/>
    <value/>
    </interval>
    <interval id="1">
    <value/>
    <value>2001-04-30T20:00:00.000-04:00</value>
    </interval>
    <interval id="2">
    <value>2002-04-30T20:00:00.000-04:00</value>
    <value>2020-04-30T20:00:00.000-04:00</value>
    </interval>
    </intervals>
    <values>
    <value/>
    <value/>
    <value/>
    <value/>
    All of the "<value/>" rows represent a date prior to 1970.  Note that this is occurring in interval ranges as well as values.  When I request all the values in a single interval, the problem becomes more apparent:
    <parameters>
        <parameter dpId="DP0" type="prompt" optional="false">
            <id>0</id>
            <technicalName>Enter value(s) for THEDATE</technicalName>
            <name>Enter value(s) for THEDATE</name>
            <answer type="DateTime" constrained="false">
                <info cardinality="Multiple">
                    <lov searchable="true" refreshable="true" partial="false" hierarchical="false">
                        <id>UNIVERSELOV_DS0.DO4</id>
                        <updated>2014-12-29T09:48:20.000-05:00</updated>
                        <values>
                            <value/>
                            <value/>
                            <value/>
                           (multiple identical rows removed)
                            <value/>
                            <value/>
                            <value/>
                            <value/>
                            <value/>
                            <value>1970-04-30T20:00:00.000-04:00</value>
                            <value>1971-04-30T20:00:00.000-04:00</value>
                            <value>1972-04-30T20:00:00.000-04:00</value>
                            <value>1973-04-30T20:00:00.000-04:00</value>
                            <value>1974-04-30T20:00:00.000-04:00</value>
                            <value>1975-04-30T20:00:00.000-04:00</value>
                            (years 1976-2015 removed)
                            <value>2016-04-30T20:00:00.000-04:00</value>
                            <value>2017-04-30T20:00:00.000-04:00</value>
                            <value>2018-04-30T20:00:00.000-04:00</value>
                            <value>2019-04-30T20:00:00.000-04:00</value>
                            <value>2020-04-30T20:00:00.000-04:00</value>
                        </values>
                        <columns mappingId="0">
                            <column type="DateTime" id="0">THEDATE </column>
                        </columns>
                    </lov>
                </info>
            </answer>
        </parameter>
    </parameters>
    Is this a bug, or intentional behavior?

    hi Joe and Anthony,
    ... and happy new year!
    Looking at the code, there is a bug on our (aka Raylight) side, for sure, oops!
    (Just to know: does it work well with BI LaunchPad?)
    Thanks,
    eric

  • Different Format date LOV after migrated report

    Hi,
    I have migrated report from BO 6.1.3 to BO XI 3.1 SP3.
    Report has migrated but i have one issue like:
    The date format is different for lov of Report in 6.1.3 and XI 3.1 SP3, even when I recreate the prompt
    Old Report 6.1.3 before migration                               'dd/mm/yyyy'
    Old Report 6.1.3 after migration on XI 3.1 SP3            'mm/dd/yyyy'
    New Report XI 3.1 SP3                                                'dd/mm/yyyy'
    and when I run the query the data is incorrect.
    Please let me know how we can resolve this issue....
    Thanks

    Diego,
    Try converting the report from Deski to Webi and see how the prompts work out.
    Longer term this is a better option anyway with Deski going in version 4.
    Regards,
    Mark

  • How to implement non linear navigation Date LOV

    Hi,
    I have a requirement like I need to show non linear combo LOV in my UI which allows the user to navigate to next or previous item in the list.
    Any help on this or do we have any inbuilt design pattern for this component.
    I am using Jdev 11.1.1.7.0.
    Many thanks in advance.
    Regards,
    Dileep.

    Hi Frank,
    Thank you so much for your reply. Sorry, I am not able to attach that component image here.
    Actually it looks like normal combo box LOV, additionally it has two navigation icons both the sides (both left and right hand side) of combo box and allow the user to navigate to previous or next item in the list of values available in the combo box.
    I am not sure whether it is fusion specific custom component or adf component. Any help on this?
    Many thanks in advance.
    Regards,
    Dileep.

  • Use return date value in stored procedure

    hi
    i am new in oracle , i make stored procedure to fetch data in the form and i make calendar , i want user when they select a date from date LOV the stored procedure use this date in the query.. i try like this in the query:
    when time=:blok.date_item;
    but i get IN OUT error in the procedure.
    any help will be appreciated.

    ok this is the package header:
    create or replace package get_outvalue_test is
    type rec is record (time archive.time%type,
    value archive%type);
    type value_tab is table of rec index by binary_integer;
    procedure get_value(p_returnvalue IN OUT value_tab);
    end;
    package body :
    create or replace package body get_outvalue_test is
    procedure get_value(p_returnvalue IN OUT value_tab)
    is
    ii number;
    cursor valselect is
    select time,value from archive where u_id=5666
    and time=:block.date_item ; -- this is the return date from LOV
    begin
    open valselect;
    ii:=1
    loop
    fetch valselect into
    p_returnvalue(ii).time;
    p_returnvalue(ii).value;
    exite when valselect %notfound;
    ii:=ii+1;
    end loop;
    end;
    end;
    this is the error when i compile the package body :
    MIssing IN or OUT parameter at index
    i hope itis cleare and easy .

  • Multi-Org Parent-Child LOV

    Issue Description:
    in Action BC (Table: S_EVT_ACT) we are trying to implement the following organization based parent child picklists/LOVs for Status->Status Reason
    [Status] - Activity Status field (col: EVT_STAT_CD)
    *Picklist: LOV Type = 'EVENT_STATUS', picklist BC: 'List Of Values Dynamic (REL)'
    [LN Status Reason] - customised field/column (Col: X_STATUS_REASON)
    *Picklist: LOV Type = 'LN_MISSED_ACTIVITY_REASON', picklist BC: 'PickList Hierarchical'
    *Pick Map: [LN Status Reason] = [Value], [Status] = [Parent] (Constraint = Y)
    in the Admin-Data LOVs:
    Type = EVENT_STATUS, Display Value/LIC = "Not Achieved", Organization = "Org 1"
    Type = LN_MISSED_ACTIVITY_REASON
    Display Value/LIC = "Reason 1", Parent LIC = "Not Achieved", Organization = "Org 1"
    Display Value/LIC = "Reason 2", Parent LIC = "Not Achieved", Organization = "Org 1"                                                                                          
    On UI, create new record in Account - Activities, selecting Status = "Not Achieved".
    Now when i try to select the Status Reason value, the drop down does not give me any value.
    If I set the Organization to blank on "Reason 1", then the "Reason 1" value shows up in the Status Reason drop down under Account - Activities.
    In SQL of the log file, for the Status Reason drop down, it always hard code a T1.BU_ID is null in the WHERE clause, this would explain why its blank in the dropdown
    Also as a test, If i remove all the pick map constraints for the [LN Status Reason] field (ie the only record in the pick map is [LN Status Reason] = [Value]), then the drop down works correctly (ie displaying both the values with Organization = "Org 1"), and in the SQL of the log file, instead of BU_ID is null, it has BU_ID = ? with variable binding.
    Is there a reason why it would hard code the BU_ID is null in the WHERE clause in the SQL, and how to overcome this to achieve my requirement.
    Just a further update due to character limit of the original description,
    The "Owner Organization Specifier" property on the table S_EVT_ACT is blank (not sure if its related to anything though)
    The user i'm using belongs to "Org 1" for both the employee's Organization and its Position's Organization
    Thanks

    This is exactly what I'm looking for...I just can't make it work. I have 2 tables (database and schema). They are related via a database_id column. My code is below if you are willing to help.
    HTML Header
    <script>
    function get_select_list_xml1(pThis,pSelect){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=CASCADING_SCHEMA',0);
    get.add('P7_DATABASE',pThis.value);
    gReturn = get.get('XML');
    if(gReturn && l_Select){
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for(var i=0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue)
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>
    Application Process
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<select>');
    HTP.prn ('<option value="' || 0 || '">' || '- All Schemas -'
    || '</option>'
    FOR c IN (SELECT schema, schema_id
    FROM (SELECT schema, schema_id, database_id
    FROM schema_lookup
    WHERE database_id = :cascading_selectlist_item_1)
    LOOP
    HTP.prn ('<option value="' || c.schema_id || '">' || c.schema || '</option>');
    END LOOP;
    HTP.prn ('</select>');
    END;
    P7_DATABASE_ID Form Element Attribute
    onchange="get_select_list_xml1(this,'P7_SCHEMA_ID');
    P7_SCHEMA_ID LOV
    select SCHEMA d, SCHEMA_ID v from SCHEMA_LOOKUP
    where DATABASE_ID = :P7_DATABASE_ID
    order by 1

  • 500 Internal Server Error - When calling LOV's

    I receiving the following error when calling a LOV.
    Both date LOV's and LOV's based on a foreign key fail.
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:D:\Oracle\oc4j\j2ee\home\application-deployments\ois\web\persistence\_pages\_jheadstart\_lovFrame.java
    error: Invalid class file format in C:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    D:\Oracle\oc4j\j2ee\home\application-deployments\ois\web\persistence\_pages\_jheadstart\_lovFrame.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _jheadstart;
    ^
    2 errors

    Marcel,
    JDeveloper will not run out of the box with JDK 1.4. There is a help topic 'Configuring Support for JDK 1.4.0.01 in JDeveloper' that gives you some information.
    But you also need to verify the compatability of all the frameworks you use with JKD 1.4, including BC4J, MVC and UIX. E.g. the classes12.jar we normally use for a JHeadstart application only works with JKD 1.2/1.3.
    Having found out which versions of the frameworks you need, the next step is to validate whether the JHeadstart runtime classes will work with these versions. We have no experience ourself in this respect.
    If it is an option for you, you might consider to downgrade to JKD 1.3.
    Jan Kettenis

  • Creating LOVs with "Desktop Integration Manager" in EBS 12.1.x

    After some struggling getting the "Desktop Integration Manager" to work (due to some obscure hard-coded security checks) I was able to create an Upload Integrator. The next step is now to add some LOVs on the upload spreadsheet.
    I managed to create a Gender Popup LOV using a table (e.g. FND_LOOKUP_VALUES). Here is how to do that:
    Desktop Integration Manager => Manage Components
    Navigate to your attribute (your interface column) and click Update. Enter the following:
    Val Type      = Table
    Id          = LOOKUP_CODE
    Meaning     = MEANING
    Desc          = DESCRIPTION
    Val. Entity     = FND_LOOKUP_VALUES
    Where clause     = lookup_type = 'IGW_SUBJECT_TYPE' and enabled_flag = 'Y' and meaning <> 'Unknown or not reported' and sysdate between start_date_active and nvl(end_date_active, hr_general.end_of_time)
    Lov Type      = Pop List
    Type your custom Header in the ‘Prompt above’ field if required.
    So far so good. However, I am not able to create a simple date picker or a Java validation. Somehow you need to create (or choose) a ‘Component’ with the ‘Manage Components’ function. But exactly how do you set the Component & Attribute up to make this work? For the date picker I chose:
    Validation Type = Java
    Component Name = Date Picker for From Date
    LOV Type = Blank
    I get a Popup Date Picker in my sheet now, however when I select a date is does not return it to the spreadsheet.
    Can someone provide some screenshots how to create a date picker and/or a Java validation using seeded or custom Components?
    I have read the documentation in the Desktop Integration Framework Developer's Guide Release 12.1 (December 2009) but that didn’t get me much further as there are no examples at all.
    Thx
    Jeroen

    Hi, with 'hard coded security check' I meant that some parts of the "Desktop Integration Manager" only work if you have responsibility "Application Developer" attached to your User.
    You can change a 'seeded' integrator with:
    update BNE_INTEGRATORS_B
    set
    created_by = <your user id>
    ,last_updated_by = <your user id>
    ,display_flag = 'Y'
    ,source = 'C'
    where integrator_code = <your code>
    ;

  • Time in Calendar LOV.

    Hi,
    we are working on forms 10g, ebs12.1.3. Developed one custom form , put date lov for one filed. it is showing calender normally.
    My requirement is need to select time ( ex. 11:30:00 A.M).
    Please help me to show time in calendar LOV.
    Thanks
    Venu.

    we are working on forms 10g, ebs12.1.3. Developed one custom form , put date lov for one filed. it is showing calender normally.
    My requirement is need to select time ( ex. 11:30:00 A.M).
    Please help me to show time in calendar LOV.Please see old threads -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Calendar+AND+LOV&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Start Date,End Date prompt issue

    Hi
    I have a problem for prompts related to start Date and End Date selection i.e
    Start Date                   End Date
    01-Jan-2007                 31-Jan-2007
    01-Jul-2008                  31-Jul-2008
    The issue is if the user select the Start Date from a list of values(prompt) the End Date LOV's should appear only from its related Start Date i.e
    If Start Date is selected as 01-Apr-2007 then End Date LOV's should start only from 30-Apr-2007
    and the End Date LOV's should be seen only for the next 12 months i.e only till 31-Mar-2008
    Please suggest me how I can resolve this prompt issue

    hi there,,
    you can not do that at the prompt form
    coz every prompt is independent from the other.
    good luck
    Amr

  • Issue in Date Range Prompts

    Hi,
    We have two fields in our Bex Query u2013 First Date of Current Month and Current Date. The fields are populated using the logic below
    First Date of Current Month u2013
    Current Date - This is populated using the Customer Exit function in BW Query.
    We have created  three  universe level prompts based on the above queries
    First Prompt:
    <FILTER KEY= "@Select(Debit Memo Date\Debit Memo Date LOV)">
    <CONDITION OPERATORCONDITION= "Between">    
    <CONSTANT CAPTION= "@Prompt('Enter\Select DM Start Date: ','D','First day of Current Month\First day of Current Month',mono,free)"/>
    <CONSTANT CAPTION= "Select(Date2\Today)"/>
    </CONDITION></FILTER>
    Second Prompt:
    <FILTER KEY= "@Select(Debit Memo Date\Debit Memo Date LOV)">
    <CONDITION OPERATORCONDITION= "Between">    
    <CONSTANT CAPTION= "@Select(First day of Current Month\First day of Current Month)"/>
    <CONSTANT CAPTION= "@Prompt('Enter\Select DM End Date: ','D','Date2\Today',mono,free)"/>
    </CONDITION></FILTER>
    Third Prompt:
    <FILTER KEY= "@Select(Debit Memo Date\Debit Memo Date LOV)"><CONDITION OPERATORCONDITION= "Between">     <CONSTANT CAPTION= "@Select(First day of Current Month\First day of Current Month)"/>
    <CONSTANT CAPTION= "@Select(Date2\Today)"/>
    </CONDITION></FILTER>
    The First prompt is running fine and giving records from the Start date entered by user to Current date, but we are not getting any records when we use second and third prompt. 
    Thanks,
    Pankaj G

    It's interesting using the same format mask for the application format mask fixed your issue, you mean to say after using the format mask in application you are able to enter time between 00:00 am and 00:59 am. I had filed a bug on this and will be working on this issue. Thanks for reporting this issue.

  • Scheduling WebI reports for Dynamic Date Ranges

    Hello Everyone,
    Our Env is BOBJ XI 3.1 SP2 FP2.5 integrated with SAP NW  BW 7.02 EPH1
    We are trying to schedule few WebI reports which can be used on ad-hoc basis as well. Some reports need to get data from starting of the month to today (like MTD) and few are with dynamic date ranges.
    In case of relational universes i used to do Magic Date as mentioned here :  http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts
    But for OLAP Universes i have written a MDX filter prompt as :
    <FILTER KEY= "@Select(Debit Memo Date\Debit Memo Date LOV)">
    <CONDITION OPERATORCONDITION= "Between">
    <CONSTANT CAPTION= "IIF (@Prompt('Enter\Select DM Start Date: ','D','First day of Current Month\First day of Current Month',mono,free,not_persistent,{'First Day of Month'},,User:0)='First Day of Month','First day of Current Month\First day of Current Month',@Prompt('Enter\Select DM Start Date: ','D','First day of Current Month\First day of Current Month',mono,free,not_persistent,{'First Day of Month'},,User:0))"/>
    <CONSTANT CAPTION= "IIF (@Prompt('Enter\Select DM End Date: ','D','Date2\Today',mono,free,not_persistent,{'Today'},,User:0) > '1/1/2100 12:00:00 AM',''1/1/2010 12:00:00 AM'',(@Prompt('Enter\Select DM End Date: ','D','Date2\Today',mono,free,not_persistent,{'Today'},,User:0))"/>
    </CONDITION>
    </FILTER>
    We are getting MDX erros because IIF can only return numeric values. So are there any other approaches for dynamically scheduling the reports or can the above MDX prompt be modified to make it work ?
    - Vamsi Ch

    Ingo,
    When we schedule the WEBI report we use the BEX query with a variable based on a customer Exit .
    There are good examples in
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    In order to avoid providing a hard coded date restriction in the BEX query we want to have a flexible date range solution (e.g. data from 1.1.2011 until yesterday).
    Is the folloing scenario possible:
    Scheduled webi report with a hard coded date e.g. 1.1.1900 (for the BEX variable)
    The BEX query should return the data from 1.1.2011 until yesterday (dynamically)  if date = 1.1.1900
    else it should return the data (for the e.g. adhoc reporting)
    Is a customer exit like this possible ?
    Pseudo code:
    IF date = 1.1.900 then return sysdate-1 else return entered date
    For a relational universe I always used a magic date condition

  • Help for LOV

    hi i had created a LOV after that i enterd data in the table but i am unable to retrive complete data LOV is showing onlu first 23 records i have changed in advance tab retrive 60 records at a time
    but rows in my table are 35 and LOV is showing me only 23 rows plz help me

    hi friends and sirs
    it was a gr8 help from u all i get every time this time i am in a prob of different type
    i want to display name instead of id while selection from lov and but want to put id in data base instead of name and while getting information from database i want to display name instead of id in the text box is it possible if yes then plz help me in this regards
    thank you again for every thing
    take care every one
    bye

  • Date Window

    How can I make date window. Just press F9 and Date LOV Window show. Like complete Calender.

    You can download "Oracle Forms 10gR2 Demos" from
    http://www.oracle.com/technology/sample_code/products/forms/index.html
    This has examples of both a PJC and a traditional forms calendar. Be aware that the forms calendar uses a separate block, so calling the calendar will validate your record and will result in an error message if the record is in an invalid state.

Maybe you are looking for

  • How to change the SIZE FONT of the text description in ESS

    Hi Forum    My key user wants the size font  more bigger in the areas and subarea´s of ESS. I have changed then font of the standard text in the Theme Editor. I think that this is a property in the Web Dynpro Application and only modifying it this co

  • MacBook - bluetooth doesn't work and system will not shut down

    Hi all together! I have a problem with my MacBook with the newest updated Tiger 10.4.11: First the bluetooth went off and after using the hardware test the system sayed "no hardware problems". After this I recreated my system with the original MacOS-

  • Enabling oracle TAF on RAc environment

    Hi everybody. We are using Oracle 10g with RAC and ASM, i'm in testign phase now and i test if the one node is down automatically database connexion will use the other node. Note that we have only 02 nodes. For doing that i ahve seen to a documentati

  • Business Graphics 3D display

    Hi, I have created a Webdynpro Application with Business Graphics. I am trying to create a 3D display of Bar charts which is working fine with developer user id. When the same application is executed by an End User it displays in 2D. Can some one sug

  • Backup/Restore Missed Some Things

    Had to swap out my iPhone 4 yesterday for a new one. I had been getting the "No SIM..." message multiple times. Before I went to the Apple store, I did a backup of the phone. When I got home with the new one, I did a restore, selecting the backup whi