Thanks for the write-up. I am not completely finished with the scheduling engine yet. I want to add day names rather than simple dates (like "every fourth Friday"). I am also not completely happy with the user interface so suggestions for usability would be most welcome. -- Craig
On Thu, Mar 13, 2014 at 4:29 AM, Alan Schmitt <[email protected]> wrote: > Alan Schmitt <[email protected]> writes: >> Hello Craig, >> >>> BTW this is a part of ledger-mode in emacs it is not part of >>> ledger-cly if you are not using emacs it won't help you. >> >> Yes, I'm looking at how to do this within emacs. >> >> Craig Earls <[email protected]> writes: >> >>> Here is a sample: >>> >>> [*/*/10] (POS) Commissary >>> ; :Expected: >>> Expenses:Groceries $300.00 >>> Assets:VWCU:Joint >> >> How do I generate a real transaction from this? The doc says "Ledger >> mode provides a way to schedule upcoming transaction with a flexible >> scheduler that allows you to specify the transactions in a separate >> ledger file and calculate the upcoming occurences of those transactions. >> You can then copy the transactions into your live data file." but >> I don't know what command to use. > I've figured this out, so here it is if it can help others. > - customize the ledger-schedule-file variable to point to the file where > you want to put the upcoming transactions (default value is ...) > - create this file, and add a transaction there: > #+begin_src ledger > [*-*-15] Test > Expenses:Quotidien 10 € > Assets:SG Alan > #+end_src > - in your main ledger file, choose menu item "Ledger" then "Show > Upcoming Transactions", bound to "C-c C-u", bound to the function > "ledger-schedule-upcoming". By default it will look at 7 days in the > past and 14 days in the future to propose transactions (see customize > group ledger-schedule to change these values) > - copy and paste the transactions you want to your main ledger file > Best, > Alan > -- > --- > 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. -- --- 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.
