tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/1157-new-transactions-cause-a-transactionlistenertransactionmodified-eventInfinite Kind: Discussion 2016-03-19T05:05:42Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/365527692015-04-13T15:43:12Z2015-04-13T15:43:12ZNew transactions cause a TransactionListener.transactionModified event<div><p>Hi Kevin,</p>
<p>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!</p>
<p>Thanks,<br>
Sean Reilly<br>
Developer, The Infinite Kind<br>
<a href="http://infinitekind.com">http://infinitekind.com</a></p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/365527692015-04-13T16:03:00Z2015-04-13T16:03:00ZNew transactions cause a TransactionListener.transactionModified event<div><p>Hi Sean,</p>
<p>Thanks for the info.</p>
<p>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.</p>
<p>Cheers,<br>
Kevin</p>
<p>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:)];
], ; ]<br>
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&0.id=177b6d65-0ce6-4728-9a3a-0fb96eada07b&0.acct=10&dt=20150413&0.desc=nursery&0.tags=&0.acctid=99a4f795-0937-4a57-9cfe-0389e91d75dc&0.pamt=-7000&0.samt=7000&obj_type=txn&id=3f787a4e-1bd7-41a0-a527-d017e9e7fb49&0.oldid=-1&acct=1&desc=nursery&ts=1428766168906</p></div>Kevin Stembridge