![]() Registered Member ![]()
|
Hello
How can i Import a list of Scheduled Transactions from one KMM file to another KMM file? I have 2 separate [but closely related] KMM v4.6.2 files. One has less historical data but a detailed & up to date Scheduled Transactions register. The other has a large amount of historical data but no Scheduled Transactions. I can see that i can Export "Schedules to icalendar" ... i do not know what an icalendar is, but i have done this to see if it helps me. However, in the other KMM v4.6.2 file, there is no option to Import this schedule / icalendar. Rats! At the moment it looks like i need to MANUALLY recreate my existing Schedule, in my target file, which is certainly going to take some hours. Is there a way that i can simply Import my existing Schedule instead pls? Ta. Steffie. |
![]() KDE Developer ![]()
|
This can't be done. The export to calendar feature is there to enable the user to view his scheduled transactions in a calendaring application like KOrganizer (iCal is a widely accepted calendar format).
cristian.onet, proud to be a member of KDE forums since 2008-Oct.
|
![]() Registered Member ![]()
|
It could be possible to tweak the kmy file directly...
* Take the two kmy files, rename them from *.kmy to *.kmy.gz. * Do a gunzip *.gz * Search for the XML data structure SCHEDULES in one file * Copy all needed SCHEDULED_TX structures from the one file * Insert these into the second file * Modify the "id" in all copied <SCHEDULED_TX id="*"> structures in such a way that they are consistent with the already existing ones * Adapt the <SCHEDULES count="*"> of the second file according to the now updated number of schedules * Do gzip *.kmy of the second file * Rename the second file from *.kmy.gz to *.kmy And you are done. Be careful though. Keep backup copies. It might be a little tedious, but perhaps it's better than recreating all your many schedules manually in KMM itself. |
![]() Registered Member ![]()
|
![]() |
![]() Registered Member ![]()
|
Thank you mkae -- i was initially excited at the prospect of a workaround, til i realised that apparently these are Linux commands that you've advised ... unfortunately i'm a Win7 user & know nothing about Linux. Oh well, looks like several strong coffees & a few hours are needed, for me to tediously manually setup every scheduled transactions in my main KMM file. Pity... though i still overall love KMM. Steffie. |
![]() Registered Member ![]()
|
You can do the same things under Windows. Copy your kmy file to another file with the .gz extension. Double-clicking the copy will "gunzip" it, and you should be able to edit it from there and put it back in the gzip. It should not be too hard to do. You can do everything with the mouse without typing a single command. Just make sure you do not replace the original until you're 100% sure the new file is OK. |
![]() Registered Member ![]()
|
Hi zebulon, thanks.
I must have not done it correctly because when i tried to follow your advice , unexpected things happened ... so i've backed out of it & am now simply manually replicating my schedule in my target file. It's probably only something simple that i misunderstood & did wrong, but i felt at this rate it'd be faster just to do it manually now ... not elegant, but i'll get the outcome i need. Many thanks anyway. Steffie. |
Registered users: Bing [Bot], Evergrowing, Google [Bot]