POCONTREB – No description in the Lawson data dictionary
- System
- Purchase Order (PO)
- Prefix
REB- Primary key
CONTRACT-GROUP,CM-CONTRACT,REBATE-TYPE- Fields
- 15
- Updated by
- 0 programs
- Referenced by
- 0 programs
POCONTREB is a Lawson Purchase Order table (prefix REB); no description in the lawson data dictionary. It is indexed by CONTRACT-GROUP, CM-CONTRACT, REBATE-TYPE (REBSET1); alternate indexes: REBSET2. It is related 1:1 to APVENMAST, POCONTGRP, POCONTRACT and PROCUREGRP. The table has 15 fields, 2 indexes and 4 documented relations.
About POCONTREB
No description in the Lawson data dictionary.
Fields (15)
Column = COBOL field name without the REB- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
REB-CONTRACT-GROUP PKCONTRACT_GROUP | Alpha 4 | This field contains the identifier for a group of contracts that can be shared by one or more companies. | — |
REB-CM-CONTRACT PKCM_CONTRACT | Numeric 15 | — | — |
REB-REBATE-TYPE PKREBATE_TYPE | Alpha 25 | — | — |
REB-VENDORVENDOR | Alpha 9 (Right Justified) | The vendor's identification code. | — |
REB-STATUSSTATUS | Numeric 1 | —
| — |
REB-LINE-OVERRIDESLINE_OVERRIDES | Alpha 1 | —
| — |
REB-FRST-RB-DUE-DTFRST_RB_DUE_DT | Numeric 8 (yyyymmdd) | This is the first rebate due date. | — |
REB-LST-CN-REB-QLFLST_CN_REB_QLF | Numeric 6 | This is the last contract rebate qualifier sequence number. | — |
REB-TOTAL-EXP-AMTTOTAL_EXP_AMT | Signed 18.2 | This is the total expected rebate amount. | — |
REB-REB-FREQUENCYREB_FREQUENCY | Numeric 1 | —
| — |
REB-REB-PERCENTREB_PERCENT | Signed 6.3 | This field contains the rebate percent and is entered in CM. It is not modified or displayed outside of CM. | — |
REB-CURR-BASE-PURCURR_BASE_PUR | Signed 18.2 | — | — |
REB-CALC-GROWTH-RBCALC_GROWTH_RB | Numeric 1 | —
| — |
REB-LST-GROWTH-QLFLST_GROWTH_QLF | Numeric 6 | — | — |
REB-QUAL-CHANGE-FLQUAL_CHANGE_FL | Alpha 1 | —
| — |
Indexes (2)
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 |
|---|---|---|---|---|
REBSET1 | CONTRACT-GROUP, CM-CONTRACT, REBATE-TYPE | Primary | AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +22 more (list truncated in source) | |
REBSET2 | CONTRACT-GROUP, VENDOR, CM-CONTRACT, REBATE-TYPE | — |
Relations
One to one (4) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Apvenmast | APVENMAST | Required | PCG-VENDOR-GROUP → VEN-VENDOR-GROUP (VENSET1), REB-VENDOR → VEN-VENDOR | |
| Pocontgrp | POCONTGRP | Required | REB-CONTRACT-GROUP → CNG-CONTRACT-GROUP | |
| Pocontract | POCONTRACT | Required | REB-CONTRACT-GROUP → CMH-CONTRACT-GROUP, REB-CM-CONTRACT → CMH-CM-CONTRACT | |
| Procuregrp | PROCUREGRP | Required | REB-CONTRACT-GROUP → PCG-PROCURE-GROUP |
Programs
No Lawson programs are documented as updating or referencing this table.