Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing equity name in option #19

Open
jacobburrell opened this issue Apr 9, 2020 · 5 comments
Open

Changing equity name in option #19

jacobburrell opened this issue Apr 9, 2020 · 5 comments

Comments

@jacobburrell
Copy link

From the options reference:

option "name_assets" "Assets"
option "name_liabilities" "Liabilities"
option "name_equity" "Equity"
option "name_income" "Income"
option "name_expenses" "Expenses"
Root names of every account. This can be used to customize your
category names, so that if you prefer "Revenue" over "Income" or
"Capital" over "Equity", you can set them here. The account names in
your input files must match, and the parser will validate these. You
should place these options at the beginning of your file, because
they affect how the parser recognizes account names.

If I try to declare:
option "name_equity" "Capital"

Then try to use it:

2014-01-02 * "Deposit"
  Assets:Checking           100.00 USD
  Capital:Opening-Balances

Capital:Opening-Balances brings an error, even though it builds correctly.

Test the following:

option "name_equity" "Capital"
2014-01-01 open Assets:Checking
2014-01-01 open Capital:Opening-Balances

2014-01-02 * "Deposit"
  Assets:Checking           100.00 USD
  Capital:Opening-Balances
@jacobburrell
Copy link
Author

Screen Shot 2020-04-09 at 01 08 47

@Akuukis
Copy link
Contributor

Akuukis commented Apr 9, 2020

Keyword "Equity" is hardcoded. I don't know if it is possible to not hardcode it.

@jacobburrell
Copy link
Author

With command-line tools, everything is possible.

Changing "Liabilities" to "Debt" does work.
Both are root accounts.

option "name_liabilities" "Debt"

See the following working example:

option "name_equity" "Capital"
option "name_liabilities" "Debt"

2014-01-01 open Assets:Checking
2014-01-01 open Debt:Opening-Balances

2014-01-02 * "Deposit"
  Assets:Checking           100.00 USD
  Debt:Opening-Balances

@jacobburrell
Copy link
Author

Screen Shot 2020-04-09 at 01 45 02

@jacobburrell jacobburrell changed the title Changing equity name in option d Changing equity name in option Apr 9, 2020
@Akuukis
Copy link
Contributor

Akuukis commented Apr 9, 2020

Hmm, that's interesting. Sadly I won't be able to help, because I've moved beancounting to VSCode and don't remember Sublime tricks anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants