PORECADJHD – Receiving Adjustments Header

System
Purchase Order (PO)
Prefix
PJH
Primary key
COMPANY, DOC-TYPE, DOC-NBR-NUM
Fields
17
Updated by
11 programs
Referenced by
219 programs

PORECADJHD is the Receiving Adjustments Header table in Lawson Purchase Order (prefix PJH). It is indexed by COMPANY, DOC-TYPE, DOC-NBR-NUM (PJHSET1); alternate indexes: PJHSET2, PJHSET3 and PJHSET4. It is related 1:1 to PORECEIVE. It is updated by MA531, PO133, PO30.1, PO30.2, PO30.3, PO30.4, PO300, PO33.1 and 3 more and referenced by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 211 more. The table has 17 fields, 4 indexes and 1 documented relation.

About PORECADJHD

No description in the Lawson data dictionary.

Fields (17)

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

Field / columnTypeDescription & valuesUpdated by
PJH-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.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-DOC-TYPE PK
DOC_TYPE
Alpha 2This field contains the type of transaction.
  • RA Receiving Adjustment
  • IN Inspection
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-DOC-NBR-NUM PK
DOC_NBR_NUM
Numeric 10AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-REFERENCE-NO
REFERENCE_NO
Alpha 25 (Right Justified)AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-REC-NUMBER
REC_NUMBER
Numeric 10The receiver number. Assigned when this receiving information was added.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-OPER-ID
OPER_ID
Alpha 10This field is used to store the login id of the person who entered the record.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-DATE
DATE
Numeric 8 (yyyymmdd)This field displays the system date when this was created.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-ACTUAL-TIME
ACTUAL_TIME
Numeric 4This field contains the actual time the receiver was entered into the system. This filed defaults to the system date if an actual time was not entered.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-UPDATE-DATE
UPDATE_DATE
Numeric 8 (yyyymmdd)This field contains the date the record was updated.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-UPDATE-TIME
UPDATE_TIME
Numeric 6This field contains the system time when the record was updated.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-VEN-CLAIM-TYPE
VEN_CLAIM_TYPE
Alpha 2
  • CB Chargeback
  • CM Credit Memo
  • N None
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-REPLACE-GOODS
REPLACE_GOODS
Alpha 1
  • Y Yes
  • N No
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-SHIP-OR-HOLD
SHIP_OR_HOLD
Alpha 1
  • S Ship
  • H Hold
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-STATUS
STATUS
Numeric 1This field displays the status of the transaction.
  • 0 Unreleased
  • 1 Released
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-LOGGED-FLAG
LOGGED_FLAG
Alpha 1If set to "Y", this field indicates the receiving or receiving adjustment log has been run against this record in a print all unprinted transactions mode.
  • Y Yes
  • N No
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PJH-REC-REF-NO
REC_REF_NO
Derived
PJH-GLBL-DOC-TYPE
GLBL_DOC_TYPE
Alpha 10AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)

Indexes (4)

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

IndexKeysFlagsConditionUsed in
PJHSET1COMPANY, DOC-TYPE, DOC-NBR-NUM*PrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PJHSET2COMPANY, DOC-TYPE, REFERENCE-NO, DOC-NBR-NUMKeyChange, SubsetWhere REFERENCE-NO != SpacesAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PJHSET3COMPANY, REC-NUMBER, DOC-TYPE, DOC-NBR-NUMSubsetWhere STATUS = ZeroesAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PJHSET4COMPANY, DATE, DOC-NBR-NUMKeyChange, SubsetWhere DOC-TYPE = "RA" And STATUS = 1PO133

Relations

One to one (1) — lookups and parents

RelationTableRulesConditionField map
PoreceivePORECEIVERequiredPJH-COMPANYPOR-COMPANY, PJH-REC-NUMBERPOR-REC-NUMBER

Programs

Updated by (11)

Referenced by (219)