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
AP10.1 AP10.5 AP110 AP170 AP190 AP200
AP205 AP30.3 AP510 AP520 API1.1 API2.1
API3.1 API4.1
UPDATED BY
AP00.4 AP05.7 AP305
FIELD NAME DESCRIPTION/VALID VALUES UPDATED BY
DSC-DISCOUNT-CODE Alpha 10 AP00.4 AP05.7
Discount Code A user-defined code representing a
general ledger discount account.
DSC-COMPANY Numeric 4 AP00.4 AP05.7
Posting Company The 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
Status Indicates the status of the discount
code. Valid values are:
A = Active.
I = Inactive.
DSC-USED-FLAG Alpha 1 AP05.7
Used Indicates whether the discount code has
been used.
APDISCCODE FILE INDEX
NAME KEY FIELDS DESCRIPTION / SUBSET CONDITION USED IN
DSCSET1 DISCOUNT-CODE This index is used to verify or access AP00.4 AP00.5
a discount code record. AP05.7 AP10.1
AP10.5 AP110
AP170 AP190
AP200 AP205
AP30.3 AP510
AP520 API1.1
API2.1 API3.1
API4.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
|