How to implement "undo aggregation"?

Hello
We are doing an integration project for RFID serialization, using AII 5.1. There is a use case I donu2019t know how to tackle: Disaggregating.
The user wants to be able to undo an aggregation from the warehouse handheld application.
We are using XI/PI so we can implement custom transactions.
What will be the best approach? Is there a default PML/activity/rule we can use?
Thanks!
Gonzalo

I don't know of any such function already implemented, but you could easily write your own. You would need a stack to hold all the details of each function performed. Eveery time you do anything, get the program to add details of it to the stack. Then a simple algorithm should be able to return the table to its original state.

Similar Messages

  • How to implement "Undo" option using acrobat SDK

    Hello,
         I want to implement "Undo" option in my application which will restore last modified data.
         I am reffering to acrobat 7.0 SDK. I am trying with AVUndo functions from SDK.
         I am not getting basic thing to start the implementation.
         Please suggest me a way for implementation of "Undo" option.
    Thanks in advance.

    Look at the Stamper sample. It also demonstrates use of the AVUndo API.

  • How to implement aggregation for different date periods

    We have a report which shows various metrics for a given date period, selected by date prompts.
    The problem is that one of the metrics should show data only for the first day in the range, selected by the prompt.
    So, for example, if user selects in the prompt the range Oct 1 - Oct 10, then that particular column should only show data for Oct 1, while all others - for Oct 1 - Oct 10.
    Any suggestions how to implement this would be appreciated.

    Please try to play around with case statements in the fact column.

  • How to manage Undo with multiple models linked together

    Hello,
    I'm writing a java desktop application using MVC model. I'm using javax.swing.undo.UndoManager and related classes to manage the undo/redo capabilities. I know how to use it but I can't see how to implement it in a clean way when I have several models linked together. I hope someone can help...
    I have 2 models M1 and M2. M2 depends on M1, so M2 listens to M1 changes.
    Each model has its own view V1 and V2.
    Model's methods which change the model's state create an UndoableEdit to restore the previous model's state.
    UndoableEdits are combined together in a CompoundEdit created by the controller.
    Upon a user action on V1:
    1. M1 change
    => add UndoableEdit to current CompoundEdit
    => notify V1
    => notify M2
    2. M2 change
    => add UndoableEdit to current CompoundEdit
    => notify V2
    When we undo the CompoundEdit:
    1. Undo M2 change
    => notify V2
    2. Undo M1 change
    => notify V1
    => notify M2 !! PROBLEM
    3. M2 change !! PROBLEM
    => notify V2 !! PROBLEM
    And this is my problem: when undoing change on M1, I need to notify listeners (V1 and M2), but in this case M2 should not be notified because M2 has already restored its previous state in the CompoundEdit undo chain.
    A solution might be to inhibit M2 listener if we're inside a undo/redo, but I feel it's not clean and not sure it will always work... Is there another way to solve this ? Or is it my architecture which is wrong ?
    Thank you.
    Edited by: gibi_31 on Aug 19, 2010 3:08 AM
    Edited by: gibi_31 on Aug 19, 2010 3:11 AM

    Hello,
    Upon a user action on V1:
    1. M1 change
    => add UndoableEdit to current CompoundEdit
    => notify V1
    => notify M2
    2. M2 change
    => add UndoableEdit to current CompoundEditWhy?
    Do you need to be able to undo the M2 change alone in any other case than undoing M1's change?
    And if you don't add M2 change to the compound edit, doesn't the M2 update triggered by undoing the the M1 undo the M2 state automatically (thus performing the M2 undo)?
    And this is my problem: when undoing change on M1, I need to notify listeners (V1 and M2), but in this case M2 should not be notified because M2 has already restored its previous state in the CompoundEdit undo chain.
    A solution might be to inhibit M2 listener if we're inside a undo/redo, but I feel it's not clean and not sure it will always work...I agree it looks unclean (and quite dangerous actually if the app ever needs to support some form of multi-threaded model changes).
    Regards,
    J.

  • How to implement erase function of paint program?

    Hello all:
    there are many demo programs on the website that indicates how to implement
    a simple draw line java program.
    However, i didn't find available source to learn how to implement the erase function,
    so that we can erase part of line or all lines.
    Some programs present the methods to do undo operations, however none of them
    related directly to how to implement erase function.
    thank you for comments
    -Daniel

    Hello all:
    there are many demo programs on the website that
    indicates how to implement
    a simple draw line java program.
    However, i didn't find available source to learn how
    to implement the erase function,
    so that we can erase part of line or all lines.
    Some programs present the methods to do undo
    operations, however none of them
    related directly to how to implement erase function.
    thank you for comments
    -DanielThere are a few ways depending on the app requirement or design.
    The simplest one is to draw with the background color, typically white.

  • How to Implement BW in IT Service Desk/IT Help Desk /IT Complain Surveillance Dept/IT Customer Support Dept?

    Hi
    If a organization have 200 to 300 daily complains of there IT equipment/Software/Network e.t.c.
    How to Implement BW in IT Service Desk/IT Help Desk /IT Complain Surveillance Dept/IT Customer Support Dept?
    Is there any standard DataSources/InfoObjects/DSOs/InfoCubes etc. available in SAP BI Content?

    Imran,
    The point I think was to ensure that you knew exactly what was required. A customer service desk can have many interpretations from a BI perspective.
    You could have :
    1. Operational reports - calls attended per shift , Average number of calls per person , Seasonality in the calls coming in etc
    2. Analytic views - Utilization of resources , Average call time and trending , customer satisfaction , average wait time
    3. Strategic - Call volumes corresponding to campaigns etc , Employee churn and related call times
    Based on these you would then have to construct your models which would be populated by data from the MySQL instance for you to report.
    Else if you have BWA you could have data discovery instead or if you have HANA - you could do even more and if you have a HANA sidecar - you technically dont need BW. The possibilities are virtually endless - it depends on how you want to drive it and how the end user ( client ) sees value in the same.

  • How to implement implicit and explicit enhancement points

    Hi,
    Can anybody please provide some technical aspects of enhancement spots. I have gone through several sap sites and help poratl but have not get much technical things (how to implement or related t codes). please do not provide link to read theories.
    Rgds
    sudhanshu

    Hi,
    Refer to this link...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5f/103a4280da9923e10000000a155106/content.htm

  • How many types of authentications in sharepoint and how to implement those authentication in sharepoint?

    Hi All,
    How many types of authentications in sharepoint and how to implement those authentication in sharepoint?
    can any one explain the above things with examples?
    Thanks in Advance!

    In addition to
    A Sai Gunaranjan you can also check this URL for Sharepoint 2010:
    http://technet.microsoft.com/en-us/library/cc288475(v=office.14).aspx
    http://www.codeproject.com/Tips/382312/SharePoint-2010-Form-Based-Authentication
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote***

  • How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?

    Hi,
    I have created custom action for Share functionality in document library.
    On Share action i'm showing Model pop up with Share form with addition functionality.
    I am developing custom share functionality because there is some addition functionality related to this.
    How to Implement custom share functionality in SharePoint 2013  document Lib pro-grammatically?
    Regards,
    - Siddhehswar

    Hi Siddhehswar:
    I would suggest that you use the
    Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
    as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
    We customize <Edit> Ribbon. As shown below.
    When user click <Edit Item>, the system will
    render customized pop up window.
    Will

  • My emails from the same person are grouped together, how do I undo this so that each email stands on it's own?

    1.My emails from the same person are grouped together, how do I undo this so that each email stands on it's own?
    2.Currently my emails are grouped together if the subject is the same, how do I undo this?
    3.My emails are "folded up", with tabs like "See more" - how do I undo this? - I want to see the full email at once without having to click multiple times in the email on "show more" etc.
    4.When I send an email to some one, a copy of that email is sometimes sent to me?? - this confuses my and make me think I by accident sent it to myself, but when I check it in the SENT box, it the correct recipient's name was used. How to fix this mystery?
    Please help, I am not good with computers so you will have to keep your answer simplictic or in steps.
    Thanks!

    Click the View menu in the Mail menu bar and uncheck Organize by Conversation.

  • I have two different apple id's, one on my computer and one on my phone. i connected my phone to sync music and i lost most of my music. i realised that the music i lost is from the apple id on my mac. how do i undo this mess? help anyone?

    i have two different apple id's, one on my computer and one on my phone. i connected my phone to sync music and i lost most of my music. i realised that the music i lost is from the apple id on my mac. how do i undo this mess? help anyone?

    The iphone will mirror the selected content of your computer.
    Make sure everything is on your computer.  Select what you want on your iphone, sync

  • How can I undo an add-on settings sync?

    I use Firefox Sync. As far as I can tell, bookmarks synced well. Tabs didn’t but that’s probably due to having opened to many on my main machine. Also add-ons synced i. e. the Firefox on a Ubuntu laptop now has all the add-ons that my home computer Firefox has. Unfortunately, the sync reset all of the settings in some add-ons. So, for example, in LeechBlock the list of websites that I’d like to block, the schedule and all the rules are gone. How can I undo the last sync? Or is there a way to make my main computer the master in all syncs?

    The prefs that are set by an extension are usually not included in the Sync, so you get the default setting if you sync an extension from one computer to another.
    Only prefs that have a corresponding services.sync.prefs.sync.* pref that is set to true will be synced to other devices.
    If you want to sync additional prefs then you can create a corresponding Boolean sync pref yourself and set the value to true.
    * services.sync.prefs.sync. (with the pref name appended no space after the last dot)
    *http://kb.mozillazine.org/about:config

  • Can't Figure Out How To Implement IEnumerable T

    I have no problem implementing IEnumerable but can't figure out how to implement IEnumerable<T>. Using the non-generic ArrayList, I have this code:
    class PeopleCollection : IEnumerable
    ArrayList people = new ArrayList();
    public PeopleCollection() { }
    public IEnumerator GetEnumerator()
    return people.GetEnumerator();
    class Program
    static void Main(string[] args)
    PeopleCollection collection = new PeopleCollection();
    foreach (Person p in collection)
    Console.WriteLine(p);
    I'm trying to do the same thing (using a List<Person> as the member variable instead of ArrayList) but get compile errors involving improper return types on my GetEnumerator() method. I start out with this:
    class PeopleCollection : IEnumerable<Person>
    List<Person> myPeople = new List<Person>();
    public PeopleCollection() { }
    public IEnumerator<Person> GetEnumerator()
    throw new NotImplementedException();
    IEnumerator IEnumerable.GetEnumerator()
    throw new NotImplementedException();
    class Program
    static void Main(string[] args)
    // Create a PeopleCollection object.
    PeopleCollection peopleCollection = new PeopleCollection();
    // Iterate over the collection.
    foreach (Person p in peopleCollection)
    Console.WriteLine(p);
    Console.ReadLine();
    That code compiles (basically because I haven't really done anything yet), but I get compile errors when I try to implement the GetEnumerator() methods.

    The List<T> class implements the IEnumerable<T> interface, so your enumerator can return the GetEnumerator call from the list.
    class PeopleCollection : IEnumerable<Person>
    List<Person> myPeople = new List<Person>();
    public PeopleCollection() { }
    public IEnumerator<Person> GetEnumerator()
    return myPeople.GetEnumerator();
    IEnumerator IEnumerable.GetEnumerator()
    return myPeople.GetEnumerator();
    class Program
    static void Main(string[] args)
    // Create a PeopleCollection object.
    PeopleCollection peopleCollection = new PeopleCollection();
    // Iterate over the collection.
    foreach (Person p in peopleCollection)
    Console.WriteLine(p);
    Console.ReadLine();

  • Apple recently merged all my devices so that if I miss messages or facetime calls on one device, they get forwarded to my other devices. how do I UNDO this so this no longer happens?

    Apple recently merged all my devices so that if I miss messages or facetime calls on one device, they get forwarded to my other devices. how do I UNDO this so this no longer happens?

    If you don't want them to be unified, don't use the same Apple ID for FaceTime and iMessage on our devices.  Go to Settings>Messsages>Send & Receive, tap the ID, sign out, then sign back in with a separate ID.  Do the same thing in Settings>FaceTime.

  • How to implement Tool TIP in Table Control

    Hello Everyone,
    Can you please tell me how to implement a tooltip messages in table control columns.
    The Tooltip contains a simple message like "Doublde click on column.
    Thanks in advance.
    Edited by: Suruchi Razdan on Jun 6, 2011 7:57 AM

    Hello,
    In table Control->first Header Row has chance to maintain the Tooltip option.
    In table control columns maintain Double click options in attributes .
    Regards,
    Praveen

Maybe you are looking for

  • I am trying to configure two WRV200 from 2 different loca...

    I am trying to configure two WRV200 from 2 different location and ADSL accounts. One location has PPPoE and the other has PPPoA. Both of it are having a Speedtouch 356 6V modem. The router which using PPPoE and having a DDNS from TZO.com has no probl

  • How do I find and include pre-existing music files on my PC?

    I'm new to iTunes and believe that I should be able to find and include pre-existing music files on my PC? I've found out how to show the menu bar but I can't see how to do the above except file/folder by file/folder.

  • How to display a row after a subtotal field in ALV Grid

    Hi All, My requirement is to print a extra row with values and constant text after printing subtotal values in ALV Grid. e.g.      TOTAL      12.23       ---> Subtotal field              Tax            5.2         ---> extra row after subtotal field.

  • Drivers for windows XP 64 bit - struggling to get my machine working!

    I was calling Lenovo for the windows XP 64bit drivers, apparently, according to the answers i received 'they dont have it'? sounds a little strange how can they sell machines with 4GB and more and not support the 64bit? I am missing sound, Video and

  • How to get the size of partition?

    The following SQL will get the rows of the fact table & aggregation. But how to get the size (MB) of the partition. select * from $system.discover_partition_stat That should be doable, because in BIDS, we can see the size of a partition, but from whi