X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Fschema.html;h=3e9189b30397a75a221eaf8afdbdd25eb3b511c9;hb=b03df92e48df653460cb8b6034a06dd1de6f4095;hp=0da33a5c29078532659b6a2e2be194fe9fad8c57;hpb=0fd508f695b4f19a447eba7663f59dc7fb4033d3;p=freeside.git
diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html
index 0da33a5c2..3e9189b30 100644
--- a/httemplate/docs/schema.html
+++ b/httemplate/docs/schema.html
@@ -25,6 +25,22 @@
charged - amount of this invoice
printed - how many times this invoice has been printed automatically
+ cust_bill_event - Invoice event history
+
+ part_bill_event - Invoice event definitions
+
+ - eventpart - primary key
+
- payby - CARD, 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
+
- disabled - Disabled flag, empty or `Y'
+
cust_bill_pkg - Invoice line items
- invnum - (multiple) key
@@ -43,6 +59,14 @@
- otaker - order taker
- reason
+ cust_credit_bill - Credit invoice application. Links a credit to an invoice.
+
+ - creditbillnum - primary key
+
- crednum - credit being applied
+
- invnum - invoice to which credit is applied
+
- amount - amount applied
+
- _date
+
cust_main - Customers
- custnum - primary key
@@ -81,6 +105,8 @@
- payname - billing name (name on card)
- tax - tax exempt, Y or null
- otaker - order taker
+
- referral_custnum
+
- comments
(columns in italics are optional)
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.
@@ -100,16 +126,24 @@
cust_pay - Payments. Money being transferred from a customer.
- paynum - primary key
-
- invnum - invoice
+
- custnum - customer
- paid - amount
- _date
- payby - CARD, BILL, or COMP
- payinfo - card number, P.O.#, or comp issuer
- paybatch - text field for tracking card processor batches
+ 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
@@ -136,17 +170,26 @@
- 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.
- refundnum - primary key
-
- crednum - credit
+
- custnum - customer
- refund - amount
- _date
- payby - CARD, BILL or COMP
- payinfo - card number, P.O.#, or comp issuer
- otaker - order taker
+ cust_credit_refund - Applicaton of a refund to a specific credit.
+
+ - creditrefundnum - primary key
+
- crednum - credit
+
- refundnum - refund
+
- amount
+
- _date
+
cust_svc - Customer services
- svcnum - primary key
@@ -166,9 +209,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
@@ -180,8 +228,18 @@
- 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
-
- table__field - Default or fixed value for field in table
+
- disabled - Disabled flag, empty or `Y'
+
+
+ part_svc_column
+
+ - columnnum - primary key
+
- svcpart - Service definition
+
- columnname - column name in part_svc.svcdb table
+
- columnvalue - default or fixed value for the column
+
- columnflag - null, D or F
pkg_svc
@@ -189,6 +247,21 @@
- svcpart - Service definition
- quantity - quantity of this service that this package includes
+ part_export - Export to external provisioning
+
+ - exportnum - primary key
+
- svcpart - Service definition
+
- 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
+
- option - option name
+
- optionvalue - option value
+
port - individual port on a nas
- portnum - primary key
@@ -224,7 +297,10 @@
- shell
- quota - (unimplementd)
- slipip - IP address
-
- radius_Radius_Attribute - Radius-Attribute
+
- seconds
+
- domsvc
+
- radius_Radius_Reply_Attribute - Radius-Reply-Attribute
+
- rc_Radius_Check_Attribute - Radius-Check-Attribute
svc_acct_pop - Points of Presence
@@ -235,6 +311,15 @@
- exch - exchange
- loc - rest of number
+ part_pop_local - Local calling areas
+
+ - localnum - primary key
+
- popnum - primary key
+
- city
+
- state
+
- npa - area code
+
- nxx - exchange
+
svc_acct_sm - DEPRECIATED Domain mail aliases
+ queue - job queue
+
+ - jobnum - primary key
+
- job
+
- _date
+
- status
+
+ queue_arg - job arguments
+
+ - argnum - primary key
+
- jobnum - job
+
- arg - argument
+