SHIPTO – Customer Ship To Address

System
Billing (BL)
Prefix
SHP
Primary key
COMPANY, CUSTOMER, SHIP-TO
Fields
52
Updated by
2 programs
Referenced by
37 programs

SHIPTO is the Customer Ship To Address table in Lawson Billing (prefix SHP). It is indexed by COMPANY, CUSTOMER, SHIP-TO (SHPSET1); alternate indexes: SHPSET2. It is related 1:1 to APCOMPANY, ARCOMP, ARCUSTGRP, ARCUSTOMER, APVENMAST, CUSTDESC, OEFRTCODE, ICLOCATION and 7 more. It is updated by TX140 and WH20.7 and referenced by AR08.1, AR10.1, AR501, AR550, BLI2.1, IC02.1, TX40.1, WH130 and 29 more. The table has 52 fields, 2 indexes and 18 documented relations.

About SHIPTO

The Customer Ship To Address file stores customer ship to information, including the ship-to address and specific order processing rules for the ship-to location. Any customer can have multiple ship-to records set up and one ship to can be defined as a default.

Fields (52)

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

Field / columnTypeDescription & valuesUpdated by
SHP-COMPANY PK
COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.
SHP-CUSTOMER PK
CUSTOMER
Alpha 9 (Right Justified)Customer number representing a unique customer.
SHP-SHIP-TO PK
SHIP_TO
Numeric 4User-defined code identifying a customer's ship-to number.
SHP-NAME
NAME
Alpha 30 (Lower Case)This field displays the ship to's address name.WH21.2, WH210
SHP-CONTACT
CONTACT
Alpha 30 (Lower Case)Displays the company description.
SHP-ADDR1
ADDR1
Alpha 30 (Lower Case)First line of address information for a customer's ship-to location.
SHP-ADDR2
ADDR2
Alpha 30 (Lower Case)Second line of address information for a customer's ship-to location.
SHP-ADDR3
ADDR3
Alpha 30 (Lower Case)Third line of address information for a customer's ship-to location.
SHP-ADDR4
ADDR4
Alpha 30 (Lower Case)Fourth line of address information for a customer's ship-to location.
SHP-CITY
CITY
Alpha 18 (Lower Case)City name of a customer's ship-to location.
SHP-STATE
STATE
Alpha 2State abbreviation of a customer's ship-to location.
SHP-ZIP
ZIP
Alpha 10Zip code of a customer's ship-to location.
SHP-COUNTRY
COUNTRY
Alpha 30 (Lower Case)Country name for a customer's ship-to location.
SHP-COUNTY
COUNTY
Alpha 25 (Lower Case)The county for the company address.TX140
SHP-TAX-EXEMPT-CD
TAX_EXEMPT_CD
Alpha 1Code indicating the taxing status of a customer's ship-to location. If a customer ship-to is defined as exempt, any order placed for this ship-to location will be exempt regardless of the taxing status of the item ordered.
  • E Exempt
  • T Taxable
SHP-TAX-CODE
TAX_CODE
Alpha 10A user-defined code representing the tax authorities this ship-to pays sales tax to. Tax codes are set up in the Tax system.TX140
SHP-FREIGHT-CODE
FREIGHT_CODE
Alpha 2Freight code indicating if a freight charge is to be assessed for orders placed using this ship-to location. Freight codes are set up in the Billing system.
SHP-CARRIER
CARRIER
Alpha 9 (Right Justified)This field contains the carrier vendor number. Must be a valid vendor in the Accounts Payable system.
SHP-BRK-CHRG-FL
BRK_CHRG_FL
Alpha 1This flag indicates whether this customer ship-to is subject to broken case charges.
  • Y Yes
  • N No
SHP-BACK-ORD-FL
BACK_ORD_FL
Alpha 1Flag indicating whether backorders are allowed when placing orders for this ship-to location.
  • Y Yes
  • N No
