CWDISTRIB – No description in the Lawson data dictionary
- System
- CW (CW)
- Prefix
CWD- Primary key
COMPANY,EMPLOYEE,CONTRACT-YEAR,POSITION,CONT-SEQ-NBR,PAY-CODE,GL-EFFECT-DATE,GL-SEQ-NBR- Fields
- 23
- Updated by
- 0 programs
- Referenced by
- 0 programs
CWDISTRIB is a Lawson CW table (prefix CWD); no description in the lawson data dictionary. It is indexed by COMPANY, EMPLOYEE, CONTRACT-YEAR, POSITION, CONT-SEQ-NBR, PAY-CODE, GL-EFFECT-DATE, GL-SEQ-NBR (CWDSET1); alternate indexes: CWDSET2 and CWDSET3. It is related 1:1 to ACACCTCAT, ACACTIVITY, PRSYSTEM, GLMASTER, EMPLOYEE and PAEMPLOYEE and 1:M to CWASSIGN, CWCONTRACT, PAEMPPOS and PRPAYCODE. The table has 23 fields, 3 indexes and 10 documented relations.
About CWDISTRIB
No description in the Lawson data dictionary.
Fields (23)
Column = COBOL field name without the CWD- 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 / column | Type | Description & values | Updated by |
|---|---|---|---|
#CWD-COMPANY PKCOMPANY | Numeric 4 | — | — |
#CWD-EMPLOYEE PKEMPLOYEE | Numeric 9 | — | — |
#CWD-CONTRACT-YEAR PKCONTRACT_YEAR | Numeric 4 | — | — |
#CWD-POSITION PKPOSITION | Alpha 12 | — | — |
#CWD-CONT-SEQ-NBR PKCONT_SEQ_NBR | Numeric 12 | — | — |
#CWD-PAY-CODE PKPAY_CODE | Alpha 4 | — | — |
#CWD-GL-EFFECT-DATE PKGL_EFFECT_DATE | Numeric 8 (yyyymmdd) | — | — |
#CWD-GL-SEQ-NBR PKGL_SEQ_NBR | Numeric 4 | — | — |
#CWD-PCD-SEQ-NBRPCD_SEQ_NBR | Numeric 8 | — | — |
#CWD-DIST-COMPANYDIST_COMPANY | Numeric 4 | — | — |
#CWD-DST-ACCT-UNITDST_ACCT_UNIT | Alpha 15 | — | — |
#CWD-DST-ACCOUNTDST_ACCOUNT | Numeric 6 | — | — |
#CWD-DST-SUB-ACCTDST_SUB_ACCT | Numeric 4 | — | — |
#CWD-ACTIVITYACTIVITY | Alpha 15 | — | — |
#CWD-ACCT-CATEGORYACCT_CATEGORY | Alpha 5 | — | — |
#CWD-PERCENTPERCENT | Signed 7.3 | — | — |
#CWD-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | — | — |
#CWD-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | — | — |
#CWD-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | — |
#CWD-CREATE-DATECREATE_DATE | Numeric 8 (yyyymmdd) | — | — |
#CWD-CREATE-TIMECREATE_TIME | Numeric 6 (hhmmss) | — | — |
#CWD-CREATE-USER-IDCREATE_USER_ID | Alpha 10 (Lower Case) | — | — |
#CWD-FTEFTE | Signed 11.6 | — | — |
Indexes (3)
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.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
CWDSET1 |
| Primary | BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +22 more (list truncated in source) | |
CWDSET2 |
| — | ||
CWDSET3 |
| — |
Relations
One to one (6) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acct Category | ACACCTCAT | Required | When (CWD-ACCT-CATEGORY != Spaces) |
| ||||||||||||
| Activity | ACACTIVITY | Required | When (CWD-ACTIVITY != Spaces) |
| ||||||||||||
| Company | PRSYSTEM | Required |
| |||||||||||||
| Dist Account | GLMASTER | Required |
| |||||||||||||
| Employee | EMPLOYEE | Required |
| |||||||||||||
| Paemployee | PAEMPLOYEE | Required |
|
One to many (4) — child tables
| Relation | Table | Rules | Condition | Field map | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Assignment | CWASSIGN |
| ||||||||||||||||||||
| Emp Contract | CWCONTRACT |
| ||||||||||||||||||||
| Emp Position | PAEMPPOS |
| ||||||||||||||||||||
| Pay Code | PRPAYCODE |
|
Programs
No Lawson programs are documented as updating or referencing this table.