New transactions cause a TransactionListener.transactionModified event

Kevin Stembridge's Avatar

Kevin Stembridge

11 Apr, 2015 08:49 PM


When I enter a new transaction in an account register, my TransactionListener.transactionModified method gets invoked.

I'm using MD 2015.3 1175. This was working correctly in MD 2014. Is this new behaviour intentional or is it a bug?


  1. Support Staff 1 Posted by Sean Reilly on 13 Apr, 2015 03:43 PM

    Sean Reilly's Avatar

    Hi Kevin,

    Sorry about that. Because of the new back-end and syncing system, that is the way it will work from now on. I'm sorry for not updating the documentation to indicate that!

    Sean Reilly
    Developer, The Infinite Kind

  2. Sean Reilly closed this discussion on 13 Apr, 2015 03:43 PM.

  3. Kevin Stembridge re-opened this discussion on 13 Apr, 2015 04:03 PM

  4. 2 Posted by Kevin Stembridg... on 13 Apr, 2015 04:03 PM

    Kevin Stembridge's Avatar

    Hi Sean,

    Thanks for the info.

    From what I can see there isn't any way to distinguish new transactions from the transactionModified event. However, I do see that something is logging the before and after state of the transaction in the console window (pasted below). It would be great if this was the information that was provided in the transactionModified event handler.


    recording (existing) txn editing: [ParentTxn(3f787a4e-1bd7-41a0-a527-d017e9e7fb49) desc=nursery; val=-9000; stat= ; #splits=1; chk=; acct=Current2; date=20150413; splits=SplitTxn: val=9000; amt=-9000; desc=nursery; stat= ; cat=Childcare; tags=[(samt:9000)(acctid:99a4f795-0937-4a57-9cfe-0389e91d75dc)(obj_type:)(id:177b6d65-0ce6-4728-9a3a-0fb96eada07b)(pamt:-9000)(oldid:-1)(acct:10)(desc:nursery)(tags:)]; ], ; ]
    changed: [ParentTxn(3f787a4e-1bd7-41a0-a527-d017e9e7fb49) desc=nursery; val=-7000; stat= ; #splits=1; chk=; acct=Current2; date=20150413; splits=SplitTxn: val=7000; amt=-7000; desc=nursery; stat= ; cat=Childcare; tags=[(samt:7000)(acctid:99a4f795-0937-4a57-9cfe-0389e91d75dc)(obj_type:)(id:177b6d65-0ce6-4728-9a3a-0fb96eada07b)(pamt:-7000)(oldid:-1)(acct:10)(desc:nursery)(tags:)]; ], ; ] --> mod.txn:chk=&acctid=1fb3e868-6985-4b83-b9b7-0d8311c98e0e&memo=&0.obj_type=&oldid=-1&

  5. System closed this discussion on 19 Mar, 2016 04:57 AM.

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

Keyboard shortcuts


? 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