Set start date parameter

what is the navagation for setting the start date parameter for the Load Sales Forecast base Summary collection program

This may be a bug. Can you log a bugzilla request to investigate?
Jason
On 12/12/2011 11:32 PM, birtforums7 wrote:
> Thanks for the reply Jason. I looked at the link you posted, but I am
> not sure if it will address the problem I have. That is, the logs show
> the timezone as correct already, it just seems that BIRT is not passing
> the parameter correctly.
>
> For instance, suppose I input a start and end date range of 10/10/11 to
> 10/15/11. The header on the report displays correctly:
>
> Start Date: 10/10/11
> End Date: 10/15/11
>
> The information for the start date in the header was retrieved as follows:
>
>
> <structure>
> <property name="name">startdate</property>
> <expression name="expression">params["startdate"]</expression>
> <property name="dataType">date-time</property>
> </structure>
>
>
> The header takes the time from startdate, which is from
> params["startdate"]. However, when I output the contents of
> params["startdate"] to a log, I receive this:
>
> Sun Oct 09 23:00:00 BRT 2011
> Fri Oct 14 23:00:00 BRT 2011
>
> The code for outputting to the log was:
>
>
> out = new PrintWriter(new FileWriter("c:/temp/out.txt", true));
> out.println(params["startdate"]);
> out.println(params["enddate"]);
> out.close();
>
>
> It is important for params["startdate"] to be exactly what the user
> inputs, since the parameter will be formatted for use in an SQL query.
> The same issue applies to params["enddate"] as well. It seems there is
> some sort of date conversion from the range of 10/10/2011 to 10/16/2011.
>
> If I use any other time range that does not fall within these two dates,
> I receive the expected output. For instance:
>
> Header:
> Start Date: 10/5/11
> End Date: 10/8/11
>
> Log output:
> Wed Oct 05 00:00:00 BRT 2011
> Sat Oct 08 00:00:00 BRT 2011
>
> Is it possible that this is a bug in BIRT?
>
>

