Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

APDISCCODE


                            APDISCCODE FILE

                             Discount Code

The Discount Code file contains discount codes. A discount code is used to
link a general ledger discount account to an invoice.

REFERENCED BY

AM115     AM117     AM15.1    AM15.2    AM15.3    AM15.4
AM20.1    AM20.3    AM21.1    AM21.3    AM500     AM51.1
AM551     AM97.1    AP10.1    AP10.2    AP10.5    AP110
AP170     AP190     AP200     AP205     AP30.3    AP510
AP520     API1.1    API2.1    API3.1    API4.1    IC840
MA61.1    MAI1.1    PR05.1    PR05.3    PR226     PR247
PR26.1    PR47.1    UK47.1

UPDATED BY

AP00.4    AP05.7    AP305

FIELD NAME             DESCRIPTION/VALID VALUES                  UPDATED BY

DSC-DISCOUNT-CODE      Alpha 10                                  AP00.4  AP05.7
Element: Discount Code A user-defined code representing a
                       general ledger discount account.

DSC-COMPANY            Numeric 4                                 AP00.4  AP05.7
Element: Posting CompanThe general ledger company number used
                       for posting the discount entry to the
                       general ledger. Must be a valid record
                       in the General ledger Company file.

DSC-DISC-ACCT-UNIT     Alpha 15                                  AP00.4  AP05.7
Discount Accounting    The general ledger discount accounting
Unit                   unit assigned to the discount code. Must
                       be a valid accounting unit in the Lawson
                       General Ledger system.

DSC-DISC-ACCOUNT       Numeric 6                                 AP00.4  AP05.7
Discount Account       The general ledger discount account
Number                 number assigned to the discount code.
                       Must be a valid account in the Lawson
                       General Ledger system.

DSC-DISC-SUB-ACCT      Numeric 4                                 AP00.4  AP05.7
Discount Subaccount    If using subaccounts, the general
Number                 ledger discount subaccount number
                       assigned to the discount code. Must be a
                       valid subaccount in the Lawson General
                       Ledger system.

DSC-ACTIVE-FLAG        Alpha 1                                   AP00.4  AP05.7
Element: Status        Indicates the status of the discount
                       code. Valid values are:

                       A = Active.
                       I = Inactive.

DSC-USED-FLAG          Alpha 1                                   AP05.7
Element: Used          Indicates whether the discount code has
                       been used.

DSC-DISC-POINT         Numeric 1                                 AP05.7
Element: Disc Point    This flag indicates whether you want
                       thediscount applied to the Cost of
                       goodsonly, or Cost of goods plus the
                       AOCamount on the AP invoice. C = Will
                       apply the discount to the Cost    of
                       goods  only.
                       T = Will apply the discount to the Cost
                           of goods plus the AOC.
                       Blank will be the same as option "T".
                       1 = C - (Cost of Goods)
                       2 = T - (Total COG & AOC)

                         APDISCCODE FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

DSCSET1   DISCOUNT-CODE This index is used to verify or access   AM115   AM117
                        a discount code record.                  AM15.1  AM15.2
                                                                 AM15.3  AM15.4
                                                                 AM20.1  AM20.3
                                                                 AM21.1  AM21.3
                                                                 AM500   AM51.1
                                                                 AM551   AM97.1
                                                                 AP00.4  AP00.5
                                                                 AP05.7  AP10.1
                                                                 AP10.2  AP10.5
                                                                 AP110   AP170
                                                                 AP190   AP200
                                                                 AP205   AP30.3
                                                                 AP510   AP520
                                                                 API1.1  API2.1
                                                                 ...

DSCSET2   COMPANY       This index is used by the Accounts       AP205   AP305
          DISCOUNT-CODE Payable Codes Listing program to print
                        discount codes for a company.
                        KeyChange