POPREFDMFG – Preferred Manufacturer

System
Purchase Order (PO)
Prefix
PMF
Primary key
COMPANY, ITEM, LOCATION, REQ-LOCATION
Fields
8
Updated by
0 programs
Referenced by
0 programs

POPREFDMFG is the Preferred Manufacturer table in Lawson Purchase Order (prefix PMF). It is indexed by COMPANY, ITEM, LOCATION, REQ-LOCATION (PMFSET1). It is related 1:1 to ICCOMPANY, ICLOCATION, ICMANFCODE, ITEMMAST, POCOMPANY, POCONTGRP, POCONTRACT and RQLOC and 1:M to POITEMVEN, POLINE, POVAGRMTLN and REQLINE. The table has 8 fields, 1 index and 12 documented relations.

About POPREFDMFG

This table contains the preferred manufacturer and contract for inventory items.

Fields (8)

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

Field / columnTypeDescription & valuesUpdated by
PMF-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.
PMF-ITEM PK
ITEM
Alpha 32This field contains the item identifier.
PMF-LOCATION PK
LOCATION
Alpha 5This field contains a valid stocking location within the company inventory.
PMF-REQ-LOCATION PK
REQ_LOCATION
Alpha 5The location requisitioning items. This location can be an inventory or noninventory location.
PMF-CONTRACT-GROUP
CONTRACT_GROUP
Alpha 4This field contains the identifier for a group of contracts that can be shared by one or more companies.
PMF-CM-CONTRACT
CM_CONTRACT
Numeric 15
PMF-MANUF-CODE
MANUF_CODE
Alpha 4This field contains a user defined code that indicates the manufacturer of an item.
PMF-MANUF-DIVISION
MANUF_DIVISION
Alpha 4This is a user defined code that indicates which division of a manufacturer is tied to an item.

Indexes (1)

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

IndexKeysFlagsConditionUsed in
PMFSET1COMPANY, ITEM, LOCATION, REQ-LOCATIONPrimaryPOIH.1

Relations

One to one (8) — lookups and parents

RelationTableRulesConditionField map
IccompanyICCOMPANYRequiredPMF-COMPANYICC-COMPANY
IclocationICLOCATIONRequiredWhen PMF-LOCATION != SpacesPMF-COMPANYICL-COMPANY, PMF-LOCATIONICL-LOCATION
IcmanfcodeICMANFCODERequiredWhen PMF-MANUF-CODE != SpacesICC-ITEM-GROUPIMC-ITEM-GROUP, PMF-MANUF-CODEIMC-MANUF-CODE, PMF-MANUF-DIVISIONIMC-MANUF-DIVISION
ItemmastITEMMASTRequiredICC-ITEM-GROUPITE-ITEM-GROUP, PMF-ITEMITE-ITEM
PocompanyPOCOMPANYRequiredPMF-COMPANYPCY-COMPANY
PocontgrpPOCONTGRPRequiredWhen PMF-CM-CONTRACT != ZeroesPMF-CONTRACT-GROUPCNG-CONTRACT-GROUP
PocontractPOCONTRACTRequiredWhen PMF-CM-CONTRACT != ZeroesPMF-CONTRACT-GROUPCMH-CONTRACT-GROUP, PMF-CM-CONTRACTCMH-CM-CONTRACT
RqlocRQLOCRequiredWhen PMF-REQ-LOCATION != SpacesPMF-COMPANYRQL-COMPANY, PMF-REQ-LOCATIONRQL-REQ-LOCATION

One to many (4) — child tables

RelationTableRulesConditionField map
PoitemvenPOITEMVENPCY-PROCURE-GROUPPIV-PROCURE-GROUP, PMF-ITEMPIV-ITEM, PIV-VENDOR, PIV-VEN-ITEM
PolinePOLINEValid When PMF-LOCATION != SpacesPMF-COMPANYPLI-COMPANY, PMF-ITEMPLI-ITEM, PMF-LOCATIONPLI-LOCATION, PLI-EARLY-DL-DATE, PLI-PO-NUMBER, PLI-PO-RELEASE, PLI-PO-CODE, PLI-LINE-NBR
PovagrmtlnPOVAGRMTLNValid When PMF-CM-CONTRACT != ZeroesPCY-PROCURE-GROUPPVN-PROCURE-GROUP, PMF-ITEMPVN-ITEM, PMF-CONTRACT-GROUPPVN-CONTRACT-GROUP, PMF-CM-CONTRACTPVN-CM-CONTRACT, PVN-VEN-ITEM, PVN-VEN-AGRMT-REF, PVN-LINE-NBR
ReqlineREQLINEValid When PMF-REQ-LOCATION != SpacesPMF-COMPANYRLN-COMPANY, PMF-REQ-LOCATIONRLN-REQ-LOCATION, PMF-ITEMRLN-ITEM, RLN-REQ-DEL-DATE, RLN-REQ-NUMBER, RLN-LINE-NBR

Programs

No Lawson programs are documented as updating or referencing this table.