PWICUST – No description in the Lawson data dictionary
- System
- PW (PW)
- Prefix
PWI- Primary key
CUST-GROUP,CUSTOMER- Fields
- 34
- Updated by
- 2 programs
- Referenced by
- 0 programs
PWICUST is a Lawson PW table (prefix PWI); no description in the lawson data dictionary. It is indexed by CUST-GROUP, CUSTOMER (PWISET1); alternate indexes: PWISET2, PWISET3 and PWISET4. It is updated by AR09.1 and AR09.4. The table has 34 fields, 4 indexes and 0 documented relations.
About PWICUST
No description in the Lawson data dictionary.
Fields (34)
Column = COBOL field name without the PWI- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PWI-CUST-GROUP PKCUST_GROUP | Alpha 5 | The user defined buyer group. | AR09.1, AR09.4 |
PWI-CUSTOMER PKCUSTOMER | Alpha 9 (Right Justified) | This field contains the number that represents a customer. | AR09.1, AR09.4 |
PWI-SEARCH-NAMESEARCH_NAME | Alpha 30 | The requester can enter the recommended vendor's name for the requested items. | AR09.1, AR09.4 |
PWI-NAMENAME | Alpha 30 (Lower Case) | Displays the company description. | AR09.1, AR09.4 |
PWI-ADDR1ADDR1 | Alpha 30 (Lower Case) | This field contains the first line of address information. | AR09.1, AR09.4 |
PWI-ADDR2ADDR2 | Alpha 30 (Lower Case) | This field contains the first line of address information. | AR09.1, AR09.4 |
PWI-ADDR3ADDR3 | Alpha 30 (Lower Case) | This field contains the first line of address information. | AR09.1, AR09.4 |
PWI-ADDR4ADDR4 | Alpha 30 (Lower Case) | This field contains the first line of address information. | AR09.1, AR09.4 |
PWI-CITYCITY | Alpha 18 (Lower Case) | This field contains the city of the address. | AR09.1, AR09.4 |
PWI-STATE-PROVSTATE_PROV | Alpha 2 | The state or province. | AR09.1, AR09.4 |
PWI-POSTAL-CODEPOSTAL_CODE | Alpha 10 (Lower Case) | This field contains the postal code. | AR09.1, AR09.4 |
PWI-COUNTYCOUNTY | Alpha 25 (Lower Case) | The county for the company address. | AR09.1, AR09.4 |
PWI-COUNTRY-CODECOUNTRY_CODE | Alpha 2 | The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance). | AR09.1, AR09.4 |
PWI-COUNTRYCOUNTRY | 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. | AR09.1, AR09.4 |
PWI-PHONE-PREFIXPHONE_PREFIX | Alpha 6 | The telephone number country code. | AR09.1, AR09.4 |
PWI-PHONE-NUMPHONE_NUM | Alpha 15 | Phone number. | AR09.1, AR09.4 |
PWI-PHONE-EXTPHONE_EXT | Alpha 5 | This field contains the telephone extension number. | AR09.1, AR09.4 |
PWI-SEARCH-NAME2SEARCH_NAME2 | Alpha 30 | The requester can enter the recommended vendor's name for the requested items. | AR09.1, AR09.4 |
PWI-CONTACTCONTACT | Alpha 20 | This is the name of the main contact. | AR09.1, AR09.4 |
PWI-BILL-TOBILL_TO | Numeric 4 | This field contains the number representing the ship to customer. | AR09.1, AR09.4 |
PWI-BILL-NAMEBILL_NAME | Alpha 30 (Lower Case) | Displays the company description. | AR09.1, AR09.4 |
PWI-BILL-ADDR1BILL_ADDR1 | Alpha 30 (Lower Case) | This field contains the first line of address information. | AR09.1, AR09.4 |
PWI-BILL-ADDR2BILL_ADDR2 | Alpha 30 (Lower Case) | This field contains the first line of address information. | AR09.1, AR09.4 |
PWI-BILL-ADDR3BILL_ADDR3 | Alpha 30 (Lower Case) | This field contains the first line of address information. | AR09.1, AR09.4 |
PWI-BILL-ADDR4BILL_ADDR4 | Alpha 30 (Lower Case) | This field contains the first line of address information. | AR09.1, AR09.4 |
PWI-BILL-CITYBILL_CITY | Alpha 18 | — | AR09.1, AR09.4 |
PWI-BILL-STATEBILL_STATE | Alpha 2 | The state or province. | AR09.1, AR09.4 |
PWI-BILL-POSTAL-CDBILL_POSTAL_CD | Alpha 10 (Lower Case) | — | AR09.1, AR09.4 |
PWI-BILL-COUNTYBILL_COUNTY | Alpha 25 (Lower Case) | The county for the company address. | AR09.1, AR09.4 |
PWI-BILL-CNTRY-CDBILL_CNTRY_CD | Alpha 2 | The Bill-To country code; must be defined in IN01.1 (Country Maintenance). | AR09.1, AR09.4 |
PWI-BILL-COUNTRYBILL_COUNTRY | Alpha 30 | — | AR09.1, AR09.4 |
PWI-DEFAULT-BILLTODEFAULT_BILLTO | Alpha 1 | — | AR09.1, AR09.4 |
PWI-ORIG-OBJ-IDORIG_OBJ_ID | Numeric 12 | — | — |
PWI-IMPORT-STATUSIMPORT_STATUS | Numeric 1 | — | AR09.1, AR09.4 |
Indexes (4)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
PWISET1 | CUST-GROUP, CUSTOMER | Primary | AR09.1, AR09.4 | |
PWISET2 | CUST-GROUP, CUSTOMER | Subset | Where IMPORT-STATUS = 1 | — |
PWISET3 | CUST-GROUP, CUSTOMER | Subset | Where IMPORT-STATUS = Zeroes | — |
PWISET4 | CUST-GROUP, CUSTOMER | Subset | Where IMPORT-STATUS = 2 | — |