Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

OEPRCLIST


                             OEPRCLIST FILE

                               Price List

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

REFERENCED BY

WH20.2    WH20.7    AR08.1    AR10.1    AR501     AR550

FIELD NAME             DESCRIPTION/VALID VALUES                  UPDATED BY

OPL-COMPANY            Numeric 4
Element: Company       The company number represents an
                       established company and is entered on
                       all function codes.

OPL-CUSTOMER           Alpha 9  (Right Justified)
Element: Customer NumbeThis field contains the number that
                       represents a customer.

OPL-LIST-NAME          Alpha 14
Element: List Name     User-defined name assigned to a price
                       list.

OPL-PROMOTION          Alpha 10
Element: Promotion     User-defined name assigned to a
                       promotion that is associated with this
                       price list.

OPL-DESCRIPTION        Alpha 30  (Lower Case)
Element: Description   The description of the price list.

OPL-BASE-NAME          Alpha 10
Element: Base Name     User-defined name of the price base
                       that this price list modifies. Price
                       bases are defined on BL40.1 (Price
                       Base).

OPL-BEG-DATE           Numeric 8  (yyyymmdd)
Element: Date          The beginning effective date for the
                       promotion or contract.

OPL-END-DATE           Numeric 8  (yyyymmdd)
Element: Date          The ending effective date for the
                       promotion or contract.

OPL-MISC               Alpha 16
Element: Misc          You can add an add-on charge to the
                       price list that will always be assessed
                       when the price list is used.

OPL-PCT                Percent 5.2  (Percent)
Element: 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          Alpha 10
Element: Discount Code A 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      Numeric 8  (yyyymmdd)
Element: Date          Enter the date indicating when the
                       contract was added to the system.

OPL-CONTACT            Alpha 20
Element: Primary ContacThe name of the customer that can be
                       contacted regarding this contract.

OPL-PHONE              Alpha 15
Element: Telephone NumbCustomer contact phone number.

OPL-PREV-CONTRACT      Alpha 14
Element: List Name     A previous number used to reference the
                       last contract can be entered in this
                       field.

OPL-CURRENCY-CODE      Alpha 5
Element: Currency Code The currency this price list is meant
                       to use. If blank, orders in any currency
                       can be priced via this price list.

OPL-CURR-RATE          Signed 13.6
Element: Currency Rate The 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      Alpha 20
Element: Primary ContacA customer reference number, or any
                       information that the user wants to carry
                       on the contract. Purely informational.

OPL-MIN-CONT-AMT       Signed 15.2
Element: Adj Amt       Enter a minimum contract amount for the
                       contract. This minimum will print on a
                       report that lists the actual contract
                       sales.

OPL-MAX-CONT-AMT       Signed 15.2
Element: Adj Amt       A 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        Alpha 1
Element: Order DiscountThis 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        Signed 15.2
Element: Adj Amt       This 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        Signed 15.2
Element: Adj Amt       A 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           Numeric 4
Element: Sc Count      This field indicates the number of
                       price list sales class price modifiers
                       that have been established under this
                       price list.

OPL-ITEM-COUNT         Numeric 6
Element: Item Count    This field indicates the number of
                       price list item modifiers that have been
                       established under this price list.

                         OEPRCLIST FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

OPLSET1   COMPANY                                                WH20.2  WH20.7
          CUSTOMER
          LIST-NAME
          PROMOTION

OPLSET2   COMPANY       Subset
          LIST-NAME     Where PROMOTION != Spaces
          PROMOTION

OPLSET4   COMPANY       Subset                                   AR08.1  AR10.1
          CUSTOMER      Where PROMOTION = Spaces                 AR501   AR550
          LIST-NAME

OPLSET5   COMPANY       KeyChange, Subset                        WH20.2  WH20.7
          CUSTOMER      Where CUSTOMER > Spaces
          END-DATE      And   PCT      > Zeroes

OPLSET6   COMPANY       KeyChange, Subset                        WH20.2  WH20.7
          LIST-NAME     Where PROMOTION > Spaces
          END-DATE      And   PCT       > Zeroes

                         OEPRCLIST FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Arcomp         ARCOMP       Required

                            OPL-COMPANY          -> ACO-COMPANY

Arcustomer     ARCUSTOMER   Required
                            When OPL-CUSTOMER > Spaces

                            OPL-COMPANY          -> ACM-COMPANY
                            OPL-CUSTOMER         -> ACM-CUSTOMER

Cucodes        CUCODES      Required
                            When OPL-CURRENCY-CODE != Spaces

                            OPL-CURRENCY-CODE    -> CUC-CURRENCY-CODE

