File
Contents: Contains information for each order entered into the
system. Each record in this file corresponds to a separate
order.
The column
headings in the table include the following.
|
POSITION
|
FIELD NAME
|
TYPE
|
WIDTH
|
DEC
|
DESCRIPTION
|
|
1
|
ORDERNO
|
Integer
(Auto Increment)
|
8
|
N/A
|
The order number.
|
|
2
|
CUSTNUM
|
Numeric
|
8
|
N/A
|
The billing customer number.
|
|
3
|
CL_KEY
|
Character
|
9
|
N/A
|
The source key for the order.
|
|
4
|
ODR_DATE
|
Datetime
|
8
|
N/A
|
The entry date of the order.
|
|
5
|
HOLD_TYPE
|
Character
|
1
|
N/A
|
Type of hold on order.
|
|
6
|
PERM_HOLD
|
Logical
|
1
|
N/A
|
Order is on permanent hold.
|
|
7
|
SYS_HOLD
|
Logical
|
1
|
N/A
|
M.O.M. has placed a hold on this order.
|
|
8
|
HOLD_DATE
|
Datetime
|
8
|
N/A
|
Order Hold. If a date is entered
|
|
9
|
REL_DATE
|
Datetime
|
8
|
N/A
|
Next release date of line items on hold.
|
|
10
|
CLEAR_DATE
|
Datetime
|
8
|
N/A
|
Check clearing date.
|
|
11
|
SHIP_DATE
|
Datetime
|
8
|
N/A
|
System assigned date to indicate
|
|
12
|
CHECK
|
Character
|
1
|
N/A
|
Payment control field for check and credit
|
|
13
|
PAYMETHOD
|
Character
|
2
|
N/A
|
Method of payment.
|
|
14
|
CASHONLY
|
Logical
|
1
|
N/A
|
Designates COD cash only request.
|
|
15
|
CARDNUM
|
Character
|
60
|
N/A
|
Credit Card Number.
|
|
16
|
CARDTYPE
|
Character
|
2
|
N/A
|
Credit Card type.
|
|
17
|
EXP
|
Character
|
5
|
N/A
|
Credit card Expiration date - 'mm/yy'.
|
|
18
|
APPROVAL
|
Character
|
10
|
N/A
|
Last approval number for credit card.
|
|
19
|
CCCORR
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
20
|
SHIPLIST
|
Character
|
3
|
N/A
|
Designated shipping method for order.
|
|
21
|
TAX
|
Numeric
|
8
|
2
|
Tax total on order.
|
|
22
|
SHIPPING
|
Numeric
|
8
|
2
|
Shipping total on order.
|
|
23
|
OTHERCOST
|
Numeric
|
8
|
2
|
Total Finance Charges on order.
|
|
24
|
CHECKAMOUN
|
Numeric
|
9
|
2
|
Total Payments made to date.
|
|
25
|
ORD_TOTAL
|
Numeric
|
9
|
2
|
Total amount of order including all merchandise.
|
|
26
|
CHARGED
|
Numeric
|
9
|
2
|
RESERVED.
|
|
27
|
CORRECTIN
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
28
|
CORRECTLC
|
Character
|
1
|
N/A
|
RESERVED.
|
|
29
|
INVOICED
|
Logical
|
1
|
N/A
|
Set to True after first invoice
|
|
30
|
LASTINV
|
Character
|
1
|
N/A
|
Last Invoice Part Code
|
|
31
|
VCOUNT
|
Numeric
|
2
|
N/A
|
Total # of Credit card vouchers generated.
|
|
32
|
LABELED
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
33
|
LABELS
|
Numeric
|
2
|
N/A
|
Number of extra Box labels to generate.
|
|
34
|
DLABELS
|
Numeric
|
2
|
N/A
|
RESERVED.
|
|
35
|
COMPLETED
|
Logical
|
1
|
N/A
|
Set to True only when an order is fully paid for and all
merchandise has been shipped.
|
|
36
|
CAN_ORD
|
Logical
|
1
|
N/A
|
Set to True when an order is cancelled.
|
|
37
|
MULTISHIP
|
Logical
|
1
|
N/A
|
Set to True when a ship ahead
|
|
38
|
NINV
|
Numeric
|
9
|
2
|
Number of items invoiced.
|
|
39
|
NFILL
|
Numeric
|
9
|
2
|
Number of items in a filled state.
|
|
40
|
NPACK
|
Numeric
|
9
|
2
|
Number of items in a packed state.
|
|
41
|
NSHIP
|
Numeric
|
9
|
2
|
Number of items shipped.
|
|
42
|
NBOR
|
Numeric
|
9
|
2
|
Number of items back ordered.
|
|
43
|
VBOR
|
Numeric
|
9
|
2
|
Value (in $) of back ordered merchandise.
|
|
44
|
VDSB
|
Numeric
|
9
|
2
|
Value (in $) of drop shipped merchandise.
|
|
45
|
VITEMHOLDS
|
Numeric
|
9
|
2
|
Value (in $) of items on hold.
|
|
46
|
NALL
|
Numeric
|
9
|
2
|
Total number of items on the order.
|
|
47
|
NITEMHOLDS
|
Numeric
|
9
|
2
|
Number of items on hold.
|
|
48
|
EXTRA
|
Numeric
|
3
|
N/A
|
RESERVED.
|
|
49
|
SHIPNUM
|
Numeric
|
8
|
N/A
|
The shipping address customer number.
|
|
50
|
DORD
|
Numeric
|
9
|
2
|
Number of drop ship items ordered.
|
|
51
|
DBOR
|
Numeric
|
9
|
2
|
Number of drop ship items not yet
|
|
52
|
DFILL
|
Numeric
|
9
|
2
|
Number of drop ship items verified.
|
|
53
|
DPACK
|
Numeric
|
9
|
2
|
Number of drop ship items packed.
|
|
54
|
DSHIP
|
Numeric
|
9
|
2
|
Number of drop ship items shipped.
|
|
55
|
DALL
|
Numeric
|
9
|
2
|
Total number of drop ship items.
|
|
56
|
PROCSSD
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
57
|
USERID
|
Character
|
3
|
N/A
|
Operator ID.
|
|
58
|
LAST_USER
|
Character
|
3
|
N/A
|
Last operator ID to access
|
|
59
|
EXTRA2
|
Character
|
3
|
N/A
|
RESERVED.
|
|
60
|
CHECKNUM
|
Character
|
20
|
N/A
|
Check Number which accompanied the
|
|
61
|
PREVORD
|
Numeric
|
8
|
N/A
|
The number of the previous order placed
|
|
62
|
ZONE
|
Character
|
3
|
N/A
|
System determined Zone.
|
|
63
|
C_TABLE
|
Character
|
1
|
N/A
|
System determined Cost Table.
|
|
64
|
PICKED
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
65
|
VNTM
|
Numeric
|
9
|
2
|
Value (in $) of Tax Exempt merchandise.
|
|
66
|
SHIPTYPE
|
Character
|
1
|
N/A
|
Determines the type of shipping address.
|
|
67
|
NTAXRATE
|
Numeric
|
7
|
4
|
National Tax Rate.
|
|
68
|
STAXRATE
|
Numeric
|
7
|
4
|
State/Province Tax Rate.
|
|
69
|
CTAXRATE
|
Numeric
|
7
|
4
|
County Tax Rate.
|
|
70
|
ITAXRATE
|
Numeric
|
7
|
4
|
City Tax Rate.
|
|
71
|
TAXSHIP
|
Logical
|
1
|
N/A
|
Determines whether tax is charged on
|
|
72
|
DUE_DAYS
|
Numeric
|
3
|
N/A
|
RESERVED.
|
|
73
|
TB_MERCH
|
Numeric
|
10
|
2
|
Total $ of Billed Merchandise.
|
|
74
|
SALES_ID
|
Character
|
3
|
N/A
|
Salesperson ID code for this order.
|
|
75
|
TB_SHIP
|
Numeric
|
8
|
2
|
Total $ of Billed Shipping charges.
|
|
76
|
NOTYETUSED
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
77
|
TB_TAX
|
Numeric
|
8
|
2
|
Total $ of Billed Taxes.
|
|
78
|
TB_NONTAX
|
Numeric
|
10
|
2
|
Total $ of Billed Non-Taxable Merchandise.
|
|
79
|
SHIPMODIFY
|
Logical
|
1
|
N/A
|
Set to Yes if shipping charges are
|
|
80
|
CATCODE
|
Character
|
2
|
N/A
|
The Catalog Code for this order.
|
|
81
|
NEEDWEIGHT
|
Logical
|
1
|
N/A
|
Used to determine if the order needs
|
|
82
|
TAXMODIFY
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
83
|
ORDER_ST2
|
Character
|
2
|
N/A
|
RESERVED.
|
|
84
|
TELE_CODE
|
Numeric
|
1
|
N/A
|
Interest level for telemarketing call.
|
|
85
|
TELEDONE
|
Logical
|
1
|
N/A
|
Telemarketing call made for this order
|
|
86
|
OVERPAY
|
Numeric
|
10
|
2
|
$
amount of over payment.
|
|
87
|
ACC_STATE
|
Character
|
2
|
N/A
|
Accounting state of order.
|
|
88
|
NEXT_PAY
|
Numeric
|
10
|
2
|
$
amount of next payment.
|
|
89
|
TB_FINCHAR
|
Numeric
|
9
|
2
|
Total $ of billed finance charges.
|
|
90
|
ALT_ORDER
|
Character
|
25
|
N/A
|
An order id number that can be assigned.
|
|
91
|
NTAXSHIP
|
Logical
|
1
|
N/A
|
Designates shipping charges will not be taxed at the national
level.
|
|
92
|
QUOTATION
|
Logical
|
1
|
N/A
|
Order is currently a quotation.
|
|
93
|
INTERNETID
|
Character
|
32
|
N/A
|
Order number assigned by SiteLINK.
|
|
94
|
POPENTRY
|
Logical
|
1
|
N/A
|
Designates a point of sale order.
|
|
95
|
CARDINLIST
|
Logical
|
1
|
N/A
|
Indicates credit card is in customer's card list..
|
|
96
|
HOLDNOTE
|
Character
|
50
|
N/A
|
Notes for why order is on hold.
|
|
97
|
SOLDNUM
|
Numeric
|
8
|
N/A
|
The sold-to customer number.
|
|
98
|
DISCT_PCT
|
Numeric
|
4
|
1
|
RESERVED.
|
|
99
|
DISCT_DAYS
|
Numeric
|
3
|
N/A
|
RESERVED.
|
|
100
|
MULTIPAY
|
Logical
|
1
|
N/A
|
Order has multiple payment methods.
|
|
101
|
CC_CID
|
Character
|
4
|
N/A
|
RESERVED.
|
|
102
|
POINTS_USD
|
Numeric
|
8
|
N/A
|
Points used on order.
|
|
103
|
ORDERTYPE
|
Character
|
6
|
N/A
|
User defined order type.
|
|
104
|
PONUMBER
|
Character
|
17
|
N/A
|
Purchase order number.
|
|
105
|
CARDHOLDER
|
Character
|
30
|
N/A
|
RESERVED.
|
|
106
|
NEEDSCAN
|
Logical
|
1
|
N/A
|
Used to determine if order needs scanning
|
|
107
|
NEED_GC
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
108
|
BILLED
|
Logical
|
1
|
N/A
|
Order has been billed.
|
|
109
|
R_MERCH
|
Numeric
|
10
|
2
|
Dollar amount of merchandise ready to bill.
|
|
110
|
R_TAX
|
Numeric
|
8
|
2
|
Dollar amount of taxes ready to bill.
|
|
111
|
NR_MERCH
|
Numeric
|
10
|
2
|
Dollar amount of merchandise not ready to bill.
|
|
112
|
NR_TAX
|
Numeric
|
8
|
2
|
Dollar amount of taxes not ready to bill.
|
|
113
|
P_MERCH
|
Numeric
|
10
|
2
|
Dollar amount of merchandise already packed.
|
|
114
|
P_TAX
|
Numeric
|
8
|
2
|
Dollar amount of taxes on packed merchandise.
|
|
115
|
P_SHIP
|
Numeric
|
8
|
2
|
Dollar amount of shipping on packed merchandise.
|
|
116
|
TPSHIPTYPE
|
Numeric
|
1
|
N/A
|
RESERVED.
|
|
117
|
TPSHIPWHAT
|
Character
|
1
|
N/A
|
RESERVED.
|
|
118
|
TPSHIPACCT
|
Character
|
14
|
N/A
|
RESERVED.
|
|
119
|
TPSHIPCC
|
Character
|
19
|
N/A
|
RESERVED.
|
|
120
|
TPSHIPEXP
|
Character
|
5
|
N/A
|
RESERVED.
|
|
121
|
ENTRYTIME
|
Datetime
|
8
|
N/A
|
Date and time order was created.
|
|
122
|
FREIGHTCOL
|
Logical
|
1
|
N/A
|
Freight collect flag for UPS 3rd Party Billing.
|
|
123
|
INTERNET
|
Logical
|
1
|
N/A
|
Indicates order was placed over the Internet
|
|
124
|
PROCSSBY
|
Character
|
3
|
N/A
|
User ID that processed the order.
|
|
125
|
CCINQ-REQ
|
Logical
|
1
|
N/A
|
Used by Authorize.net
|
|
126
|
REMOVECC
|
Logical
|
1
|
N/A
|
Indicates the credit card was removed from the customer's card
list.
|
|
127
|
ITEM_ID
|
Numeric
|
10
|
N/A
|
Additional item added from order promotion.
|
|
128
|
ORD_DISCT
|
Logical
|
1
|
N/A
|
Discount for the order from an order promotion.
|
|
129
|
PRIORITY
|
Character
|
1
|
N/A
|
Order Priority.
|
|
130
|
ISSUE_NUM
|
Character
|
2
|
N/A
|
UK Only.
|
|
131
|
FRDATE
|
Character
|
5
|
N/A
|
UK Only.
|
|
132
|
ORDPROMO
|
Character
|
10
|
N/A
|
Order promotion code.
|
|
133
|
CHARGE_ALL
|
Logical
|
1
|
N/A
|
Charges entire order, includes backorder items.
|
|
134
|
NO_PROMO
|
Logical
|
1
|
N/A
|
Indicates if an order promotion has not been applied.
|
|
135
|
ROUTINGNUM
|
Character
|
30
|
N/A
|
Bank's Routing Number for eCheck Payment.
|
|
136
|
ACCOUNTNUM
|
Character
|
60
|
N/A
|
Account Number for eCheck Payment.
|
|
137
|
ACCTTYPE
|
Character
|
10
|
N/A
|
Account Type for eCheck Payment.
|
|
138
|
BANKNAME
|
Character
|
30
|
N/A
|
Bank's Name for eCheck Payment.
|
|
139
|
PAYPALID
|
Character
|
90
|
N/A
|
Paypal Account
ID.
|
|
140
|
PINENTRY
|
Logical
|
1
|
N/A
|
UK Only.
|
|
141
|
ENCTYPE
|
Integer
|
4
|
N/A
|
RESERVED.
|
|
142
|
BADLABEL
|
Logical
|
1
|
N/A
|
Indicates that the order has produced a invalid UPS Label.
|
|
143
|
DUE_ONDATE
|
Datetime
|
8
|
N/A
|
For orders paid by Invoice, indicates the date the order will be
due for payment.
|
|
144
|
HOLDCODE
|
Character
|
10
|
N/A
|
Order Hold Reason Code selected.
|
|
145
|
ORDERSET
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
146
|
URL_ID
|
Integer
|
4
|
N/A
|
RESERVED.
|