Re: Help with bean-bake.

2020-05-04 Thread mployby
Thank you Jakub, i figured it out.

On Monday, May 4, 2020 at 6:21:07 AM UTC-4, kuba jamro wrote:
>
> If you are trying to get a view on the last UK tax year then I think you 
> need can do that with Fava.
>
> You need to add the following into your beancount file and then you can 
> use FY2019 as the filter in the Fava web interface 
>
> custom "fava-option" "fiscal-year-end" "04-05"
>
> Alternatively you can just specify the dates in Fava manually for any 
> period you like for intance
> 2019-04-2020-01 or 2019-04-06-2020-01 or 2019-2020 or 2019-2020-06 or any 
> combination of Y(-M(-D)?)?-Y(-M(-D)?)?.
>
> Kind regards,
> Jakub.
>
> On Thursday, 30 April 2020 01:49:41 UTC+1, mpl...@gmail.com wrote:
>>
>> Hi everyone!
>>
>> I have several questions on bean-bake hope someone could help:
>>
>> 1. What's the argument for --first-month ? 
>> "--first-month APRIL" and "--first-month APR" result in error
>> "--first-month 4" runs but does not make any difference, year still 
>> starts with Jan 01
>>
>> 2. What's the argument for --view ?
>> I tried:
>> "--view view/year/2018",
>> "--view year/2018"
>> "--view view/year/2018/journal/Income.html"
>> "--view year/2018/journal/Income.html"
>> does not work.
>>
>> 3. How difficult it will be to add function to bake files for specific 
>> period,
>> example "2019-04-01 - 2019-06-20" ?
>> Which files should i start looking into?
>>
>> Thank you!
>>
>

-- 
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 beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/b18a571a-eca3-4fcb-95b9-d2f5346c%40googlegroups.com.


Re: Help with bean-bake.

2020-05-04 Thread mployby
Thank you for your reply. I see now, i was playing more with beancount 
query language and manged to cover most of things i need. (fava generate 
excel files for beancount queries, so i can export them easy)
Just want to say thank you for building great tool and easy to follow 
documentation ! Truly great project!

On Saturday, May 2, 2020 at 5:55:18 PM UTC-4, Martin Blais wrote:
>
> On Wed, Apr 29, 2020 at 8:49 PM > wrote:
>
>> Hi everyone!
>>
>> I have several questions on bean-bake hope someone could help:
>>
>
> Keep in mind in the responses below that
> - bean-web is deprecated and new features will not be supported, 
> - bean-bake is implemented mainly using bean-web,
> - Fava should be used instead whenever possible.
>
>  
>
>>
>> 1. What's the argument for --first-month ? 
>> "--first-month APRIL" and "--first-month APR" result in error
>> "--first-month 4" runs but does not make any difference, year still 
>> starts with Jan 01
>>
>
> I don't recall implementing that (I think it was a submission), but I 
> think it's intended to set the start of the annual filter (the start of the 
> financial year).
> After making the fixes I wrote down below, it seems to work, i was able to 
> get a 2019-04 to 2020-04 year.
> (Note: You need to follow the link to the index file in the archive. 
> There's no link at the root)
>
>  
>
>> 2. What's the argument for --view ?
>> I tried:
>> "--view view/year/2018",
>> "--view year/2018"
>> "--view view/year/2018/journal/Income.html"
>> "--view year/2018/journal/Income.html"
>> does not work.
>>
>
> Indeed. I just make a quick fix for it.
>
>   
>
>> 3. How difficult it will be to add function to bake files for specific 
>> period,
>> example "2019-04-01 - 2019-06-20" ?
>> Which files should i start looking into?
>>
>
> Under beancount/beancount/web
> I would not recommend it, I'd recommend reaching out to the Fava team 
> instead, they may have a better solution to filter and bake files.
> bean-web is deprecated, and by extension, I suppose that includes 
> bean-bake.
> If Fava doesn't support baking files for sharing, I'd like to suggest 
> someone should build a tool that is purely focused on that (and does all 
> kinds of special things just for sharing).
>
> All future built-in support for Beancount reporting will be done via SQL 
> client.
> If there's a web front end in the future, it'll just be rendering the 
> output of SQL statements and adding some whizbang. 
> The current web app will be removed, and bean-bake will go eventually.
>
>  
>
>>
>> Thank you!
>>
>> -- 
>> 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 bean...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beancount/44cbaae0-ef8b-4ea6-a2f8-aa4f6c8f1998%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/dc74b82d-2928-4bfa-b5ae-b16827925cf1%40googlegroups.com.


Re: Help with bean-bake.

2020-05-04 Thread kuba jamro
If you are trying to get a view on the last UK tax year then I think you 
need can do that with Fava.

You need to add the following into your beancount file and then you can use 
FY2019 as the filter in the Fava web interface 

custom "fava-option" "fiscal-year-end" "04-05"

Alternatively you can just specify the dates in Fava manually for any 
period you like for intance
2019-04-2020-01 or 2019-04-06-2020-01 or 2019-2020 or 2019-2020-06 or any 
combination of Y(-M(-D)?)?-Y(-M(-D)?)?.

Kind regards,
Jakub.

On Thursday, 30 April 2020 01:49:41 UTC+1, mpl...@gmail.com wrote:
>
> Hi everyone!
>
> I have several questions on bean-bake hope someone could help:
>
> 1. What's the argument for --first-month ? 
> "--first-month APRIL" and "--first-month APR" result in error
> "--first-month 4" runs but does not make any difference, year still starts 
> with Jan 01
>
> 2. What's the argument for --view ?
> I tried:
> "--view view/year/2018",
> "--view year/2018"
> "--view view/year/2018/journal/Income.html"
> "--view year/2018/journal/Income.html"
> does not work.
>
> 3. How difficult it will be to add function to bake files for specific 
> period,
> example "2019-04-01 - 2019-06-20" ?
> Which files should i start looking into?
>
> Thank you!
>

-- 
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 beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/a00f8706-040a-4239-8839-94d71bc7e173%40googlegroups.com.