Securities snapshot lost upon restarting Moneydance

John Hillery's Avatar

John Hillery

28 Oct, 2018 07:52 PM

Since upgrading to version 2017.8 (1691), I notice the securities price snapshots I create with my own Java extensions are lost when Moneydance restarts. I do not see this issue on prior versions of Moneydance. I use the following statement sequence:
private CurrencyType security;
private double newPrice;
private int newDate;
CurrencySnapshot newSnapshot = this.security.setSnapshotInt(this.newDate, 1 / this.newPrice);
this.security.syncItem();
Following this, my new price snapshots appear in Moneydance and control balances in the UI. So everything seems fine until I exit Moneydance and restart with the same file. After restart all other changes are there, but these new snapshots are missing.
Am I skipping a step?

  1. 1 Posted by -Kevin N. on 28 Oct, 2018 08:58 PM

    -Kevin N.'s Avatar

    Hi john.hillery2,

    This might be worth a look...

    Per the preview build change log,
    http://infinitekind.com/previewdl/current/changelog.txt
    build 1693 - fixed bug in which imported changes to historical currency rates or security prices were not saved across restarts

    If you purchased Moneydance thru the Moneydance website (as opposed to the Apple store or elsewhere) then you can d/l the preview build - currently MD 2017.10 (1704) here:
    http://infinitekind.com/preview

    -Kevin N. (not a member of MD support)

  2. 2 Posted by John Hillery on 28 Oct, 2018 10:42 PM

    John Hillery's Avatar

    Sounds promising - thanks Kevin.
    However, I put on 2017.10 (1704) and still have the same problem.

    -John H.

  3. 3 Posted by John Hillery on 30 Oct, 2018 01:59 AM

    John Hillery's Avatar

    I tried several code variations and found a change that persists my securities price snapshots. I now need to call syncItem() on the snapshot to survive Moneydance restarts:
    CurrencySnapshot newSnapshot = security.setSnapshotInt(newDate, 1 / newPrice);
    newSnapshot.syncItem();

    This discussion can be marked resolved.

  4. Support Staff 4 Posted by Sean Reilly on 30 Oct, 2018 09:55 AM

    Sean Reilly's Avatar

    From: John Hillery <[email blocked]>(mailto:[email blocked])
    Reply: [email blocked] <[email blocked]>(mailto:[email blocked])

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

02 Dec, 2024 01:34 PM
02 Dec, 2024 12:49 PM
02 Dec, 2024 11:29 AM
02 Dec, 2024 08:29 AM
02 Dec, 2024 07:08 AM