Similar Messages

  • How to set this DATS parameter

    Hi Pros,
            I am calling function 'HR_FORMS_TIM_GET_B2_RESULTS' in the program , its input parameter is BEGDA, I transfer a date variable to BEGDA, but does not work. can not get any data. but if I run this function in SE37, I input date '20140807', successfully get result.  please tell me how to set this DATS parameter?

    Hi,
    You might be passing the date in '12.12.2014' or '12/12/2014' format. Please
    use the function module 'CONVERSION_EXIT_BEGDA_INPUT' to convert the date
    to internal format and then pass it to the function module.
    Thanks

  • Need to pass period start date as parameter to ProjectLOVVO in OTL module

    Hi All,
    I have a requirement of passing period start date as a parameter to ProjectLOVVO.
    It will check against the project's base view PA_ONLINE_PROJECTS_V and allow to
    display only those projects in the list where the project completion date and
    resource assignment end date is greater than the period start date.
    This VO is in Oracle Time and Labour Module. Navigation is SelfService Time> Create Timecard Screen.
    The screen is based on AK Developer.
    I have tried to followed the steps as per the document hxcconfiguiwp.pdf during the development work.
    Steps are mentioned below. It is still not working.
    Please go through the steps and if you have worked in this module please provide your valuable
    suggestion as soon as possible.
    Steps:
    1. Modified the customizable view PA_ONLINE_PROJECTS_V to
    keep the assignment end date in the select query.
    2. Created Custom VO- XXProjectLOVVO using JDeveloper same as ProjectLOVVO
    It's SQL Query is -
    SELECT project_number projectnumber,
    project_name projectname,
    project_details projectdetails,
    project_id projectid,
    start_date,
    completion_date,
    carrying_out_organization_id
    FROM pa_online_projects_v
    WHERE TRUNC(completion_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:1))
    AND TRUNC(assignment_end_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:2))
    3. Placed the class files (XXProjectLOVVO.xml and XXProjectLOVVOImpl.class) in Custom Directory in server.
    In location- apps_st/comn/java/classes/custom/oracle/apps/xxhxc/selfservice/timecard/server
    4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
    and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAM
    5. In AK Developer module created LOV Attributes 'XX_HXC_CUI_PROJECT_CO_ORG_ID', 'XX_HXC_CUI_PROJECT_END_DATE',
    'XX_HXC_CUI_PROJECT_ID','XX_HXC_CUI_PROJECT_NAME',
    'XX_HXC_CUI_PROJECT_NUMBER', 'XX_HXC_CUI_PROJECT_START_DATE'
    and created a LOV region 'XX_HXC_CUI_PROJECT_LOV attached to Database Object 'ICX_PROMPTS' in the Object
    and in Region items added all the above attributes.
    Added LovAM location in place of AM and LovCO lication in place of CO.
    6. Migrated the LOV with the below code
    begin
    hxc_lov_migration.migrate_lov_region
    (p_region_code => 'XX_HXC_CUI_PROJECT_LOV'
    ,p_region_app_short_name => 'HXC'
    ,p_force => 'Y'
    commit;
    end;
    7. Copied hxczzhxclayt0019.ldt LDT file from server. Renamed it to xhxczzhxclayt0019.ldt
    modified the Layout section for ProjectLOV
    BEGIN HXC_LAYOUT_COMPONENTS "Custom Projects Timecard Layout - Project"
    OWNER = "CUSTOM"
    COMPONENT_VALUE = "PROJECT"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_TIMECARD_PROJECT"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "210"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT =
    "Projects Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2010/11/10"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Custom Projects Timecard Layout - Project"
    OWNER = "CUSTOM"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "XXProjectLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "XX_HXC_CUI_PROJECT_LOV"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "12"
    QUALIFIER_ATTRIBUTE6 =
    "XxHxcCuiProjectNumber|PROJECT-DISPLAY|CRITERIA|N|XxHxcCuiProjectId|PROJECT|RESULT|N|XxHxcCuiProjectNumber|PROJECT-DISPLAY|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "ProjectNumber"
    QUALIFIER_ATTRIBUTE9 = "ProjectId#NUMBER"
    QUALIFIER_ATTRIBUTE10 =
    "custom.oracle.apps.xxhxc.selfservice.timecard.server.XXProjectLOVVO"
    QUALIFIER_ATTRIBUTE11 = "TIMECARD_BIND_START_DATE|TIMECARD_BIND_START_DATE"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "PROJECT"
    LAST_UPDATE_DATE = "2010/11/10"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    8. Used FNDLOAD command to upload the ldt
    FNDLOAD apps/apps@instance 0 Y UPLOAD /ad01/app/o2cdev/apps/apps_st/appl/hxc/12.0.0/patch/115/import/hxclaytlayoutsld.lct ./xhxczzhxclayt0019.ldt
    9. Bounch Apache
    10. Checked in below database table to check weather layout records are getting update or not and found records existing:
    In table hxc_layout_COMPONENTS where region_code = 'HXC_CUI_TIMECARD' and component_value = 'PROJECT' and SEQUENCE = 210
    and COMPONENT_NAME = 'Custom Projects Timecard Layout - Project'
    In table hxc_layout_comp_qualifiers where layout_component_id is as in layout component table.
    11. Checked that the XXProjectLOV is attached in the TimecardAM and LovAM. It is visible there but while quering for the project list its picking up all the projects irrelavant of start date parameter value .
    As if its picking up all the records from seeded LOv- ProjectLOV not custom LOV.
    Regards,
    K Bosu

    Hi
    this steps is wrong
    4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
    and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAMU cant add extended VO direct to standard AM .
    VO extension requires .jpx import ,that u have to do ,rest will be take care by this import itself and no need to modify standard AM .
    Please check the steps for VO extension in http://oracle.anilpassi.com/extend-vo-in-oa-framwork-2.html
    thanks
    Pratap

  • Setting up start date for automatic backup

    IS there instructions on how to set up automatic back up setting start date WD Element 3 tb external hard drive. I have previous backups on another external drive and do not want to duplicate what I already have backed up...any help would be appreciated...mo_reb

    Hello, welcome to the community.
    The WD Elements does not have any backup software to do this, you will need a third party software to perform a backup with this drive.

  • Start Date for AP trial balance report

    Hello
    Am working on generating the Trial balance report in the Payables. I am running the "Accounts Payables Trial Balance report. For this report, in the parameters, there is "As of Date" parameter, but I do not have the "Start Date" parameter. I wanted to get a trial balance report for a given analysis period, like between Jan 03 and Dec 03.
    Can any one please let me know about this.
    Thank you
    Bob

    Hi Bob.
    I'm affraid such report is not available.
    You may get something similar by running the RX-only: Payables Invoice Register by Detail. You also have the option to change the way data appears on the report on it is an RX report.
    Octavio

  • Primary Key Multiple Column with Date - parameter issue

    All,
    I am having an issue that I cannot find the answer to. I have looked high and low to no avail. Please help.
    The issue at hand is that I have a table that has a multiple column primary key and one of the columns happens to be a date and the other is a string. I have a basic search and I want an update picture in the results table that the users can click on and go to a different page to update that record. The issue is when I fire an action based on the update picture I also want to set parameters based on the record that I selected. So I set the string parameter and that works fine. The issue is with the date. When i set the date parameter it works but it chops off the timestamp. Later when I try to get this parameter 'pageContext.getParameter("dateParameter");' it will bring in a date like 15-Dec-2008 but I need the entire date and timestamp (i.e. 15-Dec-2008 10:20:33) to correctly identify the record.
    Please help!
    Thanks,
    Colby J

    Hi
    since every parameter go in url as a string format so u will never get the date parameter with complete timestamp,the solution would de
    1.) Set a fire action on update picture,give its event name as "update",
    2.) clicking on update picture will fire this event .
    3.) in processFormrequest method of controller
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if ("update".equals(pageContext.getParameter("event")))
    // this will give the select row where update is clicked
    String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    VORowImpl row = (EmployeeSummaryVORowImpl)am.findRowByRef(rowReference);
    Timestamp sdateVal=(String)row.getAttribute("Date value");
    // this will transfer the values to next page
    pageContext.putTransactionTransientValue("transferdvalue",sdateVal);
    // and in the next page u can get the value like this
    timestamp getDateVal=pageContext.getTransactionTransientValue("transferdvalue"l);
    hope this will resolve your issue,Please let me know if u face any issue
    thanx
    Pratap

  • In Transaction code va41 how to set default sales contract start date

    Hi ,
    In Transaction code " VA41 "  how to set default sales contract start date and end date.
    Can any one tell me the correct user exit for the same.
    Thanks
    Basu

    hi,
    u have to use user exits  or badis.
    use sutable exits mentioned below.
    SDTRM001  Reschedule schedule lines without a new ATP check          
    SDVFX006  User exit: Tax line (transfer to accounting)               
    V45A0001  Determine alternative materials for product selection      
    V45A0002  Predefine sold-to party in sales document                  
    V45A0003  Collector for customer function modulpool MV45A            
    V45A0004  Copy packing proposal                                      
    V45E0001  Update the purchase order from the sales order             
    V45E0002  Data transfer in procurement elements (PRreq., assembly)   
    V45L0001  SD component supplier processing (customer enhancements)   
    V45P0001  SD customer function for cross-company code sales          
    V45S0001  Update sales document from configuration                   
    V45S0003  MRP-relevance for incomplete configuration                 
    V45S0004  Effectivity type in sales order                            
    V45W0001  SD Service Management: Forward Contract Data to Item       
    V46H0001  SD Customer functions for resource-related billing         
    V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Edited by: katigiri linganna on Apr 28, 2009 12:19 PM

  • How can I set the date today as default value in a parameter?

    Hi,
    I have in my report a date parameter and I want to set as default value the date today.
    How can I do this?
    Thanks in advance

    If you are using a datatemplate , you can have a beforereport trigger that will have a package call.
    In the package spec, define a date variable and also define the function beforereporttrigger that retruns boolean.
    In the body, define the beforereporttrigger function with
    begin
    select sysdate into specvariable from dual
    return(true);
    end;
    You can then use the variable in the datatemplate as :variable.
    Hope this helps.
    - Vasu -

  • How to make Start Date as optional parameter in Crystal reports 2011

    Hi All,
    I have existing Start Date and End Date parameter how to make them as optional parameters.
    Thanks for your help in advance!!.

    Hi Mnnica,
    There is an option 'Optional Prompt' under value options, make that as true.  Do the same for both startdate and enddate then go in Record Selection Formula and write below formula :
    If Not (hasvalue({?Startdate}) then True else {?Startdate} >= {databasedatefield}
    and
    If Not (hasvalue({?Enddate}) then True else {?Enddate} <= {databasedatefield}
    Check below screen capture for Optional Prompt options :
    -Sastry

  • Filters on CSWP not working when Scheduling Start Date sets Immediate Value

    In Sharepoint 2013, When users sets value of "Scheduling start date" to "Immediately", the filters does not work correctly.
    I have checked many forums where it is mentioned that If you set scheduling Start date to Immediately, internally the Scheduling Start Date is set to 01/01/1900.
    When i use query in content search webpart as publishing date is between "Scheduling Start Date" and "Scheduling End Date" so it fails. it  does not displays filtered data.
    Please provide some resolution for this issue.
    I have tried using calculated field wherein we can put formula to get value for Immediate value and then use it in Filter expression. but I need another approach related to "Scheduling Start Date" Column. i.e can we remove the Immediate radio button
    or can we restrict user to use specific date only?
    Thanks in Advance.

    This is a new one on me.
    It's a server program to interface with QuickTime and some other problematic services.
    If you use video or 3D in Photoshop Extended, you probably need it.
    Sounds like you are correct in that it has to do wtih Quicktime.  Do you have PS extended?

  • BIAPPS how can we manually set both ETL start date and end date?

    Dears experts,
    how can we manually set both ETL start date and end date while conducting incremental load IN DAC?
    Please advise me.
    thanks,
    Joe.

    You can set those dates in the DAC system parameters tab. You should see lots of $$xxxxxx parameters.
    If I may, I'd suggest you use the OBI Applications forum for questions on DAC.
    Antonio
    BExpert, Brazil

  • Set the dependant requirement dates to be scheduled to order start date

    Dear Experts,
    The components have been assigned to the relative operations in the routing.
    During the lead time scheduling, is it possible to set all the required date of the components to the order start date instead of the operation start date? How to configure?
    Thanks,
    Dawson

    Hi,
    In lead time scheduling, the precise production times, that is, the target start date and the target finish date, are specified for materials that are produced in-house. Capacity Requirements are also created during lead time scheduling and the date that the components must be provided is also determined.
    You have maintained the following parameters for lead time scheduling in Customizing for MRP by choosing Define scheduling parameters for planned orders:
    Parameters for determining the routing
    Parameters that determine if and how scheduling is carried out
    Parameters that indicate if and how basic dates are to be adjusted
    Then
    You have assigned a scheduling margin key in the material master record.
    You can define the scheduling margin key in Customizing for MRP by choosing Define floats (scheduling margin key).
    If You Assign BOM components to the first Operation then all the components are provided on the Basic start date of the production considering all the floats
    OR
    In a situation where different operations are assigned with different BOM components then  we define Lead time off set(+ve on u2013ve value) to have material provision on the basic start date of production order
    pavan

  • "The end date can't be set to occur before the start date" issue

    I have a subscribed calendar that draws from data in a Filemaker database. In all of these records, the start date & end date are the same. When I try to refresh the description, it fails with a "NSCocoaErrorDomain / error 1560" error, and the console log shows "The end date can't be set to occur before the start date."
    Well, it doesn't occur before the start date. It's the same as the start date. I can work around this by setting my Filemaker database to add a day to the end date, but that's a clunky solution.
    Anyone else run into anything like this?
    (iCal 4.0.3 and OS X 10.6.4, btw)

    It may not be the same problem, but the message was the same (end date...etc). I tore my hair out at the time trying to solve it. It was on my fathers computer. Everything appeared to be correct and consistent. What solved it was logging into MobileMe/account/personal info/time zone, where I found the time zone was wrong. I can't remember the detail now but at the time it seemed like a third place where time had to be correct. Worth your checking there anyway.

  • Can start date be set before valid for date for an equipment?

    Can start date be set before valid for date for an equipment?

    Hello,
    Generally when a asset/equipment  is purchased that is the valid from date and when commissioning done and it becomes operational then that date is start up date. So logically start up date should not before valid from date, it could be same.
    Can you elaborate why you want start up date before valid from date ?
    Thanks
    Naveen

  • Ability to set same Start date for two different discrete Job in ASCP

    We have two ATO Items and these to be built & shipped together which have different leadtimes, How we can have achieve same start date when we release from ASCP.
    E.g: ATO_Model1*24234 SO Line 1, the rolled up LT=10Days
    ATO_Model2*325325, the rolled up LT=3
    So, under normal scenario ASCP will suggest two different release dates based on LT. So, I would like to start both Job togther considering the max leadtime.
    Hoping for your expert advice.
    Thanks
    Edited by: user604737 on Nov 10, 2010 9:55 AM

    Hi,
    964188 wrote:
    It is a date
    Such as
    10/31/2012 11:55:03 PMThen, as Hoek says, you don't want TO_DATE. For example:
    WHERE   TRUNC (start_datetime) = TRUNC (SYSDATE - 7) or the more efficient
    WHERE   start_datetime >= TRUNC (SYSDATE - 7)
    AND     start_datetime <  TRUNC (SYSDATE - 6)Also, it doesn't look like the EXISTS sub-query is corelated to the main query. That's almost certainly a mistake.
    If you're still having trouble, post your revised query, a little sample data (CREATE TABLE and INSERT statements). Point out where that query is givimg the wrong results, and explain how to get te right results.
    See the forum FAQ {message:id=9360002}

Maybe you are looking for

  • Reading Null Values From Request Object

    For a proof-of-concept, I wrote a mini program that has 2 files. File #1 is main.html. There's a javascript function called addNewRowToThisTable that isn't displayed but it basically allows the user to create as many rows in the table as user desires

  • Saving my itunes libary to a hard drive attached to my Time Capsule?

    Hi there I hope to not make this into a long story but I do have a question I am not completely sure about. I have searched high and low in these forums and the iTunes forums for my answer and can not find anything, so sorry in advance if this sort o

  • What is the best practice for setting up and migrating two notebook users on one desktop

    My wife and I have just purchased a desktop iMac and would like to migrate our 2 notebooks to it.  I plan to use the Migration Application to achieve this.  I am trying to gather information on the best ways to establish a main music library merging

  • Mac Pro 2.1 Strange HD issue

    Been Having HD issue with an early MacPro(2.1) Dual Quad core Have changed the boot disc 3 times, have reformatted the discs and reinstalled from CD on numerous occasions, then allowing time machine to restore my normal environment. Eventually i took

  • I am rebuilding m computer, win 7. How do I re install my copy of cs6. thanks

    Hi, my win 7 computer is runing slow so I am in the process of re-staling the operating system. It suddenly occurred to me that I do not have a Disk with my cs6. How do I re-install CS6 please