X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Fschema.html;h=b4d21f3b98750dae4ec78438f2388a352142bbe0;hb=66c7798152b9abecd00727d4814af5c10bcc84b3;hp=e3fe98096ef10b2dec77b3e15560ef88c5708b7e;hpb=f5266a4d07d116efd732f433d0f4f3a47b143a7d;p=freeside.git
diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html
index e3fe98096..b4d21f3b9 100644
--- a/httemplate/docs/schema.html
+++ b/httemplate/docs/schema.html
@@ -3,6 +3,7 @@
Schema reference
+ Schema diagram: as a giant .png or dia source (dia homepage).
- agent - Agents are resellers of your service. Agents may be limited to a subset of your full offerings (via their agent type).
@@ -24,6 +25,29 @@
- _date
- charged - amount of this invoice
- printed - how many times this invoice has been printed automatically
+
- closed - books closed flag, empty or `Y'
+
+ - cust_bill_event - Invoice event history
+
+
- part_bill_event - Invoice event definitions
+
+ - eventpart - primary key
+
- payby - CARD, CHEK, LECB, BILL, or COMP
+
- event - event name
+
- eventcode - event action
+
- seconds - how long after the invoice date (cust_bill._date) events of this type are triggered
+
- weight - ordering for events with identical seconds
+
- plan - eventcode plan
+
- plandata - additional plan data
+
- disabled - Disabled flag, empty or `Y'
+
- taxclass - Texas tax class flag, empty or "none", "access", or "hosting"
- cust_bill_pkg - Invoice line items
@@ -33,6 +57,7 @@
- recur - recurring fee
- sdate - starting date
- edate - ending date
+
- itemdesc - Line item description (currently used only when pkgnum is 0)
- cust_credit - Credits. The equivalent of a negative cust_bill record.
@@ -42,6 +67,7 @@
- _date
- otaker - order taker
- reason
+
- closed - books closed flag, empty or `Y'
- cust_credit_bill - Credit invoice application. Links a credit to an invoice.
@@ -83,7 +109,7 @@
- ship_daytime
- ship_night
- ship_fax
-
- payby - CARD, BILL, or COMP
+
- payby - CARD, CHEK, LECB, BILL, or COMP
- payinfo - card number, P.O.#, or comp issuer
- paydate - expiration date
- payname - billing name (name on card)
@@ -106,6 +132,17 @@
- county
- country
- tax - % rate
+
- taxclass
+
- exempt_amount
+
- taxname - if defined, printed on invoices instead of "Tax"
+
+ - cust_tax_exempt - Tax exemption record
+
+ - exemptnum - primary key
+
- taxnum - tax rate
+
- year
+
- month
+
- amount
- cust_pay - Payments. Money being transferred from a customer.
@@ -113,9 +150,10 @@
- custnum - customer
- paid - amount
- _date
-
- payby - CARD, BILL, or COMP
+
- payby - CARD, CHEK, LECB, BILL, or COMP
- payinfo - card number, P.O.#, or comp issuer
- paybatch - text field for tracking card processor batches
+
- closed - books closed flag, empty or `Y'
- cust_bill_pay - Applicaton of a payment to a specific invoice.
- cust_pay_batch - Pending batch
- - trancode - 77 for charges
+
- paybatchnum
- cardnum
- exp - card expiration
- amount
@@ -154,6 +192,7 @@
- expire - (future) cancellation date
- cancel - (past) cancellation date
- otaker - order taker
+
- manual_flag - If this field is set to 1, disables the automatic unsuspensiond of this package when using the unsuspendauto config file.
- cust_refund - Refunds. The transfer of money to a customer; equivalent to a negative cust_pay record.
@@ -161,9 +200,10 @@
- custnum - customer
- refund - amount
- _date
-
- payby - CARD, BILL or COMP
+
- payby - CARD, CHEK, LECB, BILL or COMP
- payinfo - card number, P.O.#, or comp issuer
- otaker - order taker
+
- closed - books closed flag, empty or `Y'
- cust_credit_refund - Applicaton of a refund to a specific credit.
@@ -192,9 +232,14 @@
- pkgpart - primary key
- pkg - package name
- comment - non-customer visable package comment
-
- setup - setup fee
+
- setup - setup fee expression
- freq - recurring frequency (months)
-
- recur - recurring fee
+
- recur - recurring fee expression
+
- setuptax - Setup fee tax exempt flag, empty or `Y'
+
- recurtax - Recurring fee tax exempt flag, empty or `Y'
+
- plan - price plan
+
- plandata - additional price plan data
+
- disabled - Disabled flag, empty or `Y'
- part_referral - Referral listing
@@ -205,7 +250,8 @@
- svcpart - primary key
- svc - name of this service
-
- svcdb - table used for this service: svc_acct, svc_acct_sm, svc_forward, svc_domain, svc_charge or svc_wo
+
- svcdb - table used for this service: svc_acct, svc_forward, svc_domain, svc_charge or svc_wo
+
- disabled - Disabled flag, empty or `Y'
@@ -224,6 +270,26 @@
- svcpart - Service definition
- quantity - quantity of this service that this package includes
+ - export_svc
+
+
- part_export - Export to external provisioning
+
+ - exportnum - primary key
+
- machine - Machine name
+
- exporttype - Export type
+
- nodomain - blank or Y: usernames are exported to this service with no domain
+
+ - part_export_option - provisioning options
+
+ - optionnum - primary key
+
- exportnum - Export
+
- optionname - option name
+
- optionvalue - option value
+
- port - individual port on a nas
- portnum - primary key
@@ -251,6 +317,7 @@
- svcnum - primary key
- username
- _password
+
- sec_phrase - security phrase
- popnum - Point of Presence
- uid
- gid
@@ -273,12 +340,14 @@
- exch - exchange
- loc - rest of number
- - svc_acct_sm - DEPRECIATED Domain mail aliases
+
- part_pop_local - Local calling areas
- - svcnum - primary key
-
- domsvc - Domain (by svcnum)
-
- domuid - Account (by uid)
-
- domuser - domuser @ Domain forwards to Account
+
- localnum - primary key
+
- popnum - primary key
+
- city
+
- state
+
- npa - area code
+
- nxx - exchange
- svc_domain - Domains
@@ -318,6 +387,8 @@
- job
- _date
- status
+
- statustext
+
- svcnum
- queue_arg - job arguments
@@ -325,5 +396,24 @@
- jobnum - job
- arg - argument
+ - queue_depend - job dependancies
+
+ - dependnum - primary key
+
- jobnum - source jobnum
+
- depend_jobnum - dependancy jobnum
+
+ - radius_usergroup - Link users to RADIUS groups.
+
+ - usergroupnum - primary key
+
- svcnum - account
+
- groupname
+
+ - msgcat - i18n message catalog
+
+ - msgnum - primary key
+
- msgcode - message code
+
- locale - locale
+
- msg - Message text
+