OEPRCLIST – Price List

System
Billing (BL)
Prefix
OPL
Primary key
COMPANY, CUSTOMER, LIST-NAME, PROMOTION
Fields
25
Updated by
0 programs
Referenced by
0 programs

OEPRCLIST is the Price List table in Lawson Billing (prefix OPL). It is indexed by COMPANY, CUSTOMER, LIST-NAME, PROMOTION (OPLSET1); alternate indexes: OPLSET2, OPLSET4, OPLSET5 and OPLSET6. It is related 1:1 to ARCOMP, ARCUSTOMER, CUCODES, CUSTDESC, OECOMPANY, OEDISCOUNT, OEMISC and OEPRCLIST and 1:M to OEPLCLASS and OEPLITEM. The table has 25 fields, 5 indexes and 16 documented relations.

About OEPRCLIST

This file contains three types of records: price lists, contracts, and promotions. The difference between the records is how they are accessed. The following shows the access methods for each: Price List Contract Promotion Company Yes Yes Yes Customer No Yes No Price List Name Yes Yes, Contract ID Yes Promotion Name No No Yes

Fields (25)

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

Field / columnTypeDescription & valuesUpdated by
OPL-COMPANY PK
COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.
OPL-CUSTOMER PK
CUSTOMER
Alpha 9 (Right Justified)This field contains the number that represents a customer.
OPL-LIST-NAME PK
LIST_NAME
Alpha 14User-defined name assigned to a price list.
OPL-PROMOTION PK
PROMOTION
Alpha 10User-defined name assigned to a promotion that is associated with this price list.
OPL-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)The description of the price list.
OPL-BASE-NAME
BASE_NAME
Alpha 10User-defined name of the price base that this price list modifies. Price bases are defined on BL40.1 (Price Base).
OPL-BEG-DATE
BEG_DATE
Numeric 8 (yyyymmdd)The beginning effective date for the promotion or contract.
OPL-END-DATE
END_DATE
Numeric 8 (yyyymmdd)The ending effective date for the promotion or contract.
OPL-MISC
MISC
Alpha 16You can add an add-on charge to the price list that will always be assessed when the price list is used.
OPL-PCT
PCT
Percent 5.2 (Percent)This default percentage (enter 90% as 90.0) will be multiplied by the base price specified for an item to arrive at an item's price. Price list percentages, assigned to sales classes or individual items will override the default pricing percentage entered here.
OPL-DISC-CODE
DISC_CODE
Alpha 10A discount code, entered using BL44.1 (Discount Code), can optionally be assigned at this level. If this has been done, the entered discount will automatically be applied when calculating the item price for items using this price list. Note: If price lists have been assigned to sales classes or to individual items, the discount (if any) assigned at these levels will be used instead.
OPL-CONTRACT-DATE
CONTRACT_DATE
Numeric 8 (yyyymmdd)Enter the date indicating when the contract was added to the system.
OPL-CONTACT
CONTACT
Alpha 20The name of the customer that can be contacted regarding this contract.
OPL-PHONE
PHONE
Alpha 15Customer contact phone number.
OPL-PREV-CONTRACT
PREV_CONTRACT
Alpha 14A previous number used to reference the last contract can be entered in this field.
OPL-CURRENCY-CODE
CURRENCY_CODE
Alpha 5The currency this price list is meant to use. If blank, orders in any currency can be priced via this price list.
OPL-CURR-RATE
CURR_RATE
Signed 14.7The currency rate that is in effect for this contract. If blank, the system will use the rate tied to the currency code in the currency tables at the time of invoicing.
OPL-CUST-REFERENC
CUST_REFERENC
Alpha 20A customer reference number, or any information that the user wants to carry on the contract. Purely informational.
OPL-MIN-CONT-AMT
MIN_CONT_AMT
Signed 18.2Enter a minimum contract amount for the contract. This minimum will print on a report that lists the actual contract sales.
OPL-MAX-CONT-AMT
MAX_CONT_AMT
Signed 18.2A maximum contract amount can be specified for the contract in this field. This maximum will print on OE293 (Contract Status Report), a report that lists the actual contract sales.
OPL-ORD-DISC-FL
ORD_DISC_FL
Alpha 1This order discount flag is used only by contracts and promotions. If this flag is set to No, this indicates that any line priced with this promotion or contract will not be included in the order total when calculating the order-level discount.
  • N No
  • Y Yes
OPL-MIN-ORD-AMT
MIN_ORD_AMT
Signed 18.2This is a minimum contract amount that can be specified for the contract in this field. This minimum will print on OE293 (Contract Status Report), a report that lists the actual contract sales. This is informational only.
OPL-MAX-ORD-AMT
MAX_ORD_AMT
Signed 18.2A maximum contract amount can be specified for a contract only in this field. This maximum will print on OE293 (Contract Status Report), a report that lists the actual contract sales.
OPL-SC-COUNT
SC_COUNT
Numeric 4This field indicates the number of price list sales class price modifiers that have been established under this price list.
OPL-ITEM-COUNT
ITEM_COUNT
Numeric 6This field indicates the number of price list item modifiers that have been established under this price list.

Indexes (5)

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

