copying keywords between transactions.
Importing transactions I'm trying to copy keywords from existing MD transactions that match incoming transactions. I have a newly created transaction using:
newTns = ParentTxn( moneydance.getCurrentAccountBook() )
From the matching transaction that I've found, already in MD, I do:
keys = tns.getKeywords() newTns.setKeywords( keys )
This all works fine but when I check the new transaction in the account I see the keywords surround by square brackets and when I come to edit them they're not toggled on in the drop down list. See attached images.
Any thoughts on what I'm missing?
Apologies for the odd choice of testing keywords.
thanks.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Sean Reilly on 11 Apr, 2017 03:50 PM
Hi Kim,
Thanks for your message. I think the problem is probably that the keywords are being assigned to the parent transaction rather than the "other side" which is usually the SplitTxn(s) that are matched up to the parent. Basically, you should set the keywords/tags for the "other side" in the same way that you set the category on the other side. Keywords/tags are basically another axis of categorisation, and for multi-split transactions you're likely to want to assign different keywords/tags to each of the splits.
Please let me know if that doesn't help, or if I wasn't clear enough. This is a tricky area!
Thanks,
Sean
2 Posted by kim.aldis on 14 Apr, 2017 07:00 AM
That did the job. Many thanks, Sean
System closed this discussion on 14 Jul, 2017 07:00 AM.