SHP-SHIP-COMP-FL
SHIP_COMP_FL
Alpha 1Flag indicating if orders for this customer ship-to must only be shipped when the order is completely filled. If Yes is selected, the orders can only be shipped when all lines on the order can be shipped in total together.
  • Y Yes
  • N No
SHP-PK-PRIORITY
PK_PRIORITY
Numeric 2
SHP-POD-REQ-FL
POD_REQ_FL
Alpha 1POD required flag. Indicates whether this customer's ship-to requires that a Proof of Delivery form accompany the shipment. The shipment will not be billed until the POD form is returned or the POD grace period expires.
  • Y Yes
  • N No
SHP-POD-GRACE-PER
POD_GRACE_PER
Numeric 3
SHP-DEF-LOCATION
DEF_LOCATION
Alpha 5Default location from which the items on orders placed for this customer ship-to should be allocated, picked, and shipped.
SHP-DEF-METHOD
DEF_METHOD
Alpha 10Default method indicating how orders placed for this customer ship-to should be shipped. Method prints on the invoice, BL122 (Invoice and Register Print).
SHP-USED-FL
USED_FL
Alpha 1Flag indicating whether this ship-to location has ever been used.
  • N No
  • Y Yes
WH20.7
SHP-ACTIVE-FLAG
ACTIVE_FLAG
Alpha 1This flag indicates the active or inactive status of this ship-to code.
  • A Active
  • I Inactive
SHP-TERRITORY
TERRITORY
Alpha 4Sales territory in which this customer ship-to location is located.
SHP-SALESMAN
SALESMAN
Numeric 4Sales representative for this customer ship-to location.
SHP-SALESMAN-2
SALESMAN_2
Numeric 4Secondary sales representative for this customer ship-to location.
SHP-COMM-SPLIT
COMM_SPLIT
Percent 5.3 (Percent)Percentage of the total order value used as the basis for the second sales representative's commission.
SHP-TERMS-CD
TERMS_CD
Alpha 5Payment terms code established for this customer ship-to number. Terms codes are set up in the Terms system and determine the due date of the invoices produced for orders placed for this ship-to.
SHP-LIST-NAME
LIST_NAME
Alpha 14Name of the price list that will be used to price items ordered for this customer ship-to.
SHP-LAST-CMNT-SEQ
LAST_CMNT_SEQ
Numeric 3This is the sequence number identifying the last comment line tied to the customer ship-to.
SHP-SHIP-TO-EDI
SHIP_TO_EDI
Alpha 16Used to cross reference the Lawson ship-to number used on EDI transactions if different.
SHP-COUNTRY-CODE
COUNTRY_CODE
Alpha 2The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance).
SHP-REGION
REGION
Alpha 2The region code, if applicable for the country. Used by Intrastat. Must be defined in IN02.1 (Region Maintenance)
SHP-E-MAIL-ADDRESS
E_MAIL_ADDRESS
Alpha 60 (Lower Case)e-mail address.
SHP-VENDOR
VENDOR
Alpha 9 (Right Justified)The vendor's identification code.
SHP-PURCH-FR-LOC
PURCH_FR_LOC
Alpha 4The vendor's purchase from location.
SHP-EC-CTRY-NBR
EC_CTRY_NBR
Numeric 3The European Community Country number; leave blank if not a member of the European Community.
SHP-ISO-CTRY-NBR
ISO_CTRY_NBR
Numeric 3The ISO country number.
SHP-FOB-CODE
FOB_CODE
Alpha 3The user defined Free On Board Code.
SHP-PORT-CD
PORT_CD
Alpha 5The Intrastat port code. Must be define in IN04.1 (Port Maintenance)
SHP-MEMO-TERM
MEMO_TERM
Alpha 5The terms code used for a credit memo when a ship to is present.
SHP-INT-PREFIX
INT_PREFIX
Alpha 6
SHP-PHONE-NMBR
PHONE_NMBR
Alpha 15
SHP-PHONE-EXT
PHONE_EXT
Alpha 5
SHP-FAX-NUMBER
FAX_NUMBER
Alpha 15
SHP-FAX-EXT
FAX_EXT
Alpha 5
SHP-ADD-DATE
ADD_DATE
Numeric 8 (yyyymmdd)

