PAPOSCHG – Position Changes

System
Personnel (PA)
Prefix
PPC
Primary key
COMPANY, POSITION, EFFECT-DATE, FLD-NBR
Fields
19
Updated by
39 programs
Referenced by
0 programs

PAPOSCHG is the Position Changes table in Lawson Personnel (prefix PPC). It is indexed by COMPANY, POSITION, EFFECT-DATE, FLD-NBR (PPCSET1). It is related 1:1 to PRSYSTEM, PADICT and PAPOSITION and 1:M to PAPOSERR. It is updated by BN305, HR00.1, HR01.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511 and 31 more. The table has 19 fields, 1 index and 4 documented relations.

About PAPOSCHG

No description in the Lawson data dictionary.

Fields (19)

Column = COBOL field name without the PPC- 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
#PPC-COMPANY PK
COMPANY
Numeric 4Contains the company number.BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-EFFECT-DATE PK
EFFECT_DATE
Numeric 8 (yyyymmdd)Contains the effective date for the position.BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-POSITION PK
POSITION
Alpha 12Contains the user-defined code that represents a position in the company.BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-FLD-NBR PK
FLD_NBR
Numeric 4This field contains the PO dictionary field number.BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-END-DATE
END_DATE
Numeric 8 (yyyymmdd)Contains the last date for the position.BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-UPDATE-TYPE
UPDATE_TYPE
Alpha 3Indicates whether the update was due to a data change or an end date addition. Data changes include the field number of the position changed.
  • 1 Data Chg
  • 2 End Date
BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-A-VALUE-PRIOR
A_VALUE_PRIOR
Alpha 30 (Lower Case)Contains the value of any alpha field of the position before the change.BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-A-VALUE
A_VALUE
Alpha 30 (Lower Case)Contains the value of the any alpha field of the position after the change.BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-N-VALUE-PRIOR
N_VALUE_PRIOR
Signed 13.4Contains the value of any numeric field of the position before the change.BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-N-VALUE
N_VALUE
Signed 15.6Contains the value of any numeric field for the position after the change.BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-RETRO-DATE
RETRO_DATE
Numeric 8 (yyyymmdd)—BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-HIST-CORR-TYPE
HIST_CORR_TYPE
Alpha 1—
  • 2 Retroactive Change
  • 4 Reverse
BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-HIST-CORR-FLAG
HIST_CORR_FLAG
Alpha 2—
  • 2 Delete
  • 3 Move to Hist Error
BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-CREATE-DATE
CREATE_DATE
Numeric 8 (yyyymmdd)—BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-CREATE-TIME
CREATE_TIME
Numeric 6 (hhmmss)—BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-CREATE-USER
CREATE_USER
Alpha 10 (Lower Case)—BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-UPDATE-DATE
UPDATE_DATE
Numeric 8 (yyyymmdd)—BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-UPDATE-TIME
UPDATE_TIME
Numeric 6 (hhmmss)—BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more
#PPC-UPDATE-USER
UPDATE_USER
Alpha 10 (Lower Case)—BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +27 more

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
PPCSET1
  1. COMPANY
  2. POSITION
  3. EFFECT-DATE
  4. FLD-NBR
PrimaryBN305, HR00.1, HR01.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511 +22 more (list truncated in source)

Relations

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

One to one (3) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequired
PPC-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
Field NbrPADICTRequiredWhen (PPC-FLD-NBR != Zeroes)
PPC-FLD-NBR→PAD-FLD-NBR
PositionPAPOSITIONRequired
PPC-COMPANY→POS-COMPANY
PPC-POSITION→POS-POSITION
PPC-EFFECT-DATE→POS-EFFECT-DATE

One to many (1) — child tables

RelationTableRulesConditionField map
Pos Chg ErrorPAPOSERRDelete Cascades
PPC-COMPANY→PPE-COMPANY
PPC-POSITION→PPE-POSITION
PPC-EFFECT-DATE→PPE-EFFECT-DATE
—→PPE-EMPLOYEE
—→PPE-REQUISITION
—→PPE-UPDATE-TYPE

Programs

Updated by (39)