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 / columnTypeDescription & valuesUpdated by
APF-DRAFT-CODE PK
DRAFT_CODE
Alpha 4A 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-UNIT
DRFT_ACCT_UNIT
Alpha 15The general ledger acceptance accounting unit for the bill of exchange accrual code.AP05.1
APF-DRFT-ACCOUNT
DRFT_ACCOUNT
Numeric 6The general ledger acceptance account number for the bill of exchange accrual code.AP05.1
APF-DRFT-SUB-ACCT
DRFT_SUB_ACCT
Numeric 4If using subaccounts, this field contains the general ledger acceptance subaccount number for the bill of exchange accrual code.AP05.1
APF-COMPANY
COMPANY
Numeric 4The 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-FL
USED_FL
Alpha 1Indicates whether the bill of exchange accrual code has been used. Valid values are:
  • N No.
  • Y Yes.
AP05.1
APF-ACTIVE-STATUS
ACTIVE_STATUS
Alpha 1Indicates the status of the bill of exchange accrual code. Valid values are:
  • A Active.
  • I Inactive.
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.

IndexKeysFlagsConditionUsed in
APFSET1DRAFT-CODEPrimaryAP01.1, AP05.1, AP125, AP126, AP151, AP156, AP180, AP181 +22 more (list truncated in source)
APFSET2COMPANY, DRAFT-CODEKeyChangeAP00.4, AP205, AP305

Programs

Updated by (3)

Referenced by (36)