APVENADDR – AP Vendor Address

System
Accounts Payable (AP)
Prefix
VDR
Primary key
VENDOR-GROUP, VENDOR, LOCATION-CODE, RESP-CODE, CONTACT-LVL, EFFECTIVE-DATE
Fields
22
Updated by
296 programs
Referenced by
54 programs

APVENADDR is the AP Vendor Address table in Lawson Accounts Payable (prefix VDR). It is indexed by VENDOR-GROUP, VENDOR, LOCATION-CODE, RESP-CODE, CONTACT-LVL, EFFECTIVE-DATE (VDRSET1); alternate indexes: VDRSET2 and VDRSET4. It is updated by AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 and 288 more and referenced by AC210, AC297, AM18.1, AP02.3, AP102, AP111, AP130, AP145 and 46 more. The table has 22 fields, 3 indexes and 0 documented relations.

About APVENADDR

The Vendor Address file contains vendor address information.

Fields (22)

Column = COBOL field name without the VDR- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
VDR-VENDOR-GROUP PK
VENDOR_GROUP
Alpha 4A vendor group represents a group of vendors that can be shared by one or more companies.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-VENDOR PK
VENDOR
Alpha 9 (Right Justified)The vendor's identification code.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-LOCATION-CODE PK
LOCATION_CODE
Alpha 4A user-defined code for a vendors' additional address. A blank location identifies a vendor master address record. A location code identifies an address for this specific location code.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-EFFECTIVE-DATE PK
EFFECTIVE_DATE
Numeric 8 (yyyymmdd)The date a vendor's prices will be in effect.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-ADDR1
ADDR1
Alpha 30 (Lower Case)This field contains the first line of address information.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-ADDR2
ADDR2
Alpha 30 (Lower Case)This field contains the first line of address information.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-ADDR3
ADDR3
Alpha 30 (Lower Case)This field contains the first line of address information.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-ADDR4
ADDR4
Alpha 30 (Lower Case)This field contains the first line of address information.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-CITY-ADDR5
CITY_ADDR5
Alpha 18 (Lower Case)This field contains the city of the address.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-STATE-PROV
STATE_PROV
Alpha 2The state or province.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-POSTAL-CODE
POSTAL_CODE
Alpha 10 (Lower Case)This field contains the postal code.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-COUNTY
COUNTY
Alpha 25 (Lower Case)The county for the company address.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-COUNTRY
COUNTRY
Alpha 30 (Lower Case)This field contains the country of the address, or it can be used for additional information such as an attention name.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-CUR-ADDR
CUR_ADDR
Alpha 1Indicates if this is the current vendor address.AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-REGION
REGION
Alpha 2The region code, if applicable for the country. Used by Intrastat. Must be defined in IN02.1 (Region Maintenance)AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-COUNTRY-CODE
COUNTRY_CODE
Alpha 2The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance).AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-RESP-CODE PK
RESP_CODE
Alpha 5User defined field for label assignment to contacts.AP14.2, AP510
VDR-CONTACT-LVL PK
CONTACT_LVL
Numeric 3System generated assignment that can be over-ridden at input. To distinguish and prioritize contacts.AP14.2, AP510
VDR-CREATED-BY
CREATED_BY
Alpha 10AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-LAST-UPDT-DATE
LAST_UPDT_DATE
Numeric 8 (yyyymmdd)AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-LAST-UPDT-TIME
LAST_UPDT_TIME
Numeric 8AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)
VDR-LAST-UPDATE-BY
LAST_UPDATE_BY
Alpha 10AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +52 more (list truncated in source)

Indexes (3)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
VDRSET1VENDOR-GROUP, VENDOR, LOCATION-CODE, RESP-CODE, CONTACT-LVL, EFFECTIVE-DATEPrimaryAC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +22 more (list truncated in source)
VDRSET2VENDOR-GROUP, VENDOR, LOCATION-CODE, RESP-CODE, CONTACT-LVL, CUR-ADDRKeyChange, SubsetWhere CUR-ADDR = "Y"AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +22 more (list truncated in source)
VDRSET4VENDOR-GROUP, VENDOR, LOCATION-CODE, RESP-CODE, CONTACT-LVL, EFFECTIVE-DATE*KeyChangeAC160, AC210, AC297, AM115, AM117, AM15.1, AM15.2, AM15.3 +22 more (list truncated in source)

Programs

Updated by (296)

Referenced by (54)