inacct: is undocumented #390

Closed
rstacruz opened this Issue Aug 8, 2016 · 5 comments

Projects

None yet

2 participants

@rstacruz
rstacruz commented Aug 8, 2016 edited

hledger-web uses inacct:Assets, while the docs say the proper syntax is acct:Assets (here). Is there a difference between acct: and inacct:?

@simonmichael
Owner

Yes they are different. inacct is a special, I guess undocumented, term used in hledger-web to set the current account we are "in" in a register view, which affects which transactions are shown and also how they are presented. You can have acct terms as well, providing extra filtering.

@rstacruz
rstacruz commented Aug 8, 2016

Are they functionally the same when used in the CLI?

On Mon, Aug 8, 2016, 12:40 PM Simon Michael notifications@github.com
wrote:

Yes they are different. inacct is a special, I guess undocumented, term
used in hledger-web to set the current account we are "in" in a register
view, which affects which transactions are shown and also how they are
presented. You can have acct terms as well, providing extra filtering.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#390 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEikcSHuMFk-Gret12Ds6V9snluY_Scks5qdrM1gaJpZM4JesHH
.

@simonmichael simonmichael added the A BUG label Aug 8, 2016
@simonmichael simonmichael changed the title from Question: inacct: vs acct: to inacct: is undocumented Aug 8, 2016
@simonmichael
Owner

No (try it). I've added a note to http://hledger.org/manual.html#queries .

@rstacruz
rstacruz commented Aug 8, 2016

Oh, neat! BTW, I'm working on an hledger-web clone (with more focus on
reports and visualization), your comments are really helpful.

On Mon, Aug 8, 2016, 8:04 PM Simon Michael notifications@github.com wrote:

No (try it). I've added a note to http://hledger.org/manual.html#queries .


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#390 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEikZphgkym3yh5pJfDCAZd_TAIX9JVks5qdxtIgaJpZM4JesHH
.

@simonmichael
Owner

Great! Don't forget about hledger-api, in case it's useful.

@mstksg mstksg added a commit to mstksg/hledger that referenced this issue Feb 3, 2017
@simonmichael @mstksg + mstksg doc: document inacct: #390 a83929e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment