HCPRCCLASS – Price Class
- System
- Inventory Control (IC)
- Prefix
HPC- Primary key
ITEM-GROUP,PRICE-CLASS,COST-LIMIT- Fields
- 8
- Updated by
- 1 program
- Referenced by
- 3 programs
HCPRCCLASS is the Price Class table in Lawson Inventory Control (prefix HPC). It is indexed by ITEM-GROUP, PRICE-CLASS, COST-LIMIT (HPCSET1). It is related 1:1 to ITEMGROUP. It is updated by PC08.1 and referenced by PC10.1, PC120 and PC810. The table has 8 fields, 1 index and 1 documented relation.
About HCPRCCLASS
This is the Price Class file.
Fields (8)
Column = COBOL field name without the HPC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
HPC-ITEM-GROUP PKITEM_GROUP | Alpha 5 | This field contains the identifier for a group of items that can be shared by one or more companies. | PC08.1 |
HPC-PRICE-CLASS PKPRICE_CLASS | Alpha 4 | A code that identifies the rules for calculating a patient charge price. | PC08.1 |
HPC-COST-LIMIT PKCOST_LIMIT | Numeric 8 | An upper limit; the lower limit is either zero, or the upper limit of the previous limit of the same price class. If the cost of an item is within this range, then this rule applies. | PC08.1 |
HPC-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This field displays the description. | PC08.1 |
HPC-MARKUP-PCTMARKUP_PCT | Percent 6.2 (Percent) | — | PC08.1 |
HPC-ADD-ON-AMTADD_ON_AMT | Signed 18.5 | — | PC08.1 |
HPC-ROUND-UP-AMTROUND_UP_AMT | Signed 18.5 | — | PC08.1 |
HPC-MINIMUM-PRICEMINIMUM_PRICE | Signed 18.5 | — | PC08.1 |
Indexes (1)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
HPCSET1 | ITEM-GROUP, PRICE-CLASS, COST-LIMIT | Primary | PC08.1, PC10.1, PC120, PC810 |
Relations
One to one (1) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Itemgroup | ITEMGROUP | Required | HPC-ITEM-GROUP → ITG-ITEM-GROUP |
Programs
Updated by (1)
- PC08.1 Price Class