tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/2063-class-overviewInfinite Kind: Discussion 2020-08-03T05:13:37Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/447472132018-02-17T12:51:23Z2020-08-03T05:13:37ZClass Overview<div><p>So far I have the following to flatten Account and Transactions. I realise that I will need to enhance this to include splits.</p>
<p>print "Account AccountType CategoryCount Payee Category Date Amount"</p>
<p>for txn in txnSet.iterableTxns(): if str(txn.getAccount()) == "Nationwide Flex" and counter < 100: print "%s %s %d %s %s %u %s"%\ (txn.getAccount().getAccountName(), txn.getAccount().getAccountType(), txn.getOtherTxnCount(), txn.getDescription(), txn.getOtherTxn(0).getAccount(), txn.getDateInt(), txn.getAccount().getCurrencyType().formatFancy(txn.getValue(), '.')) counter += 1</p></div>NeilBtag:infinitekind.tenderapp.com,2009-01-14:Comment/447472132018-02-17T13:13:35Z2018-02-17T13:13:35ZClass Overview<div><p>Neil</p>
<p>Have a look at<br>
<a href="https://bitbucket.org/mikerb/moneydance-2015/wiki/Home">https://bitbucket.org/mikerb/moneydance-2015/wiki/Home</a></p>
<p>It will give you some pointers. It is written with Java in mind but it will help with the data model.<br>
Mike<br>
Sent from my iPad</p></div>Mike Bray (Quote Loader Author)tag:infinitekind.tenderapp.com,2009-01-14:Comment/447472132018-02-17T14:11:59Z2020-08-03T05:13:37ZClass Overview<div><p>Thanks Mike<br>
Looks really helpful</p>
<p>Shame the developers didnt take onboard your suggestions 3 years ago or at least find a way to pin your Wiki post.</p>
<p>Thanks agin<br>
Neil</p></div>NeilB