Tax
field in the Charge table is specially treated when generating
invoices. The value is split up (on the character '/') and each substring
is checked for a TaxRate
in the Categories table (it better have one).
This means that if you want a charge item to has both Provincial Sales Tax (PST) and the Goods & Service Sales Tax (GST) then you should use the value 'GST/PST' or 'PST/GST' in the Tax field. You also do not have to supply a total TaxRate for a combined Tax.
NOTE: The default Category data only has GST/PST.
Date ge 1997 and Paid lt 1997.0401
This search (when used with the bk invoices
command) will return
a list of all invoices that were generated in 1997 or later and were
paid before April 1st. If you can show us a date format that is able
to do the same without lots of fussing and is also not error prone,
please let me know.
templates
directory and there
is a script in bin
called tablegen which will generate a working set
of books from the templates and corresponding data. There are also some
sample books in the sample
directory including an empty set if you
do not wish to generate your starting books.
Here are a couple of noteworthy pieces of information for people making or interested in BANAL tables:
The tables that are distributed with this version include:
The next time you start the bkd server it will notice the new file and generate a modify and list command for it.
You can either copy an existing database and modify it as desired or you may copy a .tpl file in the templates directory and have tablegen generate your books (remember, you can include initial data in a .dat file).
Details on RDB template files and the RDB header can be obtained from the full RDB documentation.