File Contents: Contains information about each invoice for each
order in the system.
The column
headings in the table include the following.
|
POSITION
|
FIELD
NAME
|
TYPE
|
WIDTH
|
DEC
|
DESCRIPTION
|
|
1
|
TRANS_ID
|
Numeric
|
14
|
N/A
|
Transaction number.
|
|
2
|
ORDERNO
|
Numeric
|
12
|
N/A
|
Order number.
|
|
3
|
INPART
|
Character
|
1
|
N/A
|
Invoice part code.
|
|
4
|
ACTIVE
|
Character
|
1
|
N/A
|
Contains the following: A-Active I-
Inactive
|
|
5
|
CUSTNUM
|
Numeric
|
12
|
N/A
|
Customer number
|
|
6
|
MERCH
|
Numeric
|
12
|
2
|
Total amount of merchandise.
|
|
7
|
SHIPPING
|
Numeric
|
11
|
2
|
Shipping charges.
|
|
8
|
SHIP_DATE
|
Datetime
|
8
|
N/A
|
Date of shipment.
|
|
9
|
SHIPMODIFY
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
10
|
INV_DATE
|
Datetime
|
8
|
N/A
|
Date of invoice.
|
|
11
|
AMT_PAID
|
Numeric
|
12
|
2
|
The amount paid.
|
|
12
|
PRINTED
|
Logical
|
1
|
N/A
|
Indicates invoice was printed.
|
|
13
|
COMPLETED
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
14
|
FIN_CHARGE
|
Numeric
|
10
|
2
|
The finance amount.
|
|
15
|
DISCT_DAYS
|
Numeric
|
5
|
N/A
|
Number of days to receive
discount.
|
|
16
|
DISCOUNT
|
Numeric
|
4
|
N/A
|
Discount percentage.
|
|
17
|
DUE_DATE
|
Datetime
|
8
|
N/A
|
Invoice due date.
|
|
18
|
NON_TAX
|
Numeric
|
11
|
2
|
Dollar amount of tax exempt
merchandise.
|
|
19
|
POSTED
|
Logical
|
1
|
N/A
|
Indicates that this transaction was
posted
|
|
20
|
COGS
|
Numeric
|
11
|
2
|
Cost of goods on this invoice.
|
|
21
|
TYPE
|
Character
|
1
|
N/A
|
RESERVED.
|
|
22
|
ITAX
|
Numeric
|
10
|
2
|
City tax rate.
|
|
23
|
CTAX
|
Numeric
|
10
|
2
|
County tax rate.
|
|
24
|
STAX
|
Numeric
|
10
|
2
|
State tax rate.
|
|
25
|
NTAX
|
Numeric
|
10
|
2
|
National tax rate.
|
|
26
|
NTAXCODE
|
Character
|
3
|
N/A
|
Country code.
|
|
27
|
STAXCODE
|
Character
|
3
|
N/A
|
State code.
|
|
28
|
CTAXCODE
|
Character
|
3
|
N/A
|
County code.
|
|
29
|
ITAXCODE
|
Character
|
5
|
N/A
|
City code.
|
|
30
|
PAYMETHOD
|
Character
|
2
|
N/A
|
Method of payment.
|
|
31
|
AUTHCODE
|
Character
|
10
|
N/A
|
RESERVED.
|
|
32
|
AUTHDATE
|
Datetime
|
8
|
N/A
|
RESERVED.
|
|
33
|
COD_AMOUNT
|
Numeric
|
12
|
2
|
RESERVED.
|
|
34
|
USERID
|
Character
|
3
|
N/A
|
User ID code associated with this
transaction.
|
|
35
|
REPORTED
|
Logical
|
1
|
N/A
|
Indicates that this transaction has
been posted.
|
|
36
|
AMOUNT
|
Numeric
|
12
|
2
|
Total amount of the invoice.
|
|
37
|
PAID
|
Logical
|
1
|
N/A
|
Invoice paid in full indicator.
|
|
38
|
NTAX_BASIS
|
Numeric
|
12
|
2
|
National taxable base.
|
|
39
|
STAX_BASIS
|
Numeric
|
12
|
2
|
State taxable base.
|
|
40
|
CTAX_BASE
|
Numeric
|
12
|
2
|
County taxable base.
|
|
41
|
ITAX_BASE
|
Numeric
|
12
|
2
|
City taxable base.
|
|
42
|
PAID_DATE
|
Datetime
|
8
|
N/A
|
Date of payment.
|
|
43
|
POPENTRY
|
Logical
|
1
|
N/A
|
Indicates a POP order.
|
|
44
|
PACKPRINT
|
Logical
|
1
|
N/A
|
Indicates packing slip was
printed.
|
|
45
|
OPEN_BAL
|
Numeric
|
12
|
2
|
Open balance amount.
|
|
46
|
DISCT_PCT
|
Numeric
|
6
|
1
|
Discount percent taken on invoice.
|
|
47
|
GCAMT
|
Numeric
|
12
|
2
|
Amount of gift certificate used on
invoice.
|
|
48
|
POINTS
|
Numeric
|
10
|
N/A
|
Customer points generated by
invoice.
|
|
49
|
CORRECTIN
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
50
|
POINTS2CRD
|
Logical
|
1
|
N/A
|
RESERVED.
|
|
51
|
POSTDATE
|
Datetime
|
8
|
N/A
|
Date posted.
|
|
52
|
PTAX_DATE
|
Datetime
|
8
|
N/A
|
Date of tax payment.
|
|
53
|
INVOICE_ID
|
Integer
(Auto Increment)
|
4
|
N/A
|
RESERVED.
|