TheInfiniteKind / moneydance_open

17 stars 12 forks source link

BUG: Account.getAccountByName() on Categories when using AccountType returns wrong Account #61

Open yogi1967 opened 3 years ago

yogi1967 commented 3 years ago

Using this example category structure:

EXPENSE a:b:c

I am unclear whether it matters which object you call .getAccountByName() on - i.e. does it matter.. My tests indicate not. This is an annoying problem. The only resolution is to call the function without the AccountType and then check the returned account's account type (but of course, doesn't help with duplicate account names.