POREBDUE – Contract Rebate Header
- System
- Purchase Order (PO)
- Prefix
DUE- Primary key
CONTRACT-GROUP,CM-CONTRACT,REBATE-TYPE,DUE-DATE- Fields
- 14
- Updated by
- 36 programs
- Referenced by
- 0 programs
POREBDUE is the Contract Rebate Header table in Lawson Purchase Order (prefix DUE). It is indexed by CONTRACT-GROUP, CM-CONTRACT, REBATE-TYPE, DUE-DATE (DUESET1). It is related 1:1 to POCONTGRP, POCONTRACT and POCONTREB and 1:M to POREBRECD. It is updated by AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 and 28 more. The table has 14 fields, 1 index and 4 documented relations.
About POREBDUE
No description in the Lawson data dictionary.
Fields (14)
Column = COBOL field name without the DUE- 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 / column | Type | Description & values | Updated by |
|---|---|---|---|
#DUE-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. | — |
#DUE-CM-CONTRACT PKCM_CONTRACT | Numeric 15 | — | — |
#DUE-REBATE-TYPE PKREBATE_TYPE | Alpha 25 | — | — |
#DUE-DUE-DATE PKDUE_DATE | Numeric 8 (yyyymmdd) | The rebate transaction due date. | — |
#DUE-EXPECTED-AMTEXPECTED_AMT | Signed 18.2 | The expected rebate amount. | — |
#DUE-RECEIVED-AMTRECEIVED_AMT | Signed 18.2 | The received rebate amount. | AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +28 more |
#DUE-LST-REBATE-SEQLST_REBATE_SEQ | Numeric 6 | The last rebate received sequence number for the PORECRECD table. | AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +28 more |
#DUE-STATUSSTATUS | Numeric 1 | This field displays the status of the transaction.
| — |
#DUE-REMAINING-AMTREMAINING_AMT | Derived | The remaining rebate amount to be paid. | — |
#DUE-CURR-PURCHASESCURR_PURCHASES | Signed 18.2 | Contains the current purchases amount and is entered in CM. It is not entered, updated or displayed outside on CM. | — |
#DUE-REBATE-AMTREBATE_AMT | Signed 18.2 | This field can be entered in CM or it will be calculated as follows: Curr-Purchases - Curr-Base-Pur = Rebate-Amt. This field is not entered, updated or displayed outside of CM. | — |
#DUE-GROWTH-PERCENTGROWTH_PERCENT | Signed 6.3 | — | — |
#DUE-CURR-BASE-PURCURR_BASE_PUR | Signed 18.2 | This is the base or starting amount from which to calculate the growth in purchases. It is not entered, updated or displayed outside of CM. The calculation is Curr-Purchases - Curr-Base-Pur = Rebate-Amt | — |
#DUE-REB-EXP-DATEREB_EXP_DATE | Numeric 8 (yyyymmdd) | — | — |
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.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
DUESET1 |
| Primary | AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +22 more (list truncated in source) |
Relations
One to one (3) — lookups and parents
| Relation | Table | Rules | Condition | Field map | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Pocontgrp | POCONTGRP | Required |
| ||||||||||
| Pocontract | POCONTRACT | Required |
| ||||||||||
| Pocontreb | POCONTREB | Required |
|
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Porebrecd | POREBRECD |
|
Programs
Updated by (36)
- AP125 Batch Release
- AP126 Mass Invoice Release
- AP20.1 Basic Invoice
- AP20.2 Taxed Invoice
- AP20.3 Detail Invoice
- AP20.4 Invoice Line Detail
- AP20.5 Multiple Invoice
- AP20.7 Distributions
- AP21.1 View Distributions
- AP23.1 Transit Invoice Entry
- AP25.1 Batch Control
- AP25.2 Batch Review
- AP26.1 Invoice Release
- AP27.1 Single Invoice Release
- AP30.1 Invoice Maintenance
- AP30.2 Distribution Adjustments
- AP30.4 Invoice Cancel
- API1.1 Add Invoice
- CB10.1 Cash Receipt Deposit
- CB10.5 Cash Receipt Detail Rebate Option
- CB150 Mass Release
- CB180 Cash Ledger Void Update
- CB191 Bank Statement Close
- CB43.1 Receipts Load Maintenance
- CB46.1 Returned Payment Entry
- CB543 Receipts Load
- CB544 Returned Payment Load
- MA41.1 Add-On Cost Detail - Purchase Order
- MA41.2 Add On Cost Lookup
- MA41.4 Miscellaneous Add-On Cost
- MA41.7 AOC Approval Entry
- MA42.2 Memo Line AOC Detail
- MA43.2 Purchase Order Lookup
- MA44.1 Invoice Line Detail - Purchase Order
- MA44.2 Invoice Line Detail- Service
- MA540 Invoice Interface