Using MIN clause in Oracle to get a ticket number with an oldes date

i am stuck with the following simple syntax..
i need to pull the oldest billnumber ..ultimately i need to see the ticket number with the oldest date .
here is my select statement using an openquery from SQL server to oracle..
(SELECT * FROM OPENQUERY(B_COUNT,
'SELECT
TICKETID,
MIN(CREATE_DATE)
FROM TABLE
WHERE
CREATE_DATE >= ''1262304001'' AND CREATE_DATE < (trunc(SYSDATE) - to_date(''01-JAN-1970'',''DD-MON-YYYY'')) * (86400) AND
STATUS = ''0''
any help will be appreciated
thanks

938115 wrote:
I also got this text file after the command was executed along with the GIS.bad file
SQL*Loader: Release 11.2.0.1.0 - Production on Fri Jun 1 09:56:52 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Control File: bill.ctl
Data File: GIS.csv
Bad File: GIS.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
I have thousands of records in this file and only 64 of them updated.How many record were in the table before and after? I doubt the difference is 64, unless you have exactly 64 rows but you said thousands. I believe you are probably misinterpreting the log file. can you share the full log file? As a test, create a empty table, use the same script and load same data file in this empty table. Once loading is complete, check if it has 64 rows or more. I believe what log file is saying, it is 'commiting after every 64 rows', not 'stopping after loading 64 rows'.
So, unless you show us the log file there is no way to be certain, feel free to mask confidential info, at-least top 15 and bottom 15 lines ?

Similar Messages

  • I have a Mac Mini and I can't get it to work with my Ricoh Aficio MP 161.  Any ideas?

    I have a Mac Mini and I can't get it to work with my Ricoh Aficio MP 161.  Any ideas?

    The latest Apple driver support begins with the MP 171.
    Here is Ricoh's official driver download page specifically for the Afico MP 161. Note that new drivers for this device were released on Aug 2, and include Lion and Mountain Lion.
    Hopefully, this will solve your device issues.

  • What is the use of profiles in oracle apps,could u pls explain with examples

    what is the use of profiles in oracle apps,could u pls explain with examples

    1b5595eb-fcfc-48cc-90d2-43ba913ea79f wrote:
    what is the use of profiles in oracle apps,could u pls explain with examples
    http://www.appspatrols.com/now/blog/understanding-profile-options-in-oracle-apps-oracle-e-business-suite
    http://www.oracle.com/pls/ebs121/search?word=Profile+Options&format=ranked&remark=quick_search
    Thanks,
    Hussein

  • I have bought Adobe Photoshop Elements 13 and I try to get my serial number with my activation ID but I get a message that my ID is not good. What can I do?

    Where can I get a serial number with my activation ID if it dosen't work on the ADOBE site?

    Well, for your ID just use the ID and password you're using here. If you meant your redemption code rather than your ID, try this:
    Redemption Code Help

  • How to get the week number for a given date?

    hi guys,
    what is coding to get the week number for a given date?
    For example, 1/1/05 is week 1. then 8/1/05 is week 2.

    The second parameter to pass to the method is supposed to be one of the month constants JANUARY - DECEMBER. It happens to be that their numerical values are 0-11, not 1-12, so your "12" refers to the "13th" month of the year.
    givenDate = new GregorianCalendar(2003, Calendar.DECEMBER, 31);
    If you want to construct dates and times from strings like you seem to be, look into SimpleDateFormat http://javaalmanac.com/egs/java.text/ParseTime.html
    (even still I got WEEK_OF_YEAR as 1 which is true but not really what I expected, excuse my previous reply but I wanted to check the facts before posting this)

  • Looks like a bug in DB, Getting a invalid number with a group by

    Hi All,
    This is very strange problem that I am encountering. Would like to hear from you, if you have also witnessed something similar:
    What I am doing:
    basically I am doing something like:
    Select x,y,z,count(distinct a) from
    taba,tabb,(select col1,col2 from tabc) tc,
    tabd left outer join tabe on tabd.col=tabe.col,
    viewf
    where (joins between the tabs)
    group by x,y,z
    All the join columns are number(10,0) in all the tables/views.
    If I run this query I get an invalid number 01722. If I comment the count(distinct a) column, the query runs fine.
    Or if I put the to_number for all the joined columns in the where clause, the query runs fine.
    I have never seen such behaviour of Oracle database. May be I am doing something really wrong?
    Looking for help.
    Thanks in advance.

    Well, I do not think it is related to GROUP BY or to DISTINCT. Most likely you have some column X that holds both numeric and non-numeric strings and some other column that indicates if column X value is numeric. If this is the case, you can get ORA-01722 simply becuase Oracle does not apply where clause predicates in the order they are listed. Assume column c1 holds numeric strings when column c2 is set to some specific value. Even if you use:
    WHERE c2 = 'some-value'
    AND TO_NUMBER(c1) = 5
    it is not guaranteed Oracle will first check c2 and only then c1. And if Oracle decides to check c1 first, TO_NUMBER will fail on the first non-numeric c1. Especially it can happen in not very recent Oracle versions. In recent versions most of the time optimizer is smart enough to realize that checking c2 costs less that converting c1 to number and then checking it, so it will check c2 first. Anyway, you need to use ORDERED_PREDICATES hint to let optimizer know to follow predicate sequence. For example, in 9i:
    SQL> create table tbx(flag varchar2(6),value varchar2(10))
      2  /
    Table created.
    SQL> insert into tbx values('alpha','abc');
    1 row created.
    SQL> insert into tbx values('number','123');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from tbx
      2  where flag = 'number' and value = 123
      3  /
    where flag = 'number' and value = 123
    ERROR at line 2:
    ORA-01722: invalid number
    SQL> select /*+ ORDERED_PREDICATES */ * from tbx
      2  where flag = 'number' and value = 123
      3  /
    FLAG   VALUE
    number 123
    SQL>SY.

  • How can i get kinect serial number with KinectSDK1.8

    Now I'm getting depth datas and color datas from 4 Kinect with Kinect SDK 1.8.
    I use Windows 8, Visual Studio 2013, Kinect SDK 1.8 and Kinect v1 × 4
    /***** getINuiSensor Instance *****/
    INuiSensor* sensor;
    HRESULT result = S_OK; // device_id : 0~3
    result = NuiCreateSensorByIndex((int)std::stoi(device_id),&sensor);
    But this way, the couple of the Kinect and "device_id" 
    such as the order of the device connection is changed.
    Therefore, in order to specify the device to start more explicitly,
    I would like to know how to get the serial number of kinect on Windows.
    I know the way that There is a way to get INuiSensor Instance 
    by a serial number getting from the device manager with OpenNI.
    With Kinect SDK, how to get the INuiSensor Instance using the serial number ?
    If Kinect SDK have no way it, please tell me some good ideas about that.

    The serial number is printed on the sensor. We do not provide an api that gives you the serial number of the device.
    As for the api you are using, that will only provide a unique identifier for the port the device is connected to. Plugging in another Kinect device to the same USB2 port will get you the same value. See other threads that discuss this.
    There is nothing at a Kinect SDK level that will allow you to identify the exact device. You may need to look at Win32/OS level api's to see what is exposed through the raw driver. A tool to query the device that will let you see what these api's can provide
    is USBView.
    Carmine Sirignano - MSFT

  • Getting the week number for a given date

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE     11.1.0.7.0     Production
    TNS for 64-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    Hello all.
    I am currently migrating our product from SQL SERVER to ORACLE and have the following issue.
    Basically I'm just trying to get the year week number for a given date but I'm having trouble with Oracle as it seems to think that the weeks run from Thursday to Thursday?. I presume this is something to do with the fact that the first day of the year was Thursday?
    e.g.
    SQL SERVER:
    select DATEPART(wk, '2009-10-24') as Sat -- 43 - correct
    select DATEPART(wk, '2009-10-25') as Sun -- 44 - correct
    select DATEPART(wk, '2009-10-26') as Mon -- 44 - correct
    select DATEPART(wk, '2009-10-27') as Tue -- 44 - correct
    select DATEPART(wk, '2009-10-28') as Wed -- 44 - correct
    select DATEPART(wk, '2009-10-29') as Thu -- 44 - correct
    select DATEPART(wk, '2009-10-30') as Fri -- 44 - correct
    select DATEPART(wk, '2009-10-31') as Sat -- 44 - correct
    select DATEPART(wk, '2009-11-1') as Sun -- 45 - correct
    select DATEPART(wk, '2009-11-2') as Mon -- 45 - correct
    select DATEPART(wk, '2009-11-3') as Tue -- 45 - correct
    select DATEPART(wk, '2009-11-4') as Wed -- 45 - correct
    select DATEPART(wk, '2009-11-5') as Thu -- 45 - correct
    ORACLE:
    SELECT to_char(to_date('24-OCT-2009'), 'ww') as Sat from dual; -- 43 correct
    SELECT to_char(to_date('25-OCT-2009'), 'ww') as Sun from dual; -- 43 incorrect - should be 44
    SELECT to_char(to_date('26-OCT-2009'), 'ww') as Mon from dual; -- 43 incorrect - should be 44
    SELECT to_char(to_date('27-OCT-2009'), 'ww') as Tue from dual; -- 43 incorrect - should be 44
    SELECT to_char(to_date('28-OCT-2009'), 'ww') as Wed from dual; -- 43 incorrect - should be 44
    SELECT to_char(to_date('29-OCT-2009'), 'ww') as Thu from dual; -- 44 correct
    SELECT to_char(to_date('30-OCT-2009'), 'ww') as Fri from dual; -- 44 correct
    SELECT to_char(to_date('31-OCT-2009'), 'ww') as Sat from dual; -- 44 correct
    SELECT to_char(to_date('1-NOV-2009'), 'ww') as Sun from dual; -- 44 incorrect - should be 45
    SELECT to_char(to_date('2-NOV-2009'), 'ww') as Mon from dual; -- 44 incorrect - should be 45
    SELECT to_char(to_date('3-NOV-2009'), 'ww') as Tue from dual; -- 44 incorrect - should be 45
    SELECT to_char(to_date('4-NOV-2009'), 'ww') as Wed from dual; -- 44 incorrect - should be 45
    SELECT to_char(to_date('5-NOV-2009'), 'ww') as Thu from dual; -- 45 correct
    Now I don't want to get into a discussion with regard to locales etc.
    In my world (and is seems SQL SERVER's) the first day of the week is Sunday and the last Saturday.
    Is there some NLS_? setting or something that I'm missing?
    thanks for any help on this.
    Andy

    This is what you need.
    SELECT ceil(( 7+(trunc(to_date('25-OCT-2009'),'d')-trunc(to_date('25-OCT-2009'),'Y')) )/7) FROM dual
    HTH!!!
    --tested all these statements.
    Works as you wish!!
    SELECT ceil(( 7+(trunc(to_date('24-OCT-2009'),'d')-trunc(to_date('24-OCT-2009'),'Y')) )/7) as Sat from dual;
    SELECT ceil(( 7+(trunc(to_date('25-OCT-2009'),'d')-trunc(to_date('25-OCT-2009'),'Y')) )/7) as Sun from dual;
    SELECT ceil(( 7+(trunc(to_date('26-OCT-2009'),'d')-trunc(to_date('26-OCT-2009'),'Y')) )/7) as Mon from dual;
    SELECT ceil(( 7+(trunc(to_date('27-OCT-2009'),'d')-trunc(to_date('27-OCT-2009'),'Y')) )/7) as Tue from dual;
    SELECT ceil(( 7+(trunc(to_date('28-OCT-2009'),'d')-trunc(to_date('28-OCT-2009'),'Y')) )/7) as Wed from dual;
    SELECT ceil(( 7+(trunc(to_date('29-OCT-2009'),'d')-trunc(to_date('29-OCT-2009'),'Y')) )/7) as Thu from dual;
    SELECT ceil(( 7+(trunc(to_date('30-OCT-2009'),'d')-trunc(to_date('30-OCT-2009'),'Y')) )/7) as Fri from dual;
    SELECT ceil(( 7+(trunc(to_date('01-NOV-2009'),'d')-trunc(to_date('01-NOV-2009'),'Y')) )/7) as Sat from dual;
    SELECT ceil(( 7+(trunc(to_date('02-NOV-2009'),'d')-trunc(to_date('02-NOV-2009'),'Y')) )/7) as Sun from dual;
    SELECT ceil(( 7+(trunc(to_date('03-NOV-2009'),'d')-trunc(to_date('03-NOV-2009'),'Y')) )/7) as Mon from dual;
    SELECT ceil(( 7+(trunc(to_date('04-NOV-2009'),'d')-trunc(to_date('04-NOV-2009'),'Y')) )/7) as Tue from dual;
    SELECT ceil(( 7+(trunc(to_date('05-NOV-2009'),'d')-trunc(to_date('05-NOV-2009'),'Y')) )/7) as Wed from dual;
    SELECT ceil(( 7+(trunc(to_date('06-NOV-2009'),'d')-trunc(to_date('06-NOV-2009'),'Y')) )/7) as Thu from dual;
    Cheers!!!
    Bhushan
    Edited by: Buga on Oct 29, 2009 10:46 AM

  • Using in clause in oracle

    Hi,
    I am facing the following issue when trying to retrieve the data from a view.If i specify literals inside the in clause (example id's inside in clause) it's working fine,but when i try to use the subquery inside in clause to retrieve the id's from the base table it's taking longer time and no results are observed.I am trying to give the subquery inside in clause due to the in clause cannot handle literals(id's) more than 1000.
    Any suggestions on this will help me a lot for this.

    user13469868 wrote:
    ... due to the in clause cannot handle literals(id's) more than 1000.
    Any suggestions on this will help me a lot for this.I often do a simple approach. If I need an IN list with more then 1000 values, then simply use two more more in lists and the OR operator.
    Example: instead of
    select * from emp
    where id in
    ( 1,
      2,
      3,
      1000,  /* problem point */
      1001,
      2000,  /* problem point */
      2001,
    )I write the statement like this:
    select * from emp
    where (id in  /* see the addition starting parenthesis! */
    ( 1,
      2,
      3,
       999)
    OR id in  /* start of the second list */
      (1000,
      1001,
       1999)
    OR id in   /* start of the next list */
    (2000,
      2001,
    ) /* remember to add the closing parenthesis */Edited by: Sven W. on Jun 28, 2011 4:39 PM - formatting

  • I need help I have the m audio m track plus and working out of logic studio 9 and it comes up but I have no sound, but I can here it using garageband. How do I get it to work with logic studio?

    How do I use my M Audio M track Plus with the logic pro 9 software? It works with garageband, but I am not getting anything out of Logic. It does show up on list as option and I have done all of the sound preferences to M audio, etc. etc. Please help

    I got to that page but clicking on the Subscribe Free had no effect.
    Nothing showed in the Podcasts nor the iTunes U.
    In fact I also subscribed to Stanford's lectures and despite actually managing to DL them there is still no subscription in iTunes U, just the Intro to Computer Science belatedly.
    Peter
    I'd like to attach the screen grab of the out of order and randomly DLed selection of Harvard's course, but the forum won't let me attach it even though it is only 456k. Correction, close post and retry and now it lets me. NB how intermittent the DLs are and in no particular order.

  • Perfect use of Automator if I can get it to work with QT or FCP

    Hello,
    I've spent all day trying to wrap my head around Automator and I jumped right into it with the following task:
    to take 150 video clips (uncompressed 8 bit QT files) and add an opening graphic, a closing graphic and to save as a new version. Doesn't that sound like the type of thing you'd take to Automator? Well, I found out that FCP is not supported by Automator, so there goes any solutions with that program.
    For Quicktime, however, I did manage to get it to open the opening graphic, copy it to the clipboard, open the movie file, and paste it at the beginning. This was with the help of some handy scripts and workflows that other people have made and posted (THANKS if you're reading this).
    There are two aspects to this method that I can't figure out to complete it.
    1. How do I tell it to go to the END of the video clip before pasting the ending graphic on?
    2. How to I get it to 'save as' or export from there (so as to preserve the orig. file)?
    appreciate any help.
    -josh
    dual g5 PPC, 2GB Mac OS X (10.4.9)
    xposted to fcp and quicktime.

    Thanks - I actually ran across this earlier, but it looked too daunting (and so did he price tag) for the rather simple thing I'm looking to do. So I figured that there may already be a work around of some sort available.
    Thanks for the tip though
    dual g5 PPC, 2GB Mac OS X (10.4.9) I like my monitor too...it flips vertical...but there's never a reason to use it

  • Oracle EPM 11.1.2 issue with system-jazn-data.xml & HIT entries

    Have been working on configuring Oracle EPM 11.1.2 and have one final issue from the diagnostic utility that I cannot figure out. Configuration sequence is as follows and each step is installed in its own database:
    Step 1 - Foundation/Shared Services/Calc Mgr/EPMA/Essbase to a single relational DB. I am not configuring the web server until the final step.
    Step 2 - Hyperion Performance Scorecard
    Step 3 - Planning
    Step 4 - Profitability
    Step 5 - RA and configure web server.
    I have used both SQL Server Express 2008 and Oracle DB 11g and get the same result.
    When I complete the install, restart all of the services, and run the diagnostic utility, I get a failure with foundation services indicating that the file "system-jazn-data.xml" cannot be found. No real help is provided with the error message and have found no help in the docs or on the web. I have searched the disk and the file seems to be in the proper place per the docs. I have done partial configs and do not get the error. I have then compared the system-jazn-data.xml file from the successful config to the system-jazn-data.xml file from the failed config they are identical. Both files seem to be bloated with tens of thousands of lines, most of them blank.
    I had reached a point where I thought the issue was related to Performance Scorecard and removed that step. I am now getting the error again.
    Anyone seeing this issue? Is it just a bogus message in the diagnostic report and can be ignored? Any other thoughts?
    Thanks
    EPMCloud

    Update - After going through the install many more times, I still do not know what the issue is, but I believe I have figured out how to resolve it. It appears that if you go back (after everything is installed and configured) and reconfigure the application server for Foundation services, the issue is corrected.
    I am running some final test now and if I discover something different, I will update the post.
    EPMCloud

  • After system restore i reinstalled firefox, how to get back bookmarks etc with old firefox data?

    After system restore the only thing i have is old firefox data on desktop if all bookmarks, passwords are recovered it will be great help.
    P.S
    i reinstall firefox from drive other than c ,that was in downloaded form.
    Thanks

    The "Old Firefox Data" folder on the desktop has been created as the consequence of resetting Firefox.
    Doing a Session Restore may have reverted the profiles.ini file to a previous version that hasn't registered the new profile folder that a reset had created, so you may need to check for this.
    * C:\Documents and Settings\&lt;user&gt;\Application Data\Mozilla\Firefox\Profiles\&lt;profile&gt;\
    The "Application Data" folder in XP/Win2K and the "AppData" folder in Windows Vista and Windows 7 and later versions are hidden folders.
    *http://kb.mozillazine.org/Show_hidden_files_and_folders
    If you have a profile folder that is more recent than the "Old Firefox Data" on the desktop then you can use edit the profiles.ini file and change the path of the currently default profile to the name of the profile folder as you find in Document and Settings.
    *http://kb.mozillazine.org/Recovering_a_missing_profile
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    It is always best to be cautious with using System Restore as this can cause some file to be replaced with older copies, i.e. your Firefox installation and profile folder can get inconsistent and you may have to reinstall Firefox as well.

  • Help with creating oracle text index on 2 columns with partial html data

    Hi,
    I need to create an oracle text index on 2 columns.
    TITLE - varchar(255) = contains plain text data
    DESCRIPTION - CLOB = contains partial HTML data
    This is what I created.
    begin
    ctx_ddl.create_preference ('Title_Description_Pref', 'MULTI_COLUMN_DATASTORE');
    ctx_ddl.set_attribute('Title_Description_Pref', 'columns', 'TITLE, DESCRIPTION');
    end;
    begin
    ctx_ddl.create_preference ('bid_lexer', 'BASIC_LEXER');
    ctx_ddl.set_attribute('bid_lexer', 'index_stems', 'ENGLISH');
    ctx_ddl.create_section_group('htmgroup', 'HTML_SECTION_GROUP');
    end;
    create index Bid_Title_Index on Bid(title) indextype is ctxsys.context parameters ('LEXER bid_lexer sync (every "sysdate+(1/24)")');
    create index Bid_Title_Desc_Index on Bid(description) indextype is ctxsys.context parameters ('LEXER bid_lexer DATASTORE Title_Description_Pref sync (every "sysdate+(1/24)") filter ctxsys.null_filter section group htmgroup');
    The problem is when I do a CONTAINS(description, '$(auction)')>0. I get results where the descriptions have the "auction" word (which is correct). But, the results also returned rows where the search word is inside an IMG tag. e.g. <img src="http://auction.de/120483" alt="Auction Logo"/>.
    What I would like is to exclude rows where the search word is inside HTML tag attributes, results expected are rows having <a>Auction</a> or <p>For Auction</p> ... etc. Basically stripping the html tags and leave the text contents.
    I'd appreciate some input.
    Thanks,
    Amiel

    Hi,
    I need to create an oracle text index on 2 columns.
    TITLE - varchar(255) = contains plain text data
    DESCRIPTION - CLOB = contains partial HTML data
    This is what I created.
    begin
    ctx_ddl.create_preference ('Title_Description_Pref', 'MULTI_COLUMN_DATASTORE');
    ctx_ddl.set_attribute('Title_Description_Pref', 'columns', 'TITLE, DESCRIPTION');
    end;
    begin
    ctx_ddl.create_preference ('bid_lexer', 'BASIC_LEXER');
    ctx_ddl.set_attribute('bid_lexer', 'index_stems', 'ENGLISH');
    ctx_ddl.create_section_group('htmgroup', 'HTML_SECTION_GROUP');
    end;
    create index Bid_Title_Index on Bid(title) indextype is ctxsys.context parameters ('LEXER bid_lexer sync (every "sysdate+(1/24)")');
    create index Bid_Title_Desc_Index on Bid(description) indextype is ctxsys.context parameters ('LEXER bid_lexer DATASTORE Title_Description_Pref sync (every "sysdate+(1/24)") filter ctxsys.null_filter section group htmgroup');
    The problem is when I do a CONTAINS(description, '$(auction)')>0. I get results where the descriptions have the "auction" word (which is correct). But, the results also returned rows where the search word is inside an IMG tag. e.g. <img src="http://auction.de/120483" alt="Auction Logo"/>.
    What I would like is to exclude rows where the search word is inside HTML tag attributes, results expected are rows having <a>Auction</a> or <p>For Auction</p> ... etc. Basically stripping the html tags and leave the text contents.
    I'd appreciate some input.
    Thanks,
    Amiel

  • Getting the Latest status with respect to DATE entered

    Hi guyz, kindly help me in this scenario:
    I have a DSO and a CUBE....
    DSO:
    cust
    status code
    status date
    RAW DATA
    cust               status code               status date
    payer1                    1                      12/31/2013
    payer1                    3                       1/3/2014
    payer2                    4                       12/15/2013
    payer2                    2                        1/10/2014
    CUBE:
    cust
    0calday
    qty (KF)
    RAW DATA
    cust                    0calday                    qty
    payer1                1/1/2014                    10
    payer1                1/2/2014                    20
    payer1                1/3/2014                    30
    payer1                1/4/2014                    40
    payer1                1/5/2014                    50
    payer2                1/1/2014                    60
    payer2                1/2/2014                    70
    payer2                1/3/2014                    80
    payer2                1/4/2014                    90
    payer2                1/5/2014                    100
    I need to have this report: (for example I entered 1/1/2014 - 1/5/2014)
    cust               status code               0calday              qty
    payer1                   1                       1/1/2014              10
    payer1                   1                       1/2/2014              20
    payer1                   3                       1/3/2014              30
    payer1                   3                       1/4/2014              40
    payer1                   3                       1/5/2014              50
    payer2                   4                       1/1/2014              60
    payer2                   4                       1/2/2014              70
    payer2                   4                       1/3/2014              80
    payer2                   4                       1/4/2014              90
    payer2                   4                       1/5/2014              100
    Is this possible in query? Or do I need to do this in start routine?
    By the way, I can already show the QTY figures, I used CONSTANT SELECTION..My problem now is how to the STATUS CODE..How will I do this?
    Thank you!
    Loed

    Loed,If you are flexible with modeling level changes then i would suggest to stamp the values of status and status date against payer in cube.
    Add the two objects ion cube.Do a lookup on the DSO from cube in End routine and based on payer fetch the value of status and status date against each payer.
    Now once you have the complete data in the cube then at reporting level to get the correct status based on the validity dates you can refer my blog.
    Status of Tickets based on their Dates
    PS:If you need assistance in the coding part then let me know.
    Regards,
    AL

Maybe you are looking for

  • White screen on Mac Book Pro

    My daughter was watching Netflix the day before X-mas on my MacBook Pro.... The screen went just went white.... I turned it off and back on.... The Apple icon/ gear turning/start up sound (beeebaaaa) all come on in the normal boot up protocol. As it

  • Problem in Getting Step Data in "Start Debug" while Mappings

    I have two table, one of source and other from warehouse. I have mapped them Now when i debug them i could n't see any data in Step Data tab (Right window Pane). Let me also tell u that i can see data while i Press Edit in Test Data Tab (i.e. that ta

  • Export table fr different server

    hi all, my company have 2 servers. how i can export table fr server 1 to server 2. tks in advance.

  • How to get adobe-signatures-client jar ?

    Hi there I need to develop a java applet which can quickly inject and read a signature in a PDF document. I found this guide, which seems perfect to do it : http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000910.html. But i

  • Query filter for linked work items by link type

    We are running TFS 2012. I am opening up my work item query in VS 2013 team explorer. I need to know how to write a query that allows me to filter OUT links of type "related" so that they don't show in the tree under the product backlog item in the s