ACCONTACTS – Contract Customer Contacts

System
AC Billing Revenue (BR)
Prefix
CTS
Primary key
ACTIVITY-GRP, CONTRACT, RESP-CODE
Fields
21
Updated by
5 programs
Referenced by
2 programs

ACCONTACTS is the Contract Customer Contacts table in Lawson AC Billing Revenue (prefix CTS). It is indexed by ACTIVITY-GRP, CONTRACT, RESP-CODE (CTSSET1). It is related 1:1 to ACCNTSBOD. It is updated by AC120, AC300, BR10.1, BR10.9 and BR14.1 and referenced by BR210 and BRBD.2. The table has 21 fields, 1 index and 1 documented relation.

About ACCONTACTS

The ACCONTACTS file maintains contract customer contacts. Contract customer contacts are established and maintained via BR14.1 (Customer Contacts). Information stored includes a contact code, name, e-mail address, telephone number, fax, notes and address information.

Fields (21)

Column = COBOL field name without the CTS- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#CTS-ACTIVITY-GRP PK
ACTIVITY_GRP
Alpha 15The activity group is the overall project.AC120, BR14.1
#CTS-CONTRACT PK
CONTRACT
Alpha 15Activity Management contract.BR14.1
#CTS-RESP-CODE PK
RESP_CODE
Alpha 5BR14.1
#CTS-NAME
NAME
Alpha 30 (Lower Case)Displays the company description.BR14.1
#CTS-INT-PREFIX
INT_PREFIX
Alpha 6The telephone number country code.BR14.1
#CTS-PHONE-NMBR
PHONE_NMBR
Alpha 15Phone number.BR14.1
#CTS-PHONE-EXT
PHONE_EXT
Alpha 5This field contains the telephone extension number.BR14.1
#CTS-FAX-NMBR
FAX_NMBR
Alpha 15Phone number.BR14.1
#CTS-FAX-EXT
FAX_EXT
Alpha 5This field contains the telephone extension number.BR14.1
#CTS-LONG-DESC
LONG_DESC
Alpha 60 (Lower Case)Long description.BR14.1
#CTS-E-MAIL-ADDRESS
E_MAIL_ADDRESS
Alpha 60 (Lower Case)e-mail address.BR14.1
#CTS-ADDR1
ADDR1
Alpha 30 (Lower Case)This field contains the first line of address information.BR14.1
#CTS-ADDR2
ADDR2
Alpha 30 (Lower Case)This field contains the first line of address information.BR14.1
#CTS-ADDR3
ADDR3
Alpha 30 (Lower Case)This field contains the first line of address information.BR14.1
#CTS-ADDR4
ADDR4
Alpha 30 (Lower Case)This field contains the first line of address information.BR14.1
#CTS-CITY
CITY
Alpha 18 (Lower Case)This field contains the city of the address.BR14.1
#CTS-STATE
STATE
Alpha 2This field contains the two-character state code of the address.BR14.1
#CTS-ZIP
ZIP
Alpha 10This field contains the postal code of the address.BR14.1
#CTS-COUNTY
COUNTY
Alpha 25 (Lower Case)The county for the company address.BR14.1
#CTS-COUNTRY-CODE
COUNTRY_CODE
Alpha 2The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance).BR14.1
#CTS-REGION
REGION
Alpha 2The region code, if applicable for the country. Used by Intrastat. Must be defined in IN02.1 (Region Maintenance)BR14.1

Indexes (1)

Keys are listed in index order; marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
CTSSET1
  1. ACTIVITY-GRP
  2. CONTRACT
  3. RESP-CODE
PrimaryAC120, AC300, BR10.1, BR10.9, BR14.1, BR210, BRBD.2

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
ACCNTSBODACCONTACTS

One to one (1) — lookups and parents

RelationTableRulesConditionField map
AccntsbodACCNTSBODNot Required, Delete CascadesValid When YAJ- = CTS-
CTS-ACTIVITY-GRPYAJ-ACTIVITY-GRP
CTS-CONTRACTYAJ-CONTRACT
CTS-RESP-CODEYAJ-RESP-CODE

Programs

Updated by (5)

Referenced by (2)