Custdesc       CUSTDESC     Required
                            When OPL-CUSTOMER > Spaces

                            ACO-CUST-GROUP       -> CUD-CUST-GROUP
                            OPL-CUSTOMER         -> CUD-CUSTOMER

Oecompany      OECOMPANY    Required

                            OPL-COMPANY          -> OEC-COMPANY

Oediscount     OEDISCOUNT   Required
                            When OPL-DISC-CODE != Spaces

                            OPL-COMPANY          -> OED-COMPANY
                            OPL-DISC-CODE        -> OED-DISC-CODE

Oemisc         OEMISC       Required
                            When OPL-MISC != Spaces

                            OPL-COMPANY          -> OEM-COMPANY
                            OPL-MISC             -> OEM-MISC
                            OPL-CURRENCY-CODE    -> OEM-CURRENCY-CODE

Oeprclist      OEPRCLIST    Required
                            When OPL-CUSTOMER  = Spaces
                            And  OPL-PROMOTION > Spaces

                            OPL-COMPANY          -> OPL-COMPANY
                            Spaces               -> OPL-CUSTOMER
                            OPL-LIST-NAME        -> OPL-LIST-NAME
                            Spaces               -> OPL-PROMOTION

                         OEPRCLIST FILE RELATIONS

ONE TO MANY RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Cont Classes   OEPLCLASS
                            Valid When OPL-CUSTOMER > Spaces

                            OPL-COMPANY          -> OPC-COMPANY
                            OPL-CUSTOMER         -> OPC-CUSTOMER
                            OPL-LIST-NAME        -> OPC-LIST-NAME
                                                    OPC-SALES-MAJCL
                                                    OPC-SALES-MINCL

Cont Items     OEPLITEM
                            Valid When OPL-CUSTOMER > Spaces

                            OPL-COMPANY          -> OPI-COMPANY
                            OPL-CUSTOMER         -> OPI-CUSTOMER
                            OPL-LIST-NAME        -> OPI-LIST-NAME
                                                    OPI-ITEM

List Classes   OEPLCLASS
                            Valid When OPL-CUSTOMER  = Spaces
                                  And  OPL-PROMOTION = Spaces

                            OPL-COMPANY          -> OPC-COMPANY
                            OPL-CUSTOMER         -> OPC-CUSTOMER
                            OPL-LIST-NAME        -> OPC-LIST-NAME
                            OPL-PROMOTION        -> OPC-PROMOTION
                            Spaces               -> OPC-SALES-MAJCL
                                                    OPC-SALES-MINCL

List Items     OEPLITEM
                            Valid When OPL-CUSTOMER  = Spaces
                                  And  OPL-PROMOTION = Spaces

                            OPL-COMPANY          -> OPI-COMPANY
                            Spaces               -> OPI-CUSTOMER
                            OPL-LIST-NAME        -> OPI-LIST-NAME
                            Spaces               -> OPI-PROMOTION
                                                    OPI-ITEM

Oeplclass      OEPLCLASS    Delete Cascades

                            OPL-COMPANY          -> OPC-COMPANY
                            OPL-CUSTOMER         -> OPC-CUSTOMER
                            OPL-LIST-NAME        -> OPC-LIST-NAME
                            OPL-PROMOTION        -> OPC-PROMOTION
                                                    OPC-SALES-MAJCL
                                                    OPC-SALES-MINCL

Oeplitem       OEPLITEM     Delete Cascades

                            OPL-COMPANY          -> OPI-COMPANY
                            OPL-CUSTOMER         -> OPI-CUSTOMER
                            OPL-LIST-NAME        -> OPI-LIST-NAME
                            OPL-PROMOTION        -> OPI-PROMOTION
                                                    OPI-ITEM

Promo Classes  OEPLCLASS
                            Valid When OPL-CUSTOMER  = Spaces
                                  And  OPL-PROMOTION > Spaces

                            OPL-COMPANY          -> OPC-COMPANY
                            OPL-LIST-NAME        -> OPC-LIST-NAME
                            OPL-PROMOTION        -> OPC-PROMOTION
                                                    OPC-SALES-MAJCL
                                                    OPC-SALES-MINCL

Promo Items    OEPLITEM
                            Valid When OPL-CUSTOMER  = Spaces
                                  And  OPL-PROMOTION > Spaces

                            OPL-COMPANY          -> OPI-COMPANY
                            OPL-LIST-NAME        -> OPI-LIST-NAME
                            OPL-PROMOTION        -> OPI-PROMOTION
                                                    OPI-ITEM