X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fdocs%2Fschema.html;h=2e78f6e9e96809fd9017d52c5165329f6a9fc1d0;hp=b4d21f3b98750dae4ec78438f2388a352142bbe0;hb=48ba2845d0119c56971d5b724661aa37e73b49dd;hpb=789c34c5251f4b831a7cb27bd2a9af700ccf2ced
diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html
index b4d21f3b9..2e78f6e9e 100644
--- a/httemplate/docs/schema.html
+++ b/httemplate/docs/schema.html
@@ -1,9 +1,9 @@
-
+
Schema reference
Schema reference
- Schema diagram: as a giant .png or dia source (dia homepage).
+ Schema diagram (1.4.1): 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).
@@ -12,6 +12,9 @@
- typenum - agent type
- prog - (unimplemented)
- freq - (unimplemented)
+
- disabled - Disabled flag, empty or 'Y'
+
- username - Username for the Agent interface
+
- _password - Password for the Agent interface
- agent_type - Agent types define groups of packages that you can then assign to particular agents.
@@ -39,7 +42,7 @@
- part_bill_event - Invoice event definitions
- eventpart - primary key
-
- payby - CARD, CHEK, LECB, BILL, or COMP
+
- payby - CARD, DCRD, CHEK, DCHK, 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
@@ -59,6 +62,13 @@
- edate - ending date
- itemdesc - Line item description (currently used only when pkgnum is 0)
+ - cust_bill_pkg_detail - Invoice line items detail
+
+ - detailnum - primary key
+
- pkgnum -
+
- invnum -
+
- detail - Detail description
+
- cust_credit - Credits. The equivalent of a negative cust_bill record.
- crednum - primary key
@@ -77,6 +87,14 @@
- amount - amount applied
- _date
+ - cust_credit_bill - Refund payment application. Links a refund to a payment.
+
+ - payrefundnum - primary key
+
- paynum - payment
+
- refundnum - refund
+
- amount - amount applied
+
- _date
+
- cust_main - Customers
- custnum - primary key
@@ -109,8 +127,9 @@
- ship_daytime
- ship_night
- ship_fax
-
- payby - CARD, CHEK, LECB, BILL, or COMP
+
- payby - CARD, DCHK, CHEK, DCHK, LECB, BILL, or COMP
- payinfo - card number, P.O.#, or comp issuer
+
- paycvv - Card Verification Value, "CVV2" (also known as CVC2 or CID), the 3 or 4 digit number on the back (or front, for American Express) of the credit card
- paydate - expiration date
- payname - billing name (name on card)
- tax - tax exempt, Y or null
@@ -135,6 +154,8 @@
- taxclass
- exempt_amount
- taxname - if defined, printed on invoices instead of "Tax"
+
- setuptax - if 'Y', this tax does not apply to setup fees
+
- recurtax - if 'Y', this tax does not apply to recurring fees
- cust_tax_exempt - Tax exemption record
@@ -155,6 +176,20 @@
- paybatch - text field for tracking card processor batches
- closed - books closed flag, empty or `Y'
+ - cust_pay_void - Voided payments.
+
+ - paynum - primary key
+
- custnum - customer
+
- paid - amount
+
- _date
+
- 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'
+
- void_date
+
- reason
+
- otaker - order taker
+
- cust_bill_pay - Applicaton of a payment to a specific invoice.
- billpaynum
@@ -188,6 +223,7 @@
- pkgpart - Package definition
- setup - date
- bill - next bill date
+
- last_bill - last bill date
- susp - (past) suspension date
- expire - (future) cancellation date
- cancel - (past) cancellation date
@@ -241,6 +277,13 @@
- plandata - additional price plan data
- disabled - Disabled flag, empty or `Y'
+ - part_pkg_option - Package definition options
+
+ - optionnum - primary key
+
- pkgpart - Package definition
+
- optionname - option name
+
- optionvalue - option value
+
- part_referral - Referral listing
- refnum - primary key
@@ -269,6 +312,7 @@
- pkgpart - Package definition
- svcpart - Service definition
- quantity - quantity of this service that this package includes
+
- primary_svc - blank or Y: primary service
- export_svc
@@ -358,8 +402,9 @@
- domain_record - Domain zone detail
@@ -408,6 +453,33 @@
- svcnum - account
- groupname
+ - rate - Call rate plans
+
+ - ratenum - primary key
+
- ratename
+
+ - rate_detail - Call rate detail
+
+ - ratenum - rate plan
+
- orig_regionnum - call origination region
+
- dest_regionnum - call destination region
+
- min_included - included minutes
+
- min_charge - charge per minute
+
- sec_granularity - granularity in seconds, i.e. 6 or 60
+
+ - rate_region - Call rate region
+
+ - regionnum - primary key
+
- regionname
+
+ - rate_prefix - Call rate prefix
+
+ - prefixnum - primary key
+
- regionnum rate region
+
- countrycode
+
- npa
+
- nxx
+
- msgcat - i18n message catalog