X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htdocs%2Fdocs%2Fschema.html;fp=htdocs%2Fdocs%2Fschema.html;h=a61000f1f188bdf4b1beabf8d765f24971a9b5bc;hp=c06373b6bbd9f8befdea795fa0f31b659041f1d6;hb=3ebf10b2e784390c7c3593b29886e980aff2ff5f;hpb=0028e270bcfc07c9e58104076c809bc5a3c76ccd
diff --git a/htdocs/docs/schema.html b/htdocs/docs/schema.html
index c06373b6b..a61000f1f 100644
--- a/htdocs/docs/schema.html
+++ b/htdocs/docs/schema.html
@@ -71,11 +71,11 @@
tax - tax exempt, Y or null
otaker - order taker
- cust_main_invoice - Invoice destinations for email invoices
+ cust_main_invoice - Invoice destinations for email invoices. Note that a customer can have many email destinations for their invoice (either literal or via svcnum), but only one postal destination.
- destnum - primary key
- custnum - customer
-
- dest - Invoice destination: If numeric, a svcnum, if string, a literal email address, or `POST' to enable mailing (the default if no cust_main_invoice records exist)
+
- dest - Invoice destination. Freeside supports three types of invoice delivery: send directly to a service defined in Freeside, send to an arbitrary email address, or print the invoice to a printer and have someone send it out via snail mail. Freeside determines which method to use based on the contents of the dest field. If the contents are numeric, a svcnum pointing to a valid service is expected in the field. If the contents are a string, a literal email address is expected to be in the field. If the special keyword `POST' is present, the snail mail method is used (which is the default if no cust_main_invoice records exist). Snail mail invoices get their address information from cust_main and are printed with the printer defined in the configuration files.
cust_main_county - Tax rates