Lawson Software

Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Elements Libraries App Forms


                             OEPLCLASS FILE

                         Price List Sales Class

This file stores the price list sales class that, if used, identifies the
pricing and discounting parameters used to price all order or invoice lines
for items falling into the specified sales class.  This level of pricing
overrides the prices on the price list level and is overridden by any item
level pricing parameters established.

REFERENCED BY

BL243     BL245     BL246     BL247     BL31.1    BL31.2
BL31.3    BL31.5    BL31.7    BL32.3    BL32.4    BL85.1
BL85.2    BL90.1

UPDATED BY

BL45.1    BL45.2    BL46.1    BL46.2    BL47.1    BL47.2

FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY

OPC-COMPANY          Numeric 4                                   BL45.2  BL46.2
Company              The company number represents an            BL47.2
                     established company and is entered on
                     all function codes.

OPC-CUSTOMER         Alpha 9  (Right Justified)                  BL45.2  BL46.2
Customer Number      This field contains the number that         BL47.2
                     represents a customer.

OPC-LIST-NAME        Alpha 14                                    BL45.2  BL46.2
List Name            Enter the identifier of the price list      BL47.2
                     that is to have the price list sales
                     class record established.

OPC-PROMOTION        Alpha 10                                    BL45.2  BL46.2
Promotion            Enter the name of the promotion that        BL47.2
                     has a sales class price modifier
                     established.

OPC-SALES-MAJCL      Alpha 4                                     BL45.2  BL46.2
Sales Major Class    Sales major class code that indicates       BL47.2
                     which items will be affected by this
                     price modifier.

OPC-SALES-MINCL      Alpha 4                                     BL45.2  BL46.2
Sales Minor Class    Sales minor class code that indicates       BL47.2
                     which items will be affected by the
                     price modifier.

OPC-BEG-DATE         Numeric 8  (yyyymmdd)                       BL45.2  BL46.1
Beginning Date       This is the beginning date indicating       BL46.2  BL47.1
                     when the promotion sales class price        BL47.2
                     modifier will begin.

OPC-END-DATE         Numeric 8  (yyyymmdd)                       BL45.2  BL46.1
Ending Date          This is the end date indicating when        BL46.2  BL47.1
                     the promotion sales class price modifier    BL47.2
                     will no longer be valid.

OPC-PROHIBIT-FL      Alpha 1                                     BL45.2  BL46.2
Prohibit Fl          This flag indicates whether sales of        BL47.2
                     the items within the sales major and
                     minor classes are prohibited - meaning
                     no sales of these items will be allowed
                     (unless there is an item level record
                     pricing the item, as that level
                     overrides the sales class records).
                     Y = Yes
                     N = No

OPC-CLASS-PRC-FL     Alpha 1                                     BL45.2  BL46.2
Class Prc Fl         This class price flag indicates whether     BL47.2
                     the items in the sales class should be
                     priced using amalgamation (group pricing
                     logic). Group pricing is explained in
                     detail in the Billing Procedures Manual.
                     N = No
                     Y = Yes

OPC-BRK-QTY          Signed 9.0 Occurs 10 Times                  BL45.2  BL46.2
Price Break Quantity If special pricing percentages should       BL47.2
                     be applied for a specific sales class
                     based on item quantities ordered, the
                     lower item order quantity limit is
                     entered in this field. An order for an
                     item quantity surpassing this limit and
                     less than the next limit will be priced
                     using the override percentage specified
                     in the field to the right, overriding
                     the default pricing percentage specified
                     for the sales class.

OPC-BRK-PCT          Percent 5.2  (Percent) Occurs 10 Times      BL45.2  BL46.2
Price Break          The override pricing percentage to be       BL47.2
Percentage           used for the item order quantity break
                     (specified in the Quantity Break field)
                     is entered in this field.

OPC-DISC-CODE        Alpha 10                                    BL45.2  BL46.2
Disc Code            A discount code can be assigned at this     BL47.2
                     level. If this has been done, the
                     entered discount will automatically be
                     applied to lines priced via this record.


                         OEPLCLASS FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

OPCSET1   COMPANY                                                BL243   BL245
          CUSTOMER                                               BL246   BL247
          LIST-NAME                                              BL31.1  BL31.2
          PROMOTION                                              BL31.3  BL31.5
          SALES-MAJCL                                            BL31.7  BL32.3
          SALES-MINCL                                            BL32.4  BL45.1
                                                                 BL45.2  BL46.2
                                                                 BL47.1  BL85.1
                                                                 BL85.2  BL90.1

OPCSET2   COMPANY       Subset                                   BL47.1  BL47.2
          LIST-NAME     Where PROMOTION != Spaces
          PROMOTION
          SALES-MAJCL
          SALES-MINCL

OPCSET3   COMPANY       Subset                                   BL46.1  BL46.2
          CUSTOMER      Where PROMOTION = Spaces
          LIST-NAME
          SALES-MAJCL
          SALES-MINCL

OPCSET4   COMPANY       Subset                                   BL46.2
          CUSTOMER      Where CUSTOMER  != Spaces
          SALES-MAJCL   And   PROMOTION =  Spaces
          SALES-MINCL
          LIST-NAME

OPCSET5   COMPANY       KeyChange, Subset                        BL243   BL31.1
          CUSTOMER      Where CUSTOMER > Spaces                  BL31.2  BL31.3
          SALES-MAJCL                                            BL31.5  BL31.7
          SALES-MINCL                                            BL32.3  BL32.4
          END-DATE                                               BL46.1  BL85.1
                                                                 BL85.2  BL90.1

OPCSET6   COMPANY       KeyChange, Subset                        BL243   BL31.1
          LIST-NAME     Where PROMOTION != Spaces                BL31.2  BL31.3
          SALES-MAJCL                                            BL31.5  BL31.7
          SALES-MINCL                                            BL32.3  BL32.4
          END-DATE                                               BL47.1  BL47.2
                                                                 BL85.1  BL85.2
                                                                 BL90.1

                         OEPLCLASS FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Arcomp         ARCOMP       Required

                            OPC-COMPANY        -> ACO-COMPANY

Custdesc       CUSTDESC     Required

                            ACO-CUST-GROUP     -> CUD-CUST-GROUP
                            OPC-CUSTOMER       -> CUD-CUSTOMER

Iccompany      ICCOMPANY    Required

                            OPC-COMPANY        -> ICC-COMPANY

Majorcl        MAJORCL      Required

                            ICC-ITEM-GROUP     -> MAJ-ITEM-GROUP
                            "S"                -> MAJ-CLASS-TYPE
                            OPC-SALES-MAJCL    -> MAJ-MAJOR-CLASS

Minorcl        MINORCL      Required
                            When OPC-SALES-MINCL != Spaces

                            ICC-ITEM-GROUP     -> MIN-ITEM-GROUP
                            "S"                -> MIN-CLASS-TYPE
                            OPC-SALES-MAJCL    -> MIN-MAJOR-CLASS
                            OPC-SALES-MINCL    -> MIN-MINOR-CLASS

Oecompany      OECOMPANY    Required

                            OPC-COMPANY        -> OEC-COMPANY

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

                            OPC-COMPANY        -> OED-COMPANY
                            OPC-DISC-CODE      -> OED-DISC-CODE

Oeprclist      OEPRCLIST    Required

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

Price List     OEPRCLIST    Required
                            When OPC-PROMOTION != Spaces

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