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.

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 3PO04.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 marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
BCLSET1PROCURE-GROUP, BUYER-CODE, PURCH-MAJCL, PURCH-MINCLPrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)

Relations

One to one (3) — lookups and parents

RelationTableRulesConditionField map
MajorclMAJORCLRequiredPCG-ITEM-GROUPMAJ-ITEM-GROUP, "P"MAJ-CLASS-TYPE, BCL-PURCH-MAJCLMAJ-MAJOR-CLASS
MinorclMINORCLRequiredPCG-ITEM-GROUPMIN-ITEM-GROUP, "P"MIN-CLASS-TYPE, BCL-PURCH-MAJCLMIN-MAJOR-CLASS, BCL-PURCH-MINCLMIN-MINOR-CLASS
ProcuregrpPROCUREGRPRequiredBCL-PROCURE-GROUPPCG-PROCURE-GROUP

Programs

Updated by (2)

Referenced by (221)