tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/2610-how-split-transaction-on-sub-categoryInfinite Kind: Discussion 2019-12-26T22:10:23Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/476608992019-09-26T13:15:58Z2019-09-26T13:15:58ZHow split transaction on sub category ?<div><p>Hi Stephane,<br>
Thank you for contacting Moneydance support.</p>
<p>To split a transaction into several categories, create a new transaction or double click a transaction to edit it, then select the Category field to open the Category drop-down menu and click the “Split” button at the top (or press ⌘-L or Ctrl + L on your keyboard).</p>
<p>Further details on handling split transactions are outlined in <a href="https://infinitekind.tenderapp.com/kb/register-and-transactions/entering-transactions">this article</a> in the Knowledgebase.</p>
<p>It might be also useful to see, <a href="https://infinitekind.tenderapp.com/kb/register-and-transactions/tags">this article</a> on using "Tags".</p>
<p>I hope this information is helpful. Please let me know if you have further questions or need any assistance.</p>
<p>--<br>
Maddy, Infinite Kind Support</p></div>Maddytag:infinitekind.tenderapp.com,2009-01-14:Comment/476608992019-09-26T13:44:27Z2019-09-26T13:44:27ZHow split transaction on sub category ?<div><p>Thank Maddy</p>
<p>I World like split transaction in sub category with python extension.</p>
<p>Could you help me ?</p>
<p>Thank</p></div>Stephanetag:infinitekind.tenderapp.com,2009-01-14:Comment/476608992019-09-26T16:04:38Z2019-09-26T16:04:38ZHow split transaction on sub category ?<div><p>Hi Stephane,</p>
<p>I’m sorry to keep you waiting, but I’d like to run your query past the development team who may be able to provide further information.</p>
<p>Thank you for your patience.</p>
<p>--<br>
Maddy, Infinite Kind Support</p></div>Maddytag:infinitekind.tenderapp.com,2009-01-14:Comment/476608992019-09-26T22:01:34Z2019-09-26T22:01:34ZHow split transaction on sub category ?<div><p>Hi Stephane,</p>
<p>Thanks for your interest in building python extensions to Moneydance! In order to make a transaction that is split across multiple categories (or accounts, if a transfer) you only need to add multiple SplitTxn objects to a single ParentTxn.</p>
<p>I'd also add that you don't need to call refreshAccountBalances() or .addNewTxn(newTxn) on the transaction set. If you call .syncItem() on the parent transaction then that will "save" the transaction and the transaction will be added and balances recalculated automatically.</p>
<p>Thanks!<br>
Sean</p>
<p>--<br>
Sean Reilly<br>
Developer, The Infinite Kind<br>
<a href="https://infinitekind.com">https://infinitekind.com</a></p></div>Sean Reilly