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 AP20.1 AP20.2 AP20.5 AP20.6 AP20.7 AP20.8 AP200 AP205 AP23.1 AP30.3 AP510 AP520 MA40.1 MA40.2 MA41.1 MA41.2 MA41.4 MA41.5 MA41.6 MA43.1 MA43.2 MA43.3 MA43.4 MA52.1 MA530 MA540 PO31.1 UPDATED BY AP00.4 AP05.7 AP305 AP957 FIELD NAME DESCRIPTION/VALID VALUES UPDATED BY DSC-DISCOUNT-CODE Alpha 10 AP00.4 AP05.7 Discount Code A user-defined code representing a AP957 general ledger discount account. DSC-COMPANY Numeric 4 AP00.4 AP05.7 Posting Company The general ledger company number used AP957 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 AP957 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 AP957 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 AP957 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 AP957 code. Valid values are: A = Active. I = Inactive. DSC-USED-FLAG Alpha 1 AP05.7 AP957 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.7 a discount code record. AP05.7 AP10.1 AP10.5 AP110 AP170 AP190 AP20.1 AP20.2 AP20.5 AP20.6 AP20.7 AP20.8 AP200 AP205 AP23.1 AP30.3 AP510 AP520 MA40.1 MA40.2 MA41.1 MA41.2 MA41.4 MA41.5 MA41.6 MA43.1 MA43.2 MA43.3 ... 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 |