Required Fields

Populate these fields before calling the routine.

Field Definition
E@VCOMPANY The four-character, numeric company code.
E@VTAXCODE

Consists of the following two fields:

  • E@VTAXCD

    The 9-character numeric GeoCode for the ship-to location.

  • E@VJURISINOUT

    A one character code that indicates whether ship-to location is inside (1=TRUE) or outside (0=FALSE) the city limits.

E@VTAXABLEAMT The signed, 12-character (with 2 decimal places) numeric value for the total dollar amount for the line item.
E@VTAXAMOUNT The signed, 12-character (with 2 decimal places) numeric value for the total tax amount for the transaction. This field is used when processing special (tax-only debit and credit) transactions.
E@VPRODTAXCAT A 15-character alphanumeric product code.
E@VPROCLEVEL A 5-character alphanumeric division code.
E@VLOCATION A 5-character alphanumeric store location code.
E@VCUSTCODE A 10-character alphanumeric customer code. This field is not used.
E@VCUSTCLASS A 4-character customer class code.
E@VCUSTEXEMPT

A one-character flag that shows whether the customer is taxable or exempt.

E = Exempt

T = Taxable

D = TDM Database

E@VCITY The 18-character alphanumeric city for the ship-to location.
E@VSTATE The 2-character alphanumeric state abbreviation for the ship-to location.
E@VZIP The 10-character alphanumeric postal code for the ship-to location.
E@VFROMCITY The 18-character alphanumeric city for the ship-from location.
E@VFROMSTATE The 2-character alphanumeric state for the ship-from location
E@VFROMZIP The 10-character alphanumeric postal code for the ship-from location.
E@VFROMTAXCOD

Consists of the following two fields:

  • E@VFRTAXCD

    The 9-character numeric GeoCode for the ship-from location.

  • E@VFRJURISIO

    A one-character alphanumeric code that indicates whether ship-from location is inside (1=TRUE) or outside (0=FALSE) the city limits.

E@VINVOICE A 22-character alphanumeric invoice number for the transaction
E@VLINENUMBER A 6-character numeric line item number for the transaction.
E@VQUANTITY A signed, 10-character numeric value (including 4 decimal spaces) that indicates the quantity of items for the transaction.
E@VPRODEXEMPT

A one-character alphanumeric code that indicates whether the product is taxable or nontaxable. You can override the E@VCUSTEXEMPT flag for a specified line item.

E = Exempt

T = Taxable

D = TDM Database

E@VTHRDPRTYFC

A one-character alphanumeric code that indicates how the register should be updated.

R = Update register

O = Update register and use E@VTAXAMOUNT field

E@VTRNTYPE

A one-character alphanumeric code that indicates the type of transaction.

S = Sale

P = Purchase

E@VTRNSUBTYPE

A 3-character alphanumeric code that further identifies the type of transaction.

FRT = Freight

SPACES = None

E@VSVEFFDATE An 8-character numeric invoice date in CCYYMMDD format, used to retrieve current or previous tax rates. This field is useful when processing adjustments or credits for prior invoices.
E@VSYSTEMDATE An 8-character numeric date the transaction is processed, in CCYYMMDD format.
E@VERTEXFLAG

A one-character alphanumeric access code that indicates whether this function is specifying the jurisdiction by GeoCode or by some combination of address information.

G = GeoCode

S = State, postal code

C = State, postal code, city

Default = State, postal code, both