Displaying most recent transactional edit vs parent transaction

I have a Crystal XI report developed to display testing data. The data is displayed for example:
ID             Parent ID           Date                           <additional columns for additional data>
10770                              8/5/2010  2:00:00pm
10771       10770               8/5/2010 6:00:00pm
On the database, if the parent id in this case is edited, we make a copy of the parent 10770 and created new ID 10771 with all of the same data except for the information that was changed.
This data lies in the group header #3.
On this report, how can I display only the most recent record which is 10771? I tried timestamp, various group level with no success.
Any recommendation is greatly appreciated. Thank you

Assuming ID is a number field then create a formula field :
stringvar IDtxt;
IDtxt:=totext({table/ID},0,"");
left(idtxt, len(idtxt)-1)
Group on this formula field (within your current groups).
Sort the records within this on ID descending.
Set out the group header with all the fields you want to see from the latest record.
Suppress the detail section.

Similar Messages

  • Help with getting the most recent transaction

    I have a system that keeps track of part repairs. Unfortunately a part my come in for repair multiple times. I want my query to pull back the most recent time/ request id that a part came in. This is my basic query, but it pulls back multiple records for the given part/serial number combo. How can I re-write this? Thanks
    SELECT M4OWNER.STOCK_SERIAL_ID.BIN_ID AS "Bin",
    M4OWNER.RECEIVING_UNIT.CREATED_DTTM AS "Date Placed in Bin",
    M4OWNER.STOCK_SERIAL_ID.SERIAL_ID AS "Serial ID",
    M4OWNER.STOCK_SERIAL_ID.PART_ID AS "Part ID",
    M4OWNER.STOCK_SERIAL_ID.USEABLE AS "Usable Status",
    M4OWNER.RECEIVING_UNIT.REQUEST_ID AS "Request ID",
    M4OWNER.RECEIVING_UNIT.REQUEST_LINE AS "Line",
    M4OWNER.STOCK_SERIAL_ID.PLACE_ID AS "Warehouse",
    M4OWNER.STOCK_SERIAL_ID.LOCATION AS "Location"
    FROM M4OWNER.STOCK_SERIAL_ID INNER JOIN
    M4OWNER.RECEIVING_UNIT ON M4OWNER.STOCK_SERIAL_ID.SERIAL_ID = M4OWNER.RECEIVING_UNIT.SERIAL_ID AND
    M4OWNER.STOCK_SERIAL_ID.PART_ID = M4OWNER.RECEIVING_UNIT.PART_ID INNER JOIN
    M4OWNER.RECEIVING ON M4OWNER.RECEIVING_UNIT.RECEIVING_ID = M4OWNER.RECEIVING.RECEIVING_ID INNER JOIN
    M4SUPP1.PART ON M4OWNER.STOCK_SERIAL_ID.PART_ID = M4SUPP1.PART.PART_ID
    WHERE (M4OWNER.STOCK_SERIAL_ID.BIN_ID = 'LOCATION')
    AND (M4OWNER.STOCK_SERIAL_ID.SERIAL_ID = 'ISSUE360')

    I have a system that keeps track of part repairs. Unfortunately a part my come in for repair multiple times. I want my query to pull back the most recent time/ request id that a part came in. This is my basic query, but it pulls back multiple records for the given part/serial number combo. How can I re-write this? Thanks
    SELECT M4OWNER.STOCK_SERIAL_ID.BIN_ID AS "Bin",
    M4OWNER.RECEIVING_UNIT.CREATED_DTTM AS "Date Placed in Bin",
    M4OWNER.STOCK_SERIAL_ID.SERIAL_ID AS "Serial ID",
    M4OWNER.STOCK_SERIAL_ID.PART_ID AS "Part ID",
    M4OWNER.STOCK_SERIAL_ID.USEABLE AS "Usable Status",
    M4OWNER.RECEIVING_UNIT.REQUEST_ID AS "Request ID",
    M4OWNER.RECEIVING_UNIT.REQUEST_LINE AS "Line",
    M4OWNER.STOCK_SERIAL_ID.PLACE_ID AS "Warehouse",
    M4OWNER.STOCK_SERIAL_ID.LOCATION AS "Location"
    FROM M4OWNER.STOCK_SERIAL_ID INNER JOIN
    M4OWNER.RECEIVING_UNIT ON M4OWNER.STOCK_SERIAL_ID.SERIAL_ID = M4OWNER.RECEIVING_UNIT.SERIAL_ID AND
    M4OWNER.STOCK_SERIAL_ID.PART_ID = M4OWNER.RECEIVING_UNIT.PART_ID INNER JOIN
    M4OWNER.RECEIVING ON M4OWNER.RECEIVING_UNIT.RECEIVING_ID = M4OWNER.RECEIVING.RECEIVING_ID INNER JOIN
    M4SUPP1.PART ON M4OWNER.STOCK_SERIAL_ID.PART_ID = M4SUPP1.PART.PART_ID
    WHERE (M4OWNER.STOCK_SERIAL_ID.BIN_ID = 'LOCATION')
    AND (M4OWNER.STOCK_SERIAL_ID.SERIAL_ID = 'ISSUE360')

  • Transferred mail doesn't display "most recent" messages in iOS3

    I just setup a brand new Mac OS X Snow Leopard Server and began transferring mail from offline mailboxes to the IMAP structure on the server. This works fine in Apple Mail, as it displays the entire message list and keeps a local cache. However, this does not work properly on my iPad, iPhone or those same iDevices belonging to my colleagues.
    Instead, it displays a seemingly "random" list of 200 messages rather than the "most recent" messages.
    An extensive search of Apple Discussions yielded three very similar cases, all seeming to involve the transfer of mail from one server to another with similar results (errors).
    http://discussions.apple.com/thread.jspa?messageID=11656333&#11656333
    http://discussions.apple.com/message.jspa?messageID=10850276#10850276
    http://discussions.apple.com/thread.jspa?messageID=11318599&#11318599
    Has this been solved? Can someone offer me/us some help?
    FTR:
    I am running Mac OS X Snow Leopard (10.6.4), the server is also up-to-date and the iPhones/iPads are as well (3.1.3 and 3.2 respectively).
    Thank you,

    the message just isn't seen as a multipart message.
    What do you mean by that exactly? Only the plain text version is displayed?
    Send me one (tom at bluesky dot org). Not forwarded or copied -- send it to me as if I were one of the normal recipients.

  • Display most recent content

    I have a large xml file filled with news articles. Is there a
    way set a limit on the number of items that are displayed on my
    webpage? For example, display the ten most recent items.
    Thanks,
    Eric

    Hi Eric,
    we have a similar post that presents a solution of how to do
    your request.
    You can find it
    here.
    Diana

  • Mail not displaying most recent messages --1000 message capacity?

    Sorry if this is a duplicate topic, I seached, but found nothing.
    Here's my situation:
    I have two email account on my iPhone. One is gmail, and one is my school email account. Before today, I have had no issues with mail at all, however, this morning when I go to check my school email, it showed me emails from last November as being the newest emails (and had correctely marked them as read). At the bottom of the list of emails, it said displaying "some number" out of 1000 messages. I have well over 1700 emails on this account so I do not understand why it was only counting up to 1000 of them all of the sudden, since I had passed the 1000 message barrier a long time ago.
    After deleting tons of old emails, my phone then displayed messages from March of 2009, and still said "out of 1000" at the bottom. So, I logged onto my email and saw that I still had 1064 messages in the inbox. I then deleted more old messages until the inbox was at well under 900, and then all of the "missing" mail came through.
    So, after my longwinded story, I guess I'm trying to ask why that happened, and if there is some email capacity I reached. I only have my phone display the last 50 messages, so I do not understand why it even matter how many messages are in the inbox.
    Sorry if my wording is terrible... It's Friday and I'm tired.
    thanks for any help!

    I have the same problem and posted about it. So it's confirmed it's happening to more than 1 person. I also have 2 accounts setp up. Both are yahoo. One account is fine the other shows mail from 2 years ago as recent. I have over 2k messages in one folder and I can not delete them. They are work history. That's why I love the new yahoo cause it works like gmail and I can search that history now.
    Anyway I need this fixed cause the inbox only shows about 10 new messages and then only shows like 6 months ago and older.
    They have worked fine over the last month and now all the sudden I get up this morning and it went to crap..

  • Planned activities assignment block not sorted by most recent first

    Hi,
    I have implemented BADI CRM_BP_UIU_BT of enhancement spot CRM_UIU_BP_ENHANCEMENT in order to increase the number of results in the planned activities assignment block on the BP overview page to 250 as the standard is 100 and this works fine.
    The problem is that the most recent transactions are not displayed first.
    Can someone tell me how where i can implement som ecode to influence the initial selection of the data so it only looks up the most recent 250.
    I don't believe this can be done in a sort on the BSP page, as only 250 records would have been selected.  If the BP has 250 or under this works fine, but as soon as they have more than 250 the sort obviously doens't include the other planned activities.
    If someone can suggest as way to do this I would really appreciate it.
    Thanks
    Matt.

    Matt,
    Please review OSS Notes 1246331 and 1226594 found by doing search on FM in service.sap.com
    CRM_BSP_OIC_1O_SEARCH_FROM_RF
    In addition this old thread explains more information:
    Re: Display 100 most recent entries in interaction history
    Take care,
    Stephen

  • How to select Most recent record with rest of record in ascending order...?

    Dear Expert,
    I have one table called Tab1 & have a lot columns. For this schenario, i mentioned few of the columns.
    The columns are
    product_type varchar2(100),
    curr_date date (storing with time stamp),
    other1_cloumn varchar2(10),
    other2_cloumn varchar2(10)
    Now I want to display all the records in ascending order except most recent record for every product_type || Union all || Most recent records in ascending order in single query.
    For example...
    product_type curr_date date other1_cloumn other2_cloumn
    1, "10-May-2005 10:10:10", 10, 10
    1, "10-May-2005 10:10:11", 10, 10
    1, "10-May-2005 10:10:12", 10, 10
    1, "10-May-2005 10:10:09", 10, 10
    2, "10-May-2005 10:10:10", 10, 10
    2, "10-May-2005 10:10:11", 10, 10
    2, "10-May-2005 10:10:12", 10, 10
    2, "10-May-2005 10:10:09", 10, 10
    3, "10-May-2005 10:10:10", 10, 10
    3, "10-May-2005 10:10:11", 10, 10
    3, "10-May-2005 10:10:12", 10, 10
    3, "10-May-2005 10:10:09", 10, 10
    Now I want to display (OUTPUT) like...
    1, "10-May-2005 10:10:10", 10, 10
    1, "10-May-2005 10:10:11", 10, 10
    1, "10-May-2005 10:10:09", 10, 10
    2, "10-May-2005 10:10:10", 10, 10
    2, "10-May-2005 10:10:11", 10, 10
    2, "10-May-2005 10:10:09", 10, 10
    3, "10-May-2005 10:10:10", 10, 10
    3, "10-May-2005 10:10:11", 10, 10
    3, "10-May-2005 10:10:09", 10, 10
    1, "10-May-2005 10:10:12", 10, 10
    2, "10-May-2005 10:10:12", 10, 10
    3, "10-May-2005 10:10:12", 10, 10
    Plz, provide a solution....

    I want to display like...
    select * from tab1 where (product_type,curr_date) in
    (select product_type,max(curr_date) from tab1 group by product_type)
    order by product_type
    Union All
    (select * from tab1 where (product_type,curr_date) NOT IN
    (select product_type,max(curr_date) from tab1 group by product_type)
    order by product_type)
    But, In the above case, The ORDER BY Clause will not work...How to get this one...?
    I mean.. I want to display all the records in ascending order except Most recent record base on Product type and next I want to display Most recent record in ascending order. I want to display both cases in a single query...?

  • Most recently sold date

    Hi Friends,
    I have a requirement where my client wants to have a report that displays "most recently sold date ".
    The report should have " sales org", " material num" and " most recently sold date"
    upon execution, he should be able to find a recent date sold for a requested material.
    Please let me know, do any standard reports have this " most recent sold date"? if not how and from where get into report.
    Thanks
    Pavan

    Hi Pavan,
    Create an ODS which is having info objects like
    Sales org (Key field )
    Material(Key field )
    Invioce Date(Key field )
    Invoice Amount (KF) (Data field )
    Invoice amount should be an exception aggregate with excpetion on Last value and ref. characteristics should be invoice date . This way if there is material sold on 10 diff. invoice date , system will have only one record of last invoice date.
    Create update rule from 0SD* cube to custom made ods . And the required report could be achieved through this ODS.
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

  • How to display maximum (most recent) date value in a query

    hello,
    I have the following query:
    StudentNumber | ExternalOrganization | Date |         | NumbeOfAdmissions
    0112                  050                            06/27/2007   1
    0234                  060                            07/15/2008   1
    1356                  025                            01/08/2008   1
    My dilemma is how to display only the row that has the most recent Date, e.g. here I want to only see the row with student number 0234 and date 07/15/2008; everything else should be hidden.
    I know it should be very simple....yes/no?
    thanks

    Hi
    even I am facing the same problem..
    Can you please tell me what did you do to get most recent record..
    Even I have made my date field as KF.. n have put condition on it.. but not getting desired result.. may be I am missing something.. somewhere..
    I resolved it.. thanks
    Regards
    Swati
    Edited by: Swati on Feb 17, 2009 7:49 AM

  • Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top?

    Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top? I know this can be done when they are displayed as a list, but I want icons!

    Hi geezer,
    when you open your 'Downloads' folder choose 'View'  in the Menu bar and choose:
    'as List'
    'Show View Options'
    In 'View options' window you tick:
    'Always open in list view'
    'Date Modified', or
    'Date created'
    Now inside the 'Downloads' folder click on 'Date Created' (or 'Date Modified')
    column to get items alined from oldest to newest date (or reverse)…

  • I need to know how to delete the most recent version of Firefox. I JUST downloaded it tonight and my computer doesn't have that little edit bar to work with so I can download the proper Adobe player and my internet has been screwed up ever since I downlo

    I need to know how to delete the most recent version of Firefox. I JUST downloaded it tonight and my computer doesn't have that little edit bar to work with so I can download the proper Adobe player and my internet has been screwed up ever since I downloaded the new version of Firefox. I just want the old version of it back since I apparently can't download the Adobe stuff that is necessary to keep my computer safe from Hackers. It sure would have been nice to know there was an issue with the new Firefox Update BEFORE I uploaded it. I have Vista which is usually an issue with both Adobe and Firefox. I don't seem to be able to run much of Adobe at all on my computer because of the Vista.
    == This happened ==
    Every time Firefox opened

    I have also noticed all my settings won't stay set, example....I removed the check mark from "third party cookies", the when I close Firefox and reopen the check mark is back, also my tool bar has screwed up....can't reset, been having trouble the up grade.

  • Have most recent macbook pro connected to thunderbolt via thunderbolt cable.  Occasionally when I close my laptop the thunderbolt display goes black and does not come back on---even in response to keyboard.  Help

    Have most recent macbook pro connected to thunderbolt via thunderbolt cable.  Occasionally when I close my laptop the thunderbolt display goes black and does not come back on---even in response to keyboard.  Help

    Hello QuinnDev,
    Thank you for posting in the Apple Support Communities.  It sounds like you are trying to use your MacBook Pro with a Thunderbolt Display in closed clamshell mode (MacBook Pro closed), but sometimes the display doesn't stay on.  I found an article that talks about closed clamshell mode.  You would have to fulfill the following requirements to use your display this way:
    Requirements for closed display mode:
    Power adapter
    External keyboard, mouse, or trackpad
    External display
    You can find all the steps and the full article here:
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display
    http://support.apple.com/kb/HT3131
    I hope this helps!
    All the best,
    Sheila M.

  • Display changed/overscan not working after most recent update

    I'm running my mini through an LG 42" plasma TV using a store-bought HDMI to DVI cable, and I had the resolution at 1344x756.
    After I did the most recent update for what I assume was Leopard 10.5.7, my resolution and colour quality changed. Now with overscan on the picture is cropped and the dock is almost out of view when I hover over it, and with overscan off there is a black gap of about an inch framed around my screen. The only change ocurred after I reset the computer post-update. I tried re-installing the update and messing around with the cable connection to no avail.
    What are the odds that it was the cable? Is there anything you know of to roll back updates? Has this happened to anyone?

    I have exactly the same problem, on a Sony 36". With overscan on, I can't see the menu bar at the top of the screen, and lose a lot of the dock. By turning overscan off, and fiddling the display settings on the TV (altering area to -2) I can get it so it uses up more (tho still not all) of the screen, with all the bars etc.
    I could live with this, however it also seems to have screwed up the res. No matter what setting I use the fonts look fuzzy and hard to read. The tv screen was never quite as crisp as the monitor on our iMac, but I could read an e-mail without feeling nauseous.
    Hoping Apple will fix this....

  • Did the most recent update and now my TB Display turns off randomly on both my air and mini. I running  TB Firmware Version:     23.6

    did the most recent update and now my TB Display turns off randomly on both my air and mini. I running  TB Firmware Version:
    23.6

    When did you get this firmware version?  My TBD is at 22.2 and the TBD bus is at 23.4.  I thought I had the latest firmware.

  • How to get the material list displayed in CU50 transaction into ABAP report

    How to get the 'KMAT" type material list displayed in CU50 transaction into ABAP report?
    I am getting the entire BOM when i am using the FM CS_BOM_EXPL_MAT_V2 in to the table in the report.
    But I want only the material list displayed in CU50.

    Hi,
    Could you please tell us how you found a solution to your problem?
    Thanks & regards
    Hassan

Maybe you are looking for