Query Manager Input Date Problem

Dear expert,
When i paste the following code in query manager,
error is encountered.
What is the problem.
Regards,
Kit
Code:
declare @type int
declare @opening DateTime
declare @closing DateTime
declate @tmp DateTime
select @type = T0.ItmsGrpCod from [dbo].[oitb] T0 where T0.ItmsGrpNam = '[%0]'
select distinct @opening = T1.DocDate from [dbo].[oinm] T1 where T1.DocDate ='[%1]'
select distinct @closing = T2.DocDate from [dbo].[oinm] T2 where T2.DocDate = '[%2]'
/* swap date */
if @opening > @clsoing
begin
set @tmp = @opening
set @opeing = @closing
set @closing = @tmp
end
select  ItemCode , BatchNum,
     sum(Opening) as 'Opening',
     sum(InQty) as 'InQty',
     sum(OutQty) as 'OutQty',
     sum(Closing) as 'Closing',
     UnitCost ,
     sum(TotalClosingStock) as 'TotalClosingStock',
     sum(TotalOut) as 'TotalOut'
from (
select * from GetMovementReport(@type,@opening,@closing)
union
select * from GetSTMovementReport(@type,@opening,@closing)
) result
group by ItemCode , BatchNum, UnitCost

Hi Chun,
I can see couple of spelling errors:
1. declate @tmp DateTime must be: decla<b>r</b>e @tmp DateTime
2. if @opening > @clsoing should be if @opening > @cl<b>os</b>ing
3. set @opeing = @closing should be set @ope<b>n</b>ing = @closing
Hope it helps,
Adele

