New issue 353: posting flag ignored / how to query posting flag?

https://bitbucket.org/blais/beancount/issues/353/posting-flag-ignored-how-to-query-posting



Martin Michlmayr:



The syntax manual says "You can also attach flags to the postings themselves, 
if you want to flag one of the transaction’s legs in particular"



However, when I query `f` on an account (posting) I don't see the one marked as 
`!`:



```

beancount> SELECT account, position, flag WHERE account ~ ':A'

account  position  f

-------- --------- -

Assets:A 11.00 EUR *

Assets:A 22.00 EUR *

Assets:A 33.00 EUR *

beancount> 

```



Is there a different way to query the posting flag?



Test case:



```

2018-01-01 open Assets:A

2018-01-01 open Assets:B



2018-01-01 txn "Test 1"

    aXa: "foo"

    Assets:A      11.00 EUR

    Assets:B



2018-01-01 txn "Test 2"

    axa: "bar"

    ! Assets:A    22.00 EUR

    Assets:B



2018-01-01 txn "Test 3"

    axa: "bar"

    * Assets:A    33.00 EUR

    Assets:B

```




-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20181219125646.40482.74416%40app-137.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to