STCOMMCODE – PO Standard Comment Codes

System
Purchase Order (PO)
Prefix
SCM
Primary key
PROCURE-GROUP, COMMENT-CODE, LANGUAGE-CODE
Fields
5
Updated by
1 program
Referenced by
224 programs

STCOMMCODE is the PO Standard Comment Codes table in Lawson Purchase Order (prefix SCM). It is indexed by PROCURE-GROUP, COMMENT-CODE, LANGUAGE-CODE (SCMSET1). It is updated by PO12.1 and referenced by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 216 more. The table has 5 fields, 1 index and 0 documented relations.

About STCOMMCODE

This is a file of valid standard comment codes. These codes can be used to add comments to a purchase order.

Fields (5)

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

Field / columnTypeDescription & valuesUpdated by
SCM-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.PO12.1
SCM-COMMENT-CODE PK
COMMENT_CODE
Alpha 4The user-defined standard comment code.PO12.1
SCM-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)This field displays the description.PO12.1
SCM-PRINT-CODE
PRINT_CODE
Alpha 1This field contains the print code, which defines where comments are displayed or printed.
  • I Print on Internal Documents
  • P Print on Purchase Order
  • T Print On Purchase Order Trlr
  • R Print on Receiving Document
  • L Print on Pick List
  • D Print on Delivery Ticket
  • Q Print on Requisition
  • O Display Only
  • E Return Document
  • B Bill to
  • N Invoice Comments
PO12.1
SCM-LANGUAGE-CODE PK
LANGUAGE_CODE
Alpha 10Language Code (LOCALE).PO12.1

Indexes (1)

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

IndexKeysFlagsConditionUsed in
SCMSET1PROCURE-GROUP, COMMENT-CODE, LANGUAGE-CODEPrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)

Programs

Updated by (1)

Referenced by (224)