POREVISION – PO Revision

System
Purchase Order (PO)
Prefix
PVS
Primary key
COMPANY, PO-NUMBER, PO-RELEASE, PO-CODE, PO-REVISION
Fields
14
Updated by
221 programs
Referenced by
16 programs

POREVISION is the PO Revision table in Lawson Purchase Order (prefix PVS). It is indexed by COMPANY, PO-NUMBER, PO-RELEASE, PO-CODE, PO-REVISION (PVSSET1). It is related 1:1 to PURCHORDER and 1:M to POAUDIT. It is updated by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 213 more and referenced by AM19.1, AM19.2, AP115, AP220, AP305, IC130, MA126, MA26.1 and 8 more. The table has 14 fields, 1 index and 2 documented relations.

About POREVISION

POREVISION is a historical record of issues for a purchase order. When a PO is added or revised, a POREVISION is created. When the PO is issued, the POREVISION is updated to capture the issue method, date and time. POREVISION also provides a place to capture the actual transmit date, time, status and number of attempts for fax, email and EDI purchase orders, as well as the vendor acknoweldgment type and date.

Fields (14)

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

Field / columnTypeDescription & valuesUpdated by
PVS-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.POIL.1
PVS-PO-NUMBER PK
PO_NUMBER
Alpha 14 (Right Justified)This field contains the number representing the purchase order.POIL.1
PVS-PO-RELEASE PK
PO_RELEASE
Numeric 4Used to identify a purchase order release (created from a Blanket or Standing order).POIL.1
PVS-PO-CODE PK
PO_CODE
Alpha 4This is the purchase order code.POIL.1
PVS-PO-REVISION PK
PO_REVISION
Numeric 3The PO Revision number. Assigned sequentially by the system when the PO is revised.POIL.1
PVS-ISSUE-METH
ISSUE_METH
Alpha 1Specifies the method that will be used to issue the purchase order to the vendor.
  • P Paper
  • F Fax
  • E EDI
  • I Internet Mail
  • D Do Not Print
POIL.1
PVS-ISSUE-DATE
ISSUE_DATE
Numeric 8 (yyyymmdd)The date the purchase order revision was issued to the vendor.POIL.1
PVS-ISSUE-TIME
ISSUE_TIME
Numeric 6 (hhmmss)POIL.1
PVS-XMIT-STATUS
XMIT_STATUS
Numeric 1Indicates the status of a transmission (for example, a Fax transmission of a Purchase Order).
  • 0 Unknown
  • 1 Successful
  • 2 Failed
POIL.1
PVS-XMIT-DATE
XMIT_DATE
Numeric 8 (yyyymmdd)This field displays the system date when this was created.POIL.1
PVS-XMIT-TIME
XMIT_TIME
Numeric 6 (hhmmss)POIL.1
PVS-XMIT-TRIES
XMIT_TRIES
Numeric 3Indicates the number of times a transmission was attempted.POIL.1
PVS-ACK-TYPE
ACK_TYPE
Alpha 2The type of acknowledgement that was returned by the vendor. RV
  • AC Ack W Detail & Change
  • AD Ack W Detail No Change
  • AE Ack W Exc Detail Only
  • AH Ack - Hold Status
  • AK Ack - No Detail or Change
  • AP Ack - Product Replenishment
  • AT Accepted
  • NA No Acknowledgment Needed
  • RD Reject with Detail
  • RF Reject with Exc Detail Only
  • RJ Rejected - No Detail
  • RN Rejected - Not as agreed
  • RO Rejected With Counter Offer
  • ZZ Mutually Defined
POIL.1
PVS-ACK-DATE
ACK_DATE
Numeric 8 (yyyymmdd)The date the vendor acknowledgment for the purchase order was sent back.POIL.1

Indexes (1)

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

IndexKeysFlagsConditionUsed in
PVSSET1COMPANY, PO-NUMBER, PO-RELEASE, PO-CODE, PO-REVISIONPrimaryAM19.1, AM19.2, AP115, AP125, AP126, AP131, AP20.1, AP20.2 +22 more (list truncated in source)

Relations

One to one (1) — lookups and parents

RelationTableRulesConditionField map
PurchorderPURCHORDERRequiredPVS-COMPANYPCR-COMPANY, PVS-PO-CODEPCR-PO-CODE, PVS-PO-NUMBERPCR-PO-NUMBER, PVS-PO-RELEASEPCR-PO-RELEASE

One to many (1) — child tables

RelationTableRulesConditionField map
PoauditPOAUDITPVS-COMPANYPAU-COMPANY, PVS-PO-NUMBERPAU-PO-NUMBER, PVS-PO-RELEASEPAU-PO-RELEASE, PVS-PO-CODEPAU-PO-CODE, PVS-PO-REVISIONPAU-PO-REVISION, PAU-UPDATE-DATE, PAU-UPDATE-TIME, PAU-PO-LINE-NBR, PAU-AOC-CODE, PAU-LINE-SEQ, PAU-FLD-NBR, PAU-AUDIT-TYPE, PAU-AUDIT-ACTION

Programs

Updated by (221)

Referenced by (16)