* Martin Blais <[email protected]> [2014-05-19 15:42]:
> If not, this is easily solved using subaccounts.
I must say I'm with John on this: virtual accounts are a much more
elegant solution in this case than what you propose.
I'm not sure if there's a way to achieve what John wants with tags. I
chatted with Bradley Kuhn earlier today about Conservancy's use of
ledger and it seems he (mostly) manages without virtual accounts, but
I'm not 100% yet how things work there.
> This is a common case: Imagine you and your wife/life partner are both working
> professionals and share a joint account for convenience of making common
> expenses (e.g. you're going to a restaurant together and one of you pays but
> you want to generally split the expense, you also use those joint funds to pay
> for individual expenses, etc.). You want to account for each other's
> contributions separately. You would get a real bank account and create two
> subaccounts in it:
>
> Assets:US:Bank:Joint:Husband
> Assets:US:Bank:Joint:Wife
Just as an aside, if you're married and it's a joint account, there is
no "this is mine", "this is his/hers". I know you're fond of
subaccounts, but I don't think this is a particularly good example.
> I tend to have accounts that look like this:
>
> TYPE:COUNTRY:INSTITUTION:ACCOUNT:SUBACCOUNT
One thing I noticed in your examples is that you really like
subaccounts. I'm not very fond of them...
> Expenses:Taxes:US:TY2014:Google:Federal
> Expenses:Taxes:US:TY2014:Google:StateNY
> Expenses:Taxes:US:TY2014:Google:CityNYC
... I don't see the advantage of putting your employer's name there.
If you really want that info, I'd just use a tag. Same for the tax
year.
I guess it's just a matter of taste, but your account names seem
unwieldy to me.
> So what can we do to select across many dimensions while still keeping
> hierarchical account names?
Use tags? Note that in ledger, tags can have values, e.g.
; foo: bar
> 2014-05-19 * "Booking tithe"
> Assets:US:BofA:Checking -300 USD
> Assets:US:BofA:Checking:Tithe 300 USD
Now you're creating an account that doesn't exist, which I don't find
ideal.
--
Martin Michlmayr
http://www.cyrius.com/
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.