APDRFTCDES – Bill of Exchange Accrual Code
- System
- Accounts Payable (AP)
- Prefix
APF- Primary key
DRAFT-CODE- Fields
- 7
- Updated by
- 3 programs
- Referenced by
- 36 programs
APDRFTCDES is the Bill of Exchange Accrual Code table in Lawson Accounts Payable (prefix APF). It is indexed by DRAFT-CODE (APFSET1); alternate indexes: APFSET2. It is updated by AP00.4, AP05.1 and AP305 and referenced by AP01.1, AP125, AP126, AP151, AP156, AP180, AP181, AP20.1 and 28 more. The table has 7 fields, 2 indexes and 0 documented relations.
About APDRFTCDES
The Bill of Exchange Accrual Code file contains bill of exchange accrual codes. Bill of exchange accrual codes are used only by pay groups that make acceptance accounting general ledger entries. A bill of exchange accrual code links a general ledger acceptance account to a bill of exchange.
Fields (7)
Column = COBOL field name without the APF- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
APF-DRAFT-CODE PKDRAFT_CODE | Alpha 4 | A user-defined code used to default a general ledger acceptance account to a bill of exchange. | AP05.1, AP125, AP126, AP151, AP156, AP180, AP20.1, AP20.2 +26 more |
APF-DRFT-ACCT-UNITDRFT_ACCT_UNIT | Alpha 15 | The general ledger acceptance accounting unit for the bill of exchange accrual code. | AP05.1 |
APF-DRFT-ACCOUNTDRFT_ACCOUNT | Numeric 6 | The general ledger acceptance account number for the bill of exchange accrual code. | AP05.1 |
APF-DRFT-SUB-ACCTDRFT_SUB_ACCT | Numeric 4 | If using subaccounts, this field contains the general ledger acceptance subaccount number for the bill of exchange accrual code. | AP05.1 |
APF-COMPANYCOMPANY | Numeric 4 | The accounts payable company number. Used for posting the accrual entry to the general ledger. Must be a valid record in the Accounts Payable Company file. | AP05.1 |
APF-USED-FLUSED_FL | Alpha 1 | Indicates whether the bill of exchange accrual code has been used. Valid values are:
| AP05.1 |
APF-ACTIVE-STATUSACTIVE_STATUS | Alpha 1 | Indicates the status of the bill of exchange accrual code. Valid values are:
| AP05.1, AP125, AP126, AP151, AP156, AP180, AP20.1, AP20.2 +26 more |
Indexes (2)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
APFSET1 | DRAFT-CODE | Primary | AP01.1, AP05.1, AP125, AP126, AP151, AP156, AP180, AP181 +22 more (list truncated in source) | |
APFSET2 | COMPANY, DRAFT-CODE | KeyChange | AP00.4, AP205, AP305 |
Programs
Updated by (3)
Referenced by (36)
- AP01.1 Pay Group
- AP125 Batch Release
- AP126 Mass Invoice Release
- AP151 Bill of Exchange Generation
- AP156 Bill of Exchange Creation
- AP180 Bill of Exchange Cashing Update
- AP181 Bill of Exchange Statement Update
- AP20.1 Basic Invoice
- AP20.2 Taxed Invoice
- AP20.3 Detail Invoice
- AP20.4 Invoice Line Detail
- AP20.5 Multiple Invoice
- AP20.7 Distributions
- AP20.8 Payment Schedule
- AP205 Accounts Payable Codes Listing
- AP21.1 View Distributions
- AP23.1 Transit Invoice Entry
- AP25.1 Batch Control
- AP25.2 Batch Review
- AP26.1 Invoice Release
- AP27.1 Single Invoice Release
- AP28.1 Bill of Exchange Acceptance by Vendor
- AP28.2 Bill of Exchange Acceptance by Date
- AP56.1 Bill of Exchange Entry
- AP56.2 Bill of Exchange Invoice Application
- AP80.1 Bill of Exchange Cashing Selection
- MA41.1 Add-On Cost Detail - Purchase Order
- MA41.2 Add On Cost Lookup
- MA41.4 Miscellaneous Add-On Cost
- MA41.7 AOC Approval Entry
- MA42.2 Memo Line AOC Detail
- MA43.2 Purchase Order Lookup
- MA44.1 Invoice Line Detail - Purchase Order
- MA44.2 Invoice Line Detail- Service
- MA61.1 Match Invoice Approval
- MAI1.1 Invoke for MAMATCH Object