IndexKeysFlagsConditionUsed in
OPLSET1COMPANY, CUSTOMER, LIST-NAME, PROMOTIONPrimaryWH20.2, WH20.7
OPLSET2COMPANY, LIST-NAME, PROMOTIONSubsetWhere PROMOTION != Spaces
OPLSET4COMPANY, CUSTOMER, LIST-NAMESubsetWhere PROMOTION = SpacesAR08.1, AR10.1, AR501, AR550, WH130, WH132, WH190, WH20.7 +22 more
OPLSET5COMPANY, CUSTOMER, END-DATEKeyChange, SubsetWhere CUSTOMER > Spaces And PCT > ZeroesWH20.2, WH20.7
OPLSET6COMPANY, LIST-NAME, END-DATEKeyChange, SubsetWhere PROMOTION > Spaces And PCT > ZeroesWH20.2, WH20.7

Relations

One to one (8) — lookups and parents

RelationTableRulesConditionField map
ArcompARCOMPRequiredOPL-COMPANYACO-COMPANY
ArcustomerARCUSTOMERRequiredWhen OPL-CUSTOMER > SpacesOPL-COMPANYACM-COMPANY, OPL-CUSTOMERACM-CUSTOMER
CucodesCUCODESRequiredWhen OPL-CURRENCY-CODE != SpacesOPL-CURRENCY-CODECUC-CURRENCY-CODE
CustdescCUSTDESCRequiredWhen OPL-CUSTOMER > SpacesACO-CUST-GROUPCUD-CUST-GROUP, OPL-CUSTOMERCUD-CUSTOMER
OecompanyOECOMPANYRequiredOPL-COMPANYOEC-COMPANY
OediscountOEDISCOUNTRequiredWhen OPL-DISC-CODE != SpacesOPL-COMPANYOED-COMPANY, OPL-DISC-CODEOED-DISC-CODE
OemiscOEMISCRequiredWhen OPL-MISC != SpacesOPL-COMPANYOEM-COMPANY, OPL-MISCOEM-MISC, OPL-CURRENCY-CODEOEM-CURRENCY-CODE
OeprclistOEPRCLISTRequiredWhen OPL-CUSTOMER = Spaces And OPL-PROMOTION > SpacesOPL-COMPANYOPL-COMPANY, SpacesOPL-CUSTOMER, OPL-LIST-NAMEOPL-LIST-NAME, SpacesOPL-PROMOTION

One to many (8) — child tables

RelationTableRulesConditionField map
Cont ClassesOEPLCLASSValid When OPL-CUSTOMER > SpacesOPL-COMPANYOPC-COMPANY, OPL-CUSTOMEROPC-CUSTOMER, OPL-LIST-NAMEOPC-LIST-NAME, OPC-SALES-MAJCL, OPC-SALES-MINCL
Cont ItemsOEPLITEMValid When OPL-CUSTOMER > SpacesOPL-COMPANYOPI-COMPANY, OPL-CUSTOMEROPI-CUSTOMER, OPL-LIST-NAMEOPI-LIST-NAME, OPI-ITEM
List ClassesOEPLCLASSValid When OPL-CUSTOMER = Spaces And OPL-PROMOTION = SpacesOPL-COMPANYOPC-COMPANY, OPL-CUSTOMEROPC-CUSTOMER, OPL-LIST-NAMEOPC-LIST-NAME, OPL-PROMOTIONOPC-PROMOTION, SpacesOPC-SALES-MAJCL, OPC-SALES-MINCL
List ItemsOEPLITEMValid When OPL-CUSTOMER = Spaces And OPL-PROMOTION = SpacesOPL-COMPANYOPI-COMPANY, SpacesOPI-CUSTOMER, OPL-LIST-NAMEOPI-LIST-NAME, SpacesOPI-PROMOTION, OPI-ITEM
OeplclassOEPLCLASSDelete CascadesOPL-COMPANYOPC-COMPANY, OPL-CUSTOMEROPC-CUSTOMER, OPL-LIST-NAMEOPC-LIST-NAME, OPL-PROMOTIONOPC-PROMOTION, OPC-SALES-MAJCL, OPC-SALES-MINCL
OeplitemOEPLITEMDelete CascadesOPL-COMPANYOPI-COMPANY, OPL-CUSTOMEROPI-CUSTOMER, OPL-LIST-NAMEOPI-LIST-NAME, OPL-PROMOTIONOPI-PROMOTION, OPI-ITEM
Promo ClassesOEPLCLASSValid When OPL-CUSTOMER = Spaces And OPL-PROMOTION > SpacesOPL-COMPANYOPC-COMPANY, OPL-LIST-NAMEOPC-LIST-NAME, OPL-PROMOTIONOPC-PROMOTION, OPC-SALES-MAJCL, OPC-SALES-MINCL
Promo ItemsOEPLITEMValid When OPL-CUSTOMER = Spaces And OPL-PROMOTION > SpacesOPL-COMPANYOPI-COMPANY, OPL-LIST-NAMEOPI-LIST-NAME, OPL-PROMOTIONOPI-PROMOTION, OPI-ITEM

Programs

No Lawson programs are documented as updating or referencing this table.