I didn't know about the org commands either.  I use org-mode, but just
for reporting.

I have a Reports.org file that has some babel blocks that call bash
scripts that shoot reports back to the Reports file.  These reports
are folded into an outline format, each heading (usually) contains a
table; payables, receivables, inc stmts, expense reports, etc.

I use the formatting options to create the org-tables with some sed
commands at the end to strip the currency signs, commas, etc. so I can
do calcs on the values.
After making some entries, I open the report file, execute the babel
block I'm interested in, emacs asks if I want to revert the file, then
the new heading is added to the end of the file.

I keep my personal info and the three businesses I'm involved with all
in the same file.  I run the same scripts over and over, adding
reports over time, archiving as necessary.

a sample format string for a receivables table:
-F '|%(date)|%(tag("control"))|%(tag("entity"))|%(t)|%(tag("inv"))|%
(tag("job"))|%(tag("comments"))|%(account)|\n' >> ~/orgfiles/
Accounting/Reports.org

happy to share more info if any interest.  Would like to hear how
others collect information as well.

Reply via email to