POITEMVEN – PO Vendor Item Information

System
Purchase Order (PO)
Prefix
PIV
Primary key
PROCURE-GROUP, ITEM, VENDOR, VEN-ITEM
Fields
17
Updated by
255 programs
Referenced by
66 programs

POITEMVEN is the PO Vendor Item Information table in Lawson Purchase Order (prefix PIV). It is indexed by PROCURE-GROUP, ITEM, VENDOR, VEN-ITEM (PIVSET1); alternate indexes: PIVSET2, PIVSET3, PIVSET4, PIVSET5 and PIVSET6. It is related 1:1 to APVENMAST, ITEMMAST, POPIVUF and PROCUREGRP and 1:M to ICITEMGTIN, ITEMNDC and POPIVAUDIT. It is updated by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 247 more and referenced by AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 and 58 more. The table has 17 fields, 6 indexes and 8 documented relations.

About POITEMVEN

This file contains the vendor's item identifier and forms a cross reference between the item number and the vendor's item identifier and item description.

Fields (17)

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

Field / columnTypeDescription & valuesUpdated by
PIV-PROCURE-GROUP PK
PROCURE_GROUP
Alpha 4Type or select a procurement group. A procurement group is a group of companies that share a common procurement effort. They buy items and services together.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-ITEM PK
ITEM
Alpha 32This field contains the item identifier.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-VENDOR PK
VENDOR
Alpha 9 (Right Justified)The vendor's identification code.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-VEN-ITEM PK
VEN_ITEM
Alpha 32The vendor's item identifier.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-VEN-ITEM-DESC
VEN_ITEM_DESC
Alpha 30 (Lower Case)This field displays the description.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-VBUY-UOM
VBUY_UOM
Alpha 4This field contains the valid stock unit of measure for this item.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-VPRI-UOM
VPRI_UOM
Alpha 4This field contains the valid stock unit of measure for this item.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-MANUF-CODE
MANUF_CODE
Alpha 4This field contains a user defined code that indicates the manufacturer of an item.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-MANUF-DIVISION
MANUF_DIVISION
Alpha 4This is a user defined code that indicates which division of a manufacturer is tied to an item.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-MANUF-NBR
MANUF_NBR
Alpha 35This is the identifier that the manufacturer has assigned to an item.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-LIC-CODE
LIC_CODE
Alpha 4The Labeler Identification Code (LIC) is assigned to any organization in the healthcare industry. The LIC is used with bar code technology to identify the company that put the label on the product.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-LAST-LEADTIME
LAST_LEADTIME
Numeric 3This field contains the difference in days between the purchase order date and the received date for the last purchase order for this item for this vendor. This field is updated by Purchase Order. The field is display only in the item vendor record, it is not used for defaulting.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-MIN-ORD-QTY
MIN_ORD_QTY
Signed 13.4AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-WARRANTY-PER
WARRANTY_PER
Numeric 6AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-DEFAULT-FLG
DEFAULT_FLG
Numeric 1
  • 0 No
  • 1 Yes
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-STATUS
STATUS
Numeric 1
  • 0 Active
  • 1 Inactive
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PIV-ITEM-CODE-USED
ITEM_CODE_USED
Derived

Indexes (6)

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

IndexKeysFlagsConditionUsed in
PIVSET1PROCURE-GROUP, ITEM, VENDOR, VEN-ITEMPrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PIVSET2PROCURE-GROUP, VEN-ITEM, ITEM, VENDORPO258, PO58.1, PO58.2, PO72.1, RQIC.1, RQIG.1
PIVSET3PROCURE-GROUP, VENDOR, VEN-ITEM, ITEMAC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +22 more (list truncated in source)
PIVSET4PROCURE-GROUP, VENDOR, ITEM, VEN-ITEMAP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7, AP21.1, AP23.1 +14 more
PIVSET5PROCURE-GROUP, VENDOR, MANUF-CODE, MANUF-DIVISION, MANUF-NBR, ITEM, VEN-ITEMAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PIVSET6PROCURE-GROUP, MANUF-CODE, MANUF-DIVISION, MANUF-NBR, ITEM, VBUY-UOM, VENDOR, VEN-ITEMSubsetWhere MANUF-CODE != Spaces And MANUF-NBR != Spaces

Relations

One to one (4) — lookups and parents

RelationTableRulesConditionField map
ApvenmastAPVENMASTRequiredPCG-VENDOR-GROUPVEN-VENDOR-GROUP (VENSET1), PIV-VENDORVEN-VENDOR
ItemmastITEMMASTRequiredPCG-ITEM-GROUPITE-ITEM-GROUP, PIV-ITEMITE-ITEM
PopivufPOPIVUFNot RequiredPIV-PROCURE-GROUPUFI-PROCURE-GROUP, PIV-ITEMUFI-ITEM, PIV-VENDORUFI-VENDOR, PIV-VEN-ITEMUFI-VEN-ITEM
ProcuregrpPROCUREGRPRequiredPIV-PROCURE-GROUPPCG-PROCURE-GROUP

One to many (4) — child tables

RelationTableRulesConditionField map
IcitemgtinICITEMGTINValid When PIV-MANUF-CODE != Spaces And PIV-MANUF-NBR != SpacesPCG-ITEM-GROUPGTI-ITEM-GROUP, PIV-MANUF-CODEGTI-MANUF-CODE, PIV-MANUF-DIVISIONGTI-MANUF-DIVISION, PIV-MANUF-NBRGTI-MANUF-NBR, PIV-ITEMGTI-ITEM, GTI-UOM, GTI-GTIN
IcitemgtinbuomICITEMGTINValid When PIV-VBUY-UOM != Spaces Or (PIV-MANUF-CODE != Spaces Or PIV-MANUF-NBR != Spaces)PCG-ITEM-GROUPGTI-ITEM-GROUP, PIV-MANUF-CODEGTI-MANUF-CODE, PIV-MANUF-DIVISIONGTI-MANUF-DIVISION, PIV-MANUF-NBRGTI-MANUF-NBR, PIV-ITEMGTI-ITEM, PIV-VBUY-UOMGTI-UOM, GTI-GTIN
ItemndcITEMNDCPCG-ITEM-GROUPIDC-ITEM-GROUP, PIV-ITEMIDC-ITEM, IDC-NDC-NBR
PopivauditPOPIVAUDITPIV-PROCURE-GROUPPIU-PROCURE-GROUP, PIV-ITEMPIU-ITEM, PIV-VENDORPIU-VENDOR, PIV-VEN-ITEMPIU-VENDOR-ITEM, PIU-DATE, PIU-TIME, PIU-FLD-NBR

Programs

Updated by (255)

Referenced by (66)