BUYCLASS – PO Buyer Purch Class Auth

System
Purchase Order (PO)
Prefix
BCL
Primary key
PROCURE-GROUP, BUYER-CODE, PURCH-MAJCL, PURCH-MINCL
Fields
4
Updated by
2 programs
Referenced by
221 programs

BUYCLASS is the PO Buyer Purch Class Auth table in Lawson Purchase Order (prefix BCL). It is indexed by PROCURE-GROUP, BUYER-CODE, PURCH-MAJCL, PURCH-MINCL (BCLSET1). It is related 1:1 to MAJORCL, MINORCL and PROCUREGRP. It is updated by PO04.1 and PO04.2 and referenced by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 213 more. The table has 4 fields, 1 index and 3 documented relations.

About BUYCLASS

This optional file defines valid item major and minor purchasing classes for a buyer.

Fields (4)

Column = COBOL field name without the BCL- 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
#BCL-PROCURE-GROUP PK
PROCURE_GROUP
Alpha 4This field contains the identifier for a group of companies that share a common procurement effort. They buy items and services together.PO04.2
#BCL-BUYER-CODE PK
BUYER_CODE
Alpha 3—PO04.2
#BCL-PURCH-MAJCL PK
PURCH_MAJCL
Alpha 4The user-defined major purchasing class identifier.PO04.2
#BCL-PURCH-MINCL PK
PURCH_MINCL
Alpha 4The user-defined minor purchasing class identifier.PO04.2

Indexes (1)

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
BCLSET1
  1. PROCURE-GROUP
  2. BUYER-CODE
  3. PURCH-MAJCL
  4. PURCH-MINCL
PrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)

Relations

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

One to one (3) — lookups and parents

RelationTableRulesConditionField map
MajorclMAJORCLRequired
PCG-ITEM-GROUP→MAJ-ITEM-GROUP
"P"→MAJ-CLASS-TYPE
BCL-PURCH-MAJCL→MAJ-MAJOR-CLASS
MinorclMINORCLRequired
PCG-ITEM-GROUP→MIN-ITEM-GROUP
"P"→MIN-CLASS-TYPE
BCL-PURCH-MAJCL→MIN-MAJOR-CLASS
BCL-PURCH-MINCL→MIN-MINOR-CLASS
ProcuregrpPROCUREGRPRequired
BCL-PROCURE-GROUP→PCG-PROCURE-GROUP

Programs

Updated by (2)

Referenced by (221)