ACSRVCLOC – This file maintains a service location for tax purposes.

System
AC Billing Revenue (BR)
Prefix
ASV
Primary key
COMPANY, CUSTOMER, SERVICE-LOC
Fields
17
Updated by
4 programs
Referenced by
34 programs

ACSRVCLOC is the This file maintains a service location for tax purposes. table in Lawson AC Billing Revenue (prefix ASV). It is indexed by COMPANY, CUSTOMER, SERVICE-LOC (ASVSET1). It is related 1:1 to ARCOMP, CUSTDESC, INSTCTRYCD and INSTREGN. It is updated by BR16.1, BR180, TX140 and TX40.1 and referenced by BR00.1, BR00.2, BR02.3, BR11.1, BR120, BR121, BR122, BR123 and 26 more. The table has 17 fields, 1 index and 4 documented relations.

About ACSRVCLOC

This file maintains a service location for tax purposes. The service location allows you to define address parameters and tax rules at a level lower than the customer. If the Vertex system is used, the address parameters will be used in the invoice tax calculations. A customer can have multiple service locations associated with it. The defined service location can be attached at the customer/contract, activity, or account category billing parameter levels. The customer service location can be maintained via BR16 (Service Location). A service location listing can be produced by running BR216.

Fields (17)

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

Field / columnTypeDescription & valuesUpdated by
ASV-COMPANY PK
COMPANY
Numeric 4The company number represents an established AR company.BR16.1
ASV-CUSTOMER PK
CUSTOMER
Alpha 9 (Right Justified)This field contains the number that represents a customer.BR16.1
ASV-SERVICE-LOC PK
SERVICE_LOC
Numeric 4A user defined code identifying a customer's service location.BR16.1
ASV-NAME
NAME
Alpha 30 (Lower Case)This field maintains the service location name.BR16.1
ASV-ADDR1
ADDR1
Alpha 30 (Lower Case)This field contains the first line of address information.BR16.1
ASV-ADDR2
ADDR2
Alpha 30 (Lower Case)This field contains the first line of address information.BR16.1
ASV-ADDR3
ADDR3
Alpha 30 (Lower Case)This field contains the first line of address information.BR16.1
ASV-ADDR4
ADDR4
Alpha 30 (Lower Case)This field contains the first line of address information.BR16.1
ASV-CITY
CITY
Alpha 18 (Lower Case)This field contains the city of the address.BR16.1
ASV-STATE
STATE
Alpha 2This field contains the two-character state code of the address.BR16.1
ASV-ZIP
ZIP
Alpha 10This field contains the postal code of the address.BR16.1
ASV-COUNTY
COUNTY
Alpha 25 (Lower Case)This field is the County name.BR16.1, BR180, TX140, TX40.1
ASV-COUNTRY-CODE
COUNTRY_CODE
Alpha 2The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance).BR16.1
ASV-REGION
REGION
Alpha 2The region code, if applicable for the country. Used by Intrastat. Must be defined in IN02.1 (Region Maintenance)BR16.1
ASV-ACTIVE-FLAG
ACTIVE_FLAG
Alpha 1This flag indicates the active or inactive status. A - Active, I - Inactive
  • A Active
  • I Inactive
BR16.1
ASV-TAX-EXEMPT-CD
TAX_EXEMPT_CD
Alpha 1Code indicating the taxing status. E - Exempt, T - Taxable.
  • E Exempt
  • T Taxable
BR16.1
ASV-TAX-CODE
TAX_CODE
Alpha 10A user defined code representing the tax authorites tax is paid to. Tax codes are set up in the Tax System.BR16.1, BR180, TX140, TX40.1

Indexes (1)

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

IndexKeysFlagsConditionUsed in
ASVSET1COMPANY, CUSTOMER, SERVICE-LOCPrimaryBR00.1, BR00.2, BR02.3, BR11.1, BR120, BR121, BR122, BR123 +22 more (list truncated in source)

Relations

One to one (4) — lookups and parents

RelationTableRulesConditionField map
ArcompARCOMPRequiredASV-COMPANYACO-COMPANY
CustdescCUSTDESCRequiredACO-CUST-GROUPCUD-CUST-GROUP, ASV-CUSTOMERCUD-CUSTOMER
InstctrycdINSTCTRYCDNot RequiredASV-COUNTRY-CODEINT-COUNTRY-CODE
InstregnINSTREGNNot RequiredASV-COUNTRY-CODEINR-COUNTRY-CODE, ASV-REGIONINR-REGION

Programs

Updated by (4)

Referenced by (34)