Indexes (2)

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

IndexKeysFlagsConditionUsed in
SHPSET1COMPANY, CUSTOMER, SHIP-TOPrimaryAR08.1, AR10.1, AR501, AR550, BLI2.1, IC02.1, TX140, TX40.1 +22 more (list truncated in source)
SHPSET2COMPANY, CUSTOMER, SHIP-TO-EDISubsetWhere SHIP-TO-EDI != SpacesIC02.1, WH20.2, WH20.7

Relations

One to one (18) — lookups and parents

RelationTableRulesConditionField map
Ap CompanyAPCOMPANYRequiredWhen SHP-CARRIER != SpacesSHP-COMPANYCPY-COMPANY
ArcompARCOMPRequiredSHP-COMPANYACO-COMPANY
ArcustgrpARCUSTGRPRequiredACO-CUST-GROUPACG-CUST-GROUP
ArcustomerARCUSTOMERRequiredSHP-COMPANYACM-COMPANY, SHP-CUSTOMERACM-CUSTOMER
CarrierAPVENMASTRequiredWhen SHP-CARRIER != SpacesCPY-VENDOR-GROUPVEN-VENDOR-GROUP, SHP-CARRIERVEN-VENDOR
CustdescCUSTDESCRequiredACO-CUST-GROUPCUD-CUST-GROUP, SHP-CUSTOMERCUD-CUSTOMER
Freight CodeOEFRTCODERequiredWhen SHP-FREIGHT-CODE != SpacesSHP-COMPANYOFR-COMPANY, SHP-FREIGHT-CODEOFR-FRT-CODE
LocationICLOCATIONRequiredWhen SHP-DEF-LOCATION != SpacesSHP-COMPANYICL-COMPANY, SHP-DEF-LOCATIONICL-LOCATION
MethodOEMETHODRequiredWhen SHP-DEF-METHOD != SpacesSHP-COMPANYOMT-COMPANY, SHP-DEF-METHODOMT-METHOD
OecompanyOECOMPANYRequiredSHP-COMPANYOEC-COMPANY
OefrtcodeOEFRTCODERequiredWhen SHP-FREIGHT-CODE != SpacesSHP-COMPANYOFR-COMPANY, SHP-FREIGHT-CODEOFR-FRT-CODE
Salesrep1SALESREPRequiredWhen SHP-SALESMAN != ZeroesSHP-COMPANYSAW-COMPANY, SHP-SALESMANSAW-SALESMAN
Salesrep2SALESREPRequiredWhen SHP-SALESMAN-2 != ZeroesSHP-COMPANYSAW-COMPANY, SHP-SALESMAN-2SAW-SALESMAN
ShpbodSHPBODNot Required, Delete CascadesSHP-COMPANYBBB-COMPANY, SHP-CUSTOMERBBB-CUSTOMER, SHP-SHIP-TOBBB-SHIP-TO
Tax CodeTXTAXCODERequiredWhen SHP-TAX-CODE != SpacesSHP-COMPANYTAC-COMPANY, SHP-TAX-CODETAC-TAX-CODE
TermsTERMSRequiredWhen SHP-TERMS-CD != SpacesSHP-TERMS-CDTMS-TERMS-CD
TerritoryTERITORYRequiredWhen SHP-TERRITORY != SpacesSHP-COMPANYTRY-COMPANY, SHP-TERRITORYTRY-TERRITORY
TxtaxcodeTXTAXCODERequiredWhen SHP-TAX-CODE != SpacesSHP-COMPANYTAC-COMPANY, SHP-TAX-CODETAC-TAX-CODE

Programs

Updated by (2)

Referenced by (37)