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.

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 marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
PPCSET1COMPANY, POSITION, EFFECT-DATE, FLD-NBRPrimaryBN305, HR00.1, HR01.1, HR11.1, HR11.2, HR11.4, HR28.1, HR511 +22 more (list truncated in source)

Relations

One to one (3) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredPPC-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
Field NbrPADICTRequiredWhen (PPC-FLD-NBR != Zeroes)PPC-FLD-NBRPAD-FLD-NBR
PositionPAPOSITIONRequiredPPC-COMPANYPOS-COMPANY, PPC-POSITIONPOS-POSITION, PPC-EFFECT-DATEPOS-EFFECT-DATE

One to many (1) — child tables

RelationTableRulesConditionField map
Pos Chg ErrorPAPOSERRDelete CascadesPPC-COMPANYPPE-COMPANY, PPC-POSITIONPPE-POSITION, PPC-EFFECT-DATEPPE-EFFECT-DATE, PPE-EMPLOYEE, PPE-REQUISITION, PPE-UPDATE-TYPE

Programs

Updated by (39)