tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/2322-create-transaction-with-pythonInfinite Kind: Discussion 2019-05-24T08:00:27Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/469891462019-02-21T21:01:09Z2019-02-21T21:01:09Zcreate transaction with python<div><p>Hi Bernhard,</p>
<p>It's great to see you getting into Moneydance scripting. In this case the NullPointerException is occurring because the miscAccount is null (or 'None' in the python world). It seems like you'll need to check for a missing account or category when creating the transaction.</p>
<p>Hope this helps!</p>
<p>Thanks,<br>
Sean</p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/469891462019-02-22T07:50:25Z2019-02-22T07:50:26Zcreate transaction with python<div><p>Hi Sean,</p>
<p>thanks for quick support.</p>
<p>You are right. Now it works.</p>
<p>Best regards</p>
<p>Bernhard</p>
<p>From: Sean Reilly <a href="mailto:tender+ddf724331a@tenderapp.com">tender+ddf724331a@tenderapp.com</a><br>
Reply-To: <a href="mailto:support@infinitekind.com">support@infinitekind.com</a></p></div>Bernhard