The invoice table acts as an invoice header. It has links to the Customer table and lineitems.
Table Indexes
- completed
Index Key: completed
- custpk
Index Key: custpk
- invdate
Index Key: invdate
- invno
Index Key: invno
- PK_wws_invoice
Index Key: pk
Table Fields
Field | Description |
---|---|
cc | Credit Card number |
ccError | Validated Error Message. Set by the processing. |
ccexp | Expiration date of the credit card as a string. |
ccresult | The result from the Credit Card Processor. This will be: APPROVED, DECLINED, FAILED, FRAUD, DUE AND PAYABLE |
ccresultx | The extended (raw) result from the CC Processor |
ccsecurity | 3 or 4 digit Credit Card Security Code |
cctype | Type of credit card (AE, VI, MA, DI) |
completed | Date that the invoice was completed. Used by offline application. |
custpk | Customer Foreign Key |
downloaded | Determines whether this invoice was downloaded from the Web Site. |
handling | Shipping and handling charges for this invoice |
invcode | not used |
invdate | The date of the invoice. |
invno | Invoice Number as a string |
invtotal | Total of the invoice |
notes | Any notes for this order in free form text. |
ordercode | not used |
pk | Primary Key |
ponumber | Optional PO number |
ShipAddress | Shipping Address |
shipby | Shipping method for the order. |
ShipCity | Shipping City |
ShipCompany | Shipping Company |
ShipCountry | Shipping Country as a full string |
ShipCountryId | Two letter Shipping Country Id |
shipdisks | Determines whether physical shipment is made. Despite the name this is a generic shipping flag. |
ShipName | Shipping Name |
shipping | Shipping Address as a string. Provided for backwards compatibility only - this value is set once and then not touched again. Use the ShipXXXXX fields for shipping info instead. |
ShipState | Two letter state code |
ShipZip | Shipping Zip |
soldby | Sales Clerk ID |
storepk | Not used |
tax | The actual tax amount for this invoice |
taxrate | Taxrate as a decimal value (0.05 for 5%) |
weight | The total weight of all items on this invoice |
xml | XML Properties field. Used for Get and SetProperty |
© West Wind Technologies, 1996-2018 • Updated: 09/05/04
Comment or report problem with topic