Similar Messages

  • INPUT Date problem

    Hi all I have a form which I can insert some data to the database with. I have a proble with inserting dates, the dates are meant to be entered as:
    to_date('2005-09-13 08:59:08','yyyy-mm-dd hh:mi:ss')
    how do i use this format and chage it so that in my form a user can just use dd/mm/yyyy or just insert a system date when my form submits the rest of the data.
    thankyou

    I'm not really sure the exact nature of your problem, given you didn't say anything about the table or exactly how information is being inserted into it other than via a form. Oracle is able to insert dates into timestamp columns with no issue. Here is an example
    Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0
    SQL> create table test_dt (dttm timestamp);
    Table created
    SQL> insert into test_dt (dttm) values (to_date('2009-01-01','YYYY-MM-DD'));
    1 row inserted
    SQL> select * from test_dt;
    DTTM
    01-JAN-09 12.00.00.000000 AM
    SQL> insert into test_dt (dttm) values (sysdate);
    1 row inserted
    SQL> insert into test_dt (dttm) values (systimestamp);
    1 row inserted
    SQL> select * from test_dt;
    DTTM
    01-JAN-09 12.00.00.000000 AM
    28-JAN-09 11.05.24.000000 AM
    28-JAN-09 11.05.32.389326 AMSo as long as you can treat the string as a date, you can insert it into Oracle.

  • SAP Query Manager Parameter selection problem

    Experts,
    Declare @Fromdate datetime
    Declare @ToDate datetime
    set @Fromdate =(select MIN(T0.docdate) from OPCH T0 where T0.DocDate >='[%0]')
    set @Todate =(select Max(T0.docdate) from OPCH T0 where T0.DocDate <='[%1]')
    select
    ROW_NUMBER()  OVER (ORDER BY  T0.DocNum) '#',
    T0.DocNum 'AP Invoice Document Number',
    T0.DocDate 'AP Invoice Posting Date',
    T0.NumAtCard 'Vendor Ref No',
    T0.CardName 'Vendor Name',
    T1.ItemCode 'Item Code',
    T1.Dscription 'Item Description',
    T1.Quantity 'Quantity',
    T1.LineTotal 'Gross Total',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '4') ), 0) 'VAT 4',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '5') ), 0) 'VAT 5',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '12.5') ), 0) 'VAT 12.5',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '14') ), 0) 'VAT 14',
    T0.DocTotal 'Grand Total'
    from OPCH T0 inner join PCH1 T1 on T0.DocEntry = T1.DocEntry
    where T0.DocDate >= @Fromdate
    and T0.DocDate <= @ToDate
    This gives error again

    Hi,
    Try this one:
    Declare @Fromdate datetime
    Declare @ToDate datetime
    set @Fromdate =(select MIN(T0.docdate) from OPCH T0 where T0.DocDate >='[%0]')
    set @Todate =(select Max(T0.docdate) from OPCH T0 where T0.DocDate <='[%1]')
    Select * FROM ( select ROW_NUMBER() OVER (ORDER BY T0.DocNum) '#',
    T0.DocNum 'AP Invoice Document Number',
    T0.DocDate 'AP Invoice Posting Date',
    T0.NumAtCard 'Vendor Ref No',
    T0.CardName 'Vendor Name',
    T1.ItemCode 'Item Code',
    T1.Dscription 'Item Description',
    T1.Quantity 'Quantity',
    T1.LineTotal 'Gross Total',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '4') ), 0) 'VAT 4',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '5') ), 0) 'VAT 5',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '12.5') ), 0) 'VAT 12.5',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '14') ), 0) 'VAT 14',
    T0.DocTotal 'Grand Total'
    from OPCH T0 inner join PCH1 T1 on T0.DocEntry = T1.DocEntry
    where T0.DocDate  BETWEEN @FromDate AND @ToDate ) as result
    Thanks.
    CLint

  • Query Manager SQL DateDiff and Parameter Problem

    I’m having trouble with a date calculation in the Query Manager.   I’m wondering if anyone has run into something similar.
    I am trying to write a query that returns records that are X days old, where X is a parameter input by the user.
    Here’s an example – you can paste this into your system and duplicate the issue:
    <b>SELECT T0.DocNum, T0.DocDueDate FROM ORDR T0 where datediff(dd, T0.DocDueDate, getdate()) <= [%0]</b>
    Returns a date error code if you try to input an integer (e.g. the "Define Survey Variables" dialog is looking only for date values)
    However
    <b>SELECT T0.DocNum, T0.DocDueDate FROM ORDR T0 where datediff(dd, T0.DocDueDate, getdate()) <= 30</b>
    Works just fine.
    Any ideas?

    > I tried your query and it's working perfection for
    > me.  I'm using  SBO B1 2005 A.
    >
    > The [%0] in your case is looking for the type of the
    > critary and because it sees T0.DocDueDate it thinks
    > you should give the query with a date and not a
    > numeric.  Maybe you cshould try to add a casting
    > function to return a numeric ?
    Merci Daniel,
    I too am using SBO B1 2005 A (PL 22)
    I should have expanded on my original problem.  I have tried using CAST and CONVERT in the following ways:
    <b>SELECT T0.DocNum, T0.DocDueDate FROM ORDR T0 where datediff(dd, T0.DocDueDate, getdate()) <= CAST([%0] as Integer)
    SELECT T0.DocNum, T0.DocDueDate FROM ORDR T0 where cast(datediff(dd, T0.DocDueDate, getdate())as Integer) <= [%0]
    </b>
    also
    <b>SELECT T0.DocNum, T0.DocDueDate, cast(datediff(dd, T0.DocDueDate, getdate())as Integer) as Date FROM ORDR T0 where Date <= [%1]</b>
    Nothing seems to work (although I could be getting the syntax wrong)

  • EPM add-in problem with input data,retrieve dimension or members

    Hello everyone,
    I am trying to use data write back (input data) function with EPM add-in in Dashboards. I managed successfully bringing results of an EPM report. I've created a local connection at EPM, and created a  connection at data manager for"Planning and consolidation, version for SAP netweaver platform". And i could get the values via refreshing connection at preview mode, so far so good. Now i want to add a connection which will serve as data write back function to a specific BPC cube. The problem is,  I can retrieve data source name and environment name. But when i click to retrieve model names, it retrieves empty results. The problem exist in, "retrieve dimension" and"retrieve dimension members" functionalities too. I realized that i could retrieve model names for only one specific environment, but even i could get these, when i try to retrieve "cell definition" i am facing an error. You can see related screenshots below.
    I am using Dashboards 4.1 SP2,  EPM connector 10 SP 17.  I created two connections as local and business planning and consolidation for netweaver. I selected same environment and model name for these connections. Neither did work.  Any ideas?
    Update: The reason i could see some model names and some others not  was i didn't specified the model as data source at: 
    Enable BPC Model as reporting data source
               Logon to BPC 10.0 NW web client -> Planning and Consolidation Administration -> Dimensions and Models -> Models -> Select the Model -> Edit -> Features Used with the Model -> mark check box 'Use as Source of Data' -> Save.
    I will update here if i could find a solution for the other issue. (First screenshot).
    Update_2: The problem was occuring because i wasn't connecting to transient cube, created automatically by applying the step at Update_1. While creating a local connection, you shouldn't connect to the original cube, but to the transient one instead to use input data functionality.
    Regards,
    Onur
    Message was edited by: Onur Göktaş

    HI,
    I believe it is definitely the support pack. I posted an issue on this forum and I saw your post.  Your issue is very similar to mine. I saw Andy's reply to you about the SP 18 and looked into it.  Thanks Andy.  SP 18 resolved my issue.  See my post.  Kathy

  • Descriptor query manager and custom PL/SQL call for the data update

    hi all,
    in the application, I'm currently working on, the operations for the data INSERT/UPDATE /DELETE are allowed only by means of PL/SQL function. Using the descriptor's query manager I'm trying to modify default behavior of TopLink and execute PL/SQL when there is a request to modify the data.
    DescriptorQueryManager entityQueryManager = session.getClassDescriptor(MyEntity.class).getQueryManager();
    StoredFunctionCall call = new StoredFunctionCall();
    call.setUsesBinding(true);
    call.setProcedureName("merge_record");
    call.setResult("id", Integer.class);
    call.addNamedArgument("cbic_id", "id"); // MyEntity.getId() – works!
    call.addNamedArgument("publication_flag", "publicationFlag"); // MyEntity.getPublicationFlag () – works!
    call.addNamedArgument("routing_id", "routing"); // MyEntity.getRouring() – works!
    call.addNamedArgument("issue_id", "issue"); // MyEntity.getIssue() – works!
    call.addNamedArgument("country_id", "country"); // MyEntity.getCountry() – works!
    entityQueryManager.setInsertCall(call);
    entityQueryManager.setUpdateCall(call);
    entityQueryManager.setDeleteCall(call);
    the problem:
    when I call: MyEntity savedObject = (MyEntity) UnitOfWork.deepMergeClone(entity);
    the binding doesn’t happen and I see following logs:
    [TopLink Finest]: 2008.02.01 02:51:41.534--UnitOfWork(22937783)--Thread(Thread[AWT-EventQueue-0,6,main])--Merge clone xxx.Entity[id=2000]
    [TopLink Warning]: 2008.02.01 02:51:41.550--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: id null will be substituted. (There is no English translation for this message.)
    [TopLink Warning]: 2008.02.01 02:51:41.550--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: publicationFlag null will be substituted. (There is no English translation for this message.)
    [TopLink Warning]: 2008.02.01 02:51:41.565--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: routing null will be substituted. (There is no English translation for this message.)
    [TopLink Warning]: 2008.02.01 02:51:41.565--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: issue null will be substituted. (There is no English translation for this message.)
    [TopLink Warning]: 2008.02.01 02:51:41.565--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: country null will be substituted. (There is no English translation for this message.)
    [TopLink Fine]: 2008.02.01 02:51:41.565--ClientSession(8454539)--Connection(6233000)--Thread(Thread[AWT-EventQueue-0,6,main])--BEGIN ? := merge_record(cbic_id=>?, publication_flag=>?, routing=>?, issue=>?, country=>?); END;
    bind => [=> id, null, null, null, null, null] – WHY?
    Calling straight forward the same PL/SQL block using:
    DataModifyQuery updateQuery = new DataModifyQuery();
    updateQuery.setCall(call);
    updateQuery.shouldBindAllParameters();
    and passing parameters as Vector works very well.
    Could you please help me to fix the binding problem when I’m using the PL/SQL with Query Manager?
    regards,

    Hello,
    This is fairly common. Since the database is case insensitive (mostly) field names passed in don't really matter much. Unfortunately, java string comparisons are case sensitive, so if you db column for the getId() property is defined as uppercase "ID" it will not match to the lower case "id" defined in the
    call.addNamedArgument("cbic_id", "id");
    This will cause TopLink to get null when it looks for the "id" field in the row it builds from your MyEntity instance.
    Matching the case exactly will resolve the issue.
    Best Regards,
    Chris

  • Query Manager Condition Problem

    Dear expert,
    In B1 query manager, i found a report called 'Production Order Report' and there is a searching condition which i don't understand.
    Code:
    T3.CardName= '[%9]' or '[%9]' = ''
    If user dose not input this parameter, how the query manager  handle the query??

    Hi Kit,
    The query code you mentioned basically says that if the [%9] variable is blank, don't filter on it, else filter on it. You can test it with this query
    declare @Code varchar(15)
    set @Code= ''
    --set @Code = 'C1000'
    select * from ocrd where (Cardcode= @Code or @Code = '')
    If you run it as is, all records in OCRD will be returned, if you run it with the commented line uncommented it will return only C1000.
    Hope it helps,
    Adele
    <i>PS: I have seen that every post you make you set as answered/solved problem already. Please make sure which problems are solved and which not. People tend to not look at solved posts that often. Every question you asked have been marked as solved before anyone replied. Were they solved?</i>

  • Not able to input data in query analyzer

    Hi buddies,
    I am working on IP.I have created a input ready query.For few values of company code there is no transaction data available,but it should show us blank so that I can atleast punch data.I am able to punch data for company codes for which transaction data is avilable .For remaining company codes for which transaction data is not availbale it is showing yellow coloured rows not allowing to input data.
    Solutions would be really appreciated.This is high priority issue.
    With regards,
    Lalitha

    Hi,
    1) if you have no transaction data, it will not show you the company codes, unless you select in your query definition "master data' instead of posted values in the query properties (for company code)
    2) yellow lines are subtotals.... To enable it input ready
    - set query to input ready in query properties
    - set row to plannable in query properties
    - very important: make sure each characteristic of your aggregation level has a unique value either in the filter definition or in the definition of your rows or columns. If not, your query will not be plannable
    D

  • Query Manager Problem

    Here's an interesting problem a client is having. I have a simple query for them that retrieves some information from the primary B1 database, along with a UDT. The query works just fine inside SQL Server Management Studio. When we implement it into the query manager, before saving it, it worked just fine. We then saved it then tried running it again. One of the columns is not visibil. When click the edit button and try running it, it still doesn't work. But when we add or delete whitespace while in edit mode the query works just fine. I haven't been able to find anything on the notes yet and the customer is on 2007A PL 10 but they are planning on upgrading to 8.8+.
    Any ideas on why the query manager is behaving this way? Is it a bug thats been fixed in a later patch for 2007A or is it something else entirely?

    You may add index to U_slsm column.
    Update your query as:
    Select T0.U_slsm as 'Slsm',
    LEFT(T0.Code,9) as 'PC No',
    T0.U_date,
    T3.CardCode,
    T1.DocNum as 'Shop',
    T2.DocNum as 'Quote',
    T0.U_amount,
    T0.U_dm,
    T0.U_comment
    From [dbo].[@ORDERLOG T0]
    Left Join dbo.ORDR T1 on T0.U_DocNum = T1.DocNum
    Left Join dbo.OQUT T2 on T0.U_quote = T2.DocNum
    Left Join dbo.OCRD T3 on T0.U_CardCode = T3.CardCode
    Where T0.U_slsm = '[%0]'
    Order By T0.U_date Desc, T0.U_amount
    I have doubt regarding your links to those 3 system tables. Are those documents having internal links?

  • Problem in mapping from  import manager  to Data manager

    hi friend's....I got a problem while mapping the data from import manager  to Data manager .The problem is the data in import manager (i.e source hierarchy) will map to single filed in data manager ( i.e target hierarchy)..
    Help me it will be great full to me
    Regards
    Yugandhar

    Hi Ana,
    If you have a hierarchy in this format:
    N1            N2                 N3
    A              A1                 A11
    A              A2                 A21
    A              A3                 A31
    B              B1                 B11
    Then u have to follow these steps for import.
    1. Select source file and destination hierarchy table at top of import manager.
    2.  Go to Partitions tab (Second tab) Just above the tabs, if u click on the plus sign against your source file, you will see N1, N2 and N3. Cick on N1 and in partition tab, add N2 to right side by double clicking on N2.
    3. Now add N3 to right side by double clicking on it.
    4. Go to field mapping (Third tab). There you will see a field N1(Partition). Map this field to yourhierarchy field on destination side.
    5. In value mapping (Below the field mapping), Expand your source hierarchy. Select all (ctrl + A). Click on "Add" button. Select "Add Branch as child" option.
    6. Go to Matching tab (Fourth tab). only one field will be there. take ity on the right side. and select the import action as "Create".
    7. Go to last tab. Click on import button.
    Your hierarchy has been imported. You can check it in data manager (in hierarchy mode).
    Hope this solves your problem.
    Regards,
    Dheeraj.

  • Problem with input data format - not "only" XML

    Hi Experts,
    I have problem with input data format.
    I get some data from JMS ( MQSeries) , but input format is not clear XML. 
    This is some like flat file with content of XMLu2026.
    Example:
    0000084202008-11-0511:37<?xml version="1.0" encoding="UTF-8"?>
    <Document xmlns="urn:xsd:test.01" xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance Sndr="0001" Rcvr="SP">
    ...content....
    </Document>000016750
    Problems in this file is :
    1. data before parser <? xml version="1.0"> -> 0000084202008-11-0511:37 
    2. data after last parser </Document> -> 000016750
    This data destroy XML format.
    Unfortunately XI is not one receiver of this files and we canu2019t change this file format in queue MQSeries ( before go to XI) .
    My goal is to get XML from this file:
    <?xml version="1.0" encoding="UTF-8"?>
    <Document xmlns="urn:xsd:test.01" xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance Sndr="0001" Rcvr="SP">
    ...content....
    </Document>
    My questions:
    1. Is any way or technique to delete this data 0000084202008-11-0511:37  in XI from this file ?
    2. Is any way to get only XML from this file ?
    Thanx .
    Regards,
    Seo

    Hi Buddy
    What is the XI adapter using?
    If you use inbound File adapter content conversion you could replace these values with none and then pass it to the scenario.
    Does that help?
    Regards
    cK

  • Problem validating an two Input Date components !...

    Hi to all the users !. I would like to tell my problem... I have two input dates ("from" and "to") and I would like that the value from the "from" component isn't higher than the value from the "to" component... For that, I have use a validateDateTimeRange validator and set the "Maximum" value... My problem is that I don't get validated my inputdates components and additionally, when I select a date it appears with a strange format... Although I set the pattern to "dd/mm/yyyy" !... Let say... If I choose the 23th of July of 2012, the input date show "23/58/2012"... What would be the problem ?... Thankx !...

    Navaneetha: Thankx for your help !; I will check it right now... I didn't answer as I was having lunch ! :D Thankx again
    Suresh: A friend from another group told me that and the problem was solved !; anyway... Thankx for your time ! :d

  • Last day of each month in a year based on a Input date?

    Hi all,
    I have a request from a customer who wants to have a yearly report created in BEx Query Designer which starts in January up to December and they want to have a Month To Date (MDT) and Year to Date (YTD) calculation of a key figure. This report will only show one year at the time based on the date the user give as input at the Variable Screen.
    This key figure should be calculated by using the last date of each month for input when performing the MTD and YTD calculation and summarizations.
    Example:
    January: 31.01.2008  Key Figure = 1000. MTD = 1000 and YTD = 1000
    February: 29.02.2008  Key Figure = 2500. MTD = (2500-1000) 1500 and YTD = 2500
    March: 31.03.2008  Key Figure = 6000. MTD =(6000-2500)=3500 and YTD = 6000
    Etcu2026.
    This means that I have to have a lot of hidden Key figures which gets restricted on the different month end dates and formulas to calculate the different MTD and YTD results for the months as the year progresses.
    The way I have solved it now is that I have a Customer Exit which gives me the Last day of last year (Exp: 31.12.2007) based on input date and use a Offset on the last day of last year date to get the different last dates of each month.
    Since we have a leap year (one extra day in February) this year, the offset to calculate the end month dates will be different for 2007 and next year (2009). This solution is not very flexible, and it will not give the correct MTD and YTD if the customer wants to go back to 2007 and off course next year (2009).
    One solution is to create 12 Customer Exits that gives me the different month end dates (January-December), and also takes in account leap year for February for the different years. These Exits will be based on the Input date the Customers put in at the variable screen.
    I would rather want to avoid making 12 new customer exits and want your advice and expertise to find out if this is possible in any other way (maybe with only 1 customer exit) to get the last date of each month based on an input date.
    Thanks for all your advices on beforehand.
    Regards
    Oddmar Lid

    Hi,
    Thanks for you replay and documentation, but it doesn't give me excatly the functionality I'm after. The only MTD calculation code the document provides is the calculation of the following functionality:
    "Month to Date (MTD) u2013 From the 1st of month to u201CKey Dateu201D - for current year." This doesn't give the the functionality I want, which is to retrieve a given vaule for a Key Figure for the last dates of the months in a year to calculate MTD and YTD.
    This way I have created the query is to have multiple hidden Key Figures that calculates the MTD and YTD.
    In Columns in Query Designer it will look something like this:
    Selection: MTD January--> Date = 31.01.2008, Key Figure (Always Show)
    Selection: YTD January --> Date= 31.01.2008, Key Figure (Always Show)
    Selection: MTD February --> Date= 29.02.2008, Key Figure (Always Hide)
    Formula: MTD February --> MTD February - MTD January (Always Show)
    Selection YTD February --> Date = 29.02.2008, Key Figure (Always Show)
    And so on....
    This is off course a simplified version, but it shows the core of the solution. What I want to achive here is that the dates used to get the Key Figures (last date of a month) is calculated as flexible as possible, so that the users can go back and forth in time without worrying about the leap year problem and so on. I have now used an offset from the last date of last year and this is good for all the normal years, but when it is a leap year the query will use wrong dates to get the key figure vaule for the last date of each month.
    Any ideas on how to achieve this without creating 12 different Customer Exit variables (one for each end date of each month)?
    Thanks
    Regards
    Oddmar Lid

  • Input Date does not work correctly In dynamic region

    Hello everyone.
    I created a view with a dynamic region. When switch to a region with Input Date components, if I click the "Choose Date" button, this region will exit to default region without any error message.
    The component works well in default region but not in regions switched by Link.
    I tried it in a completely new application and i am sure there is no any problem except the component and the region themselves.
    SO, if someone tied doing this and know what cause it and how to fix it?
    Edited by: 1007000 on 2013-5-20 下午8:49

    Well, i find out the problem. I set the managed bean of the region backing scope, and Input Date is a server-side component. So the taskflow id will lost when i click the Choose Date button.
    change the scope to pageflow, and it works.

  • QUERY MANAGER RELATED QUESTION

    mY QUESTIONIS I WANT TO ADD CALANDER AS INPUT PARAMETER IN QUERY MANAGER IS THIS POSSIBLE AND IF THAN HOW?
    PLEASE HELP ME OUT
    THANKS IN ADVANCE
    TARUN CHAUHAN

    Hi nagarajan,
    Let me elaborate my question one again.
    1)i had taken two date parameter in my query in query manager.on manul filling up those date parameter my query give the result which i am fetching from my data base.
    But instead of manual entry of date in above two parameter i want that i should give calendar button so that user can opt the date from that calendar, as in the same manner as we are doing in inventory posting list report .for your reference i am attaching the screen shot.
    Please help.
    Thanks
    Tarun Chauhan

Maybe you are looking for