X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Fschema.html;h=8523a4a798e3022d8fae0d6d149883ecd19968cf;hb=649ceeca76084d16d22013124bd7f80f053d75c4;hp=593ea82a076ae739c2afbc73f40a1d9670a2312f;hpb=4063ea45f3ab0a9cb2582834e55ac3afc71425f9;p=freeside.git
diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html
index 593ea82a0..8523a4a79 100644
--- a/httemplate/docs/schema.html
+++ b/httemplate/docs/schema.html
@@ -3,7 +3,7 @@
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
@@ -84,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
@@ -116,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
@@ -142,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
@@ -162,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
@@ -249,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
@@ -277,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