PORECADJLN – Receiving Adjustments Line

System
Purchase Order (PO)
Prefix
PJL
Primary key
COMPANY, DOC-TYPE, DOC-NBR-NUM, LINE-NBR
Fields
26
Updated by
11 programs
Referenced by
227 programs

PORECADJLN is the Receiving Adjustments Line table in Lawson Purchase Order (prefix PJL). It is indexed by COMPANY, DOC-TYPE, DOC-NBR-NUM, LINE-NBR (PJLSET1); alternate indexes: PJLSET2, PJLSET3, PJLSET4 and PJLSET5. It is related 1:1 to POMESSAGE, PJLBOD, PORECADJHD and PORECLINE and 1:M to ICTRANS and POTRANSDTL. It is updated by MA531, PO30.1, PO30.2, PO30.3, PO30.4, PO300, PO33.1, PO34.1 and 3 more and referenced by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 219 more. The table has 26 fields, 5 indexes and 6 documented relations.

About PORECADJLN

No description in the Lawson data dictionary.

Fields (26)

Column = COBOL field name without the PJL- 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
#PJL-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)
#PJL-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)
#PJL-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)
#PJL-DOCUMENT-A SET4 SET5
DOCUMENT_A
Alpha 10 (Right Justified)AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-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)
#PJL-LINE-NBR PK
LINE_NBR
Numeric 6This field contains the line number.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-REC-NUMBER SET2
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)
#PJL-PO-NUMBER SET3
PO_NUMBER
Alpha 14 (Right Justified)This field contains the number representing the purchase order.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-PO-RELEASE SET3
PO_RELEASE
Numeric 4Used to identify a purchase order release (created from a Blanket or Standing order).AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-PO-CODE SET3
PO_CODE
Alpha 4This is the purchase order code.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-PO-LINE-NBR SET3
PO_LINE_NBR
Numeric 6This field contains the line number.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-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)
#PJL-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)
#PJL-DATE SET3
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)
#PJL-QUANTITY
QUANTITY
Signed 13.4This field contains the desired quantity.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-CATCH-WT-QTY
CATCH_WT_QTY
Signed 13.4This field contains the desired quantity.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-BIN
BIN
Alpha 7This field contains a storage area for an item or any number of items.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-CANCEL-BO-FL
CANCEL_BO_FL
Alpha 1AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-DETAIL-BAL-FL
DETAIL_BAL_FL
Alpha 1AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-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)
#PJL-LAST-POT-SEQ
LAST_POT_SEQ
Numeric 6AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-WRITE-OFF
WRITE_OFF
Alpha 1" " = No Rejections
  • Y Write Off
  • N Create Return
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-RETURN-NUMBER
RETURN_NUMBER
Numeric 10This is the number assigned to the return for purposes of referencing the return internally and with the customer or vendor.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-RET-LINE-NBR
RET_LINE_NBR
Numeric 6This field contains the line number.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-BUYER-MSG-FLAG
BUYER_MSG_FLAG
Alpha 1Indicates whether a buyer message exists for this receiving line.
  • Y Yes
  • N No
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#PJL-GLBL-LINE-TYPE
GLBL_LINE_TYPE
Alpha 15AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)

Indexes (5)

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
PJLSET1
  1. COMPANY
  2. DOC-TYPE
  3. DOC-NBR-NUM
  4. LINE-NBR
PrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PJLSET2
  1. COMPANY
  2. REC-NUMBER
  3. LINE-NBR
  4. DOC-TYPE
  5. DOC-NBR-NUM
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PJLSET3
  1. COMPANY
  2. PO-NUMBER
  3. PO-RELEASE
  4. PO-CODE
  5. PO-LINE-NBR
  6. DATE
  7. DOC-TYPE
  8. DOC-NBR-NUM
  9. LINE-NBR
KeyChange, SubsetWhere STATUS = 1PO277, PO529, PO64.1
PJLSET4
  1. COMPANY
  2. DOCUMENT-A
  3. LINE-NBR
SubsetWhere DOC-TYPE = "RA"IC234
PJLSET5
  1. COMPANY
  2. DOCUMENT-A
  3. LINE-NBR
SubsetWhere DOC-TYPE = "IN"IC234, PO34.1

Relations

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

One to one (4) — lookups and parents

RelationTableRulesConditionField map
Buyer MessagePOMESSAGENot Required
PJL-COMPANYPOM-COMPANY
PJL-REC-NUMBERPOM-REC-NUMBER
PJL-LINE-NBRPOM-LINE-NBR
PJL-DOC-NBR-NUMPOM-DOC-NBR-NUM
PjlbodPJLBODNot Required, Delete Cascades
PJL-COMPANYPBS-COMPANY
PJL-DOC-TYPEPBS-DOC-TYPE
PJL-DOC-NBR-NUMPBS-DOC-NBR-NUM
PJL-LINE-NBRPBS-LINE-NBR
PorecadjhdPORECADJHDRequired
PJL-COMPANYPJH-COMPANY
PJL-DOC-TYPEPJH-DOC-TYPE
PJL-DOC-NBR-NUMPJH-DOC-NBR-NUM
PoreclinePORECLINERequired
PJL-COMPANYPRL-COMPANY
PJL-REC-NUMBERPRL-REC-NUMBER
PJL-LINE-NBRPRL-LINE-NBR

One to many (2) — child tables

RelationTableRulesConditionField map
IctransICTRANS
PJL-COMPANYICT-COMPANY
PRL-LOCATIONICT-LOCATION
PJL-DOC-TYPEICT-DOC-TYPE
"PO"ICT-SYSTEM-CD
PJL-DOCUMENT-AICT-DOCUMENT
ZeroesICT-SHIPMENT-NBR
PJL-LINE-NBRICT-LINE-NBR
ICT-COMPONENT-SEQ
PotransdtlPOTRANSDTLDelete Cascades
PJL-COMPANYPOT-COMPANY
PJL-DOC-TYPEPOT-DOC-TYPE
PJL-DOC-NBR-NUMPOT-DOC-NBR-NUM
PJL-LINE-NBRPOT-LINE-NBR
POT-TRANS-SEQ

Programs

Updated by (11)

Referenced by (227)