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     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.5    AP110     AP170     AP190
AP200     AP205     AP30.3    AP510     AP520     API1.1
API2.1    API3.1    API4.1    IC840     PR05.1    PR05.3
PR226     PR247     PR26.1    PR47.1    PR514     UK47.1

UPDATED BY

AP00.4    AP05.7    AP20.1    AP20.2    AP20.3    AP20.4
AP20.5    AP20.7    AP23.1    AP305     MA41.2    MA43.2

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  AP20.1
Element: Used          Indicates whether the discount code has   AP20.2  AP20.3
                       been used.                                AP20.4  AP20.5
                                                                 AP20.7  AP23.1
                                                                 MA41.2  MA43.2

                         APDISCCODE FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

DSCSET1   DISCOUNT-CODE This index is used to verify or access   AM115   AM15.1
                        a discount code record.                  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.5
                                                                 AP110   AP170
                                                                 AP190   AP20.1
                                                                 AP20.2  AP20.3
                                                                 AP20.4  AP20.5
                                                                 AP20.6  AP20.7
                                                                 AP20.8  AP200
                                                